Skip to main content

Overview

Memory in Lancey is automatically managed and saved based on agent interactions. As agents work on tasks, Lancey captures context, decisions, and patterns to help future agents understand your codebase and make better decisions.
Memory is automatically saved from every agent interaction. The more tasks agents complete, the better they become at understanding your codebase and making consistent decisions.

How memory works

Memory is captured automatically through:
  • Agent interactions - Context from each task the agent works on
  • Code patterns - Learned patterns from your repository
  • Decision history - Previous decisions and outcomes
  • Team preferences - Common practices and patterns in your codebase
Once memory is captured, agents can leverage it on subsequent tasks to make more informed decisions and maintain consistency.

Viewing your memory

To see the memory captured from your agent interactions:
  1. Go to Settings → Memory in your Lancey dashboard
  2. View the context and patterns that have been learned from completed tasks
  3. This memory is automatically used by agents on future tasks

Best practices

The more tasks agents complete, the better they understand your codebase. Complete several tasks before expecting agents to reference past patterns.
Consistent project structure and naming conventions help agents learn and apply patterns more effectively.
Well-documented task requirements help agents learn the right patterns and decisions to remember.
Check the first few tasks agents complete. This helps you understand what patterns they’re learning and make adjustments if needed.

Troubleshooting

Ensure that:
  • Multiple tasks have been completed so agents have context to draw from
  • Memory settings are configured to use historical context
  • Your tasks and codebase structure are consistent
  • Provide clearer examples in task descriptions
  • Ensure your team has established consistent coding practices
  • Give agents more context through additional completed tasks
Questions about memory configuration? Reach out via the livechat widget on our platform for quick support or schedule a call with our team.