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.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
Viewing your memory
To see the memory captured from your agent interactions:- Go to Settings → Memory in your Lancey dashboard
- View the context and patterns that have been learned from completed tasks
- This memory is automatically used by agents on future tasks
Best practices
Let agents build memory over time
Let agents build memory over time
The more tasks agents complete, the better they understand your codebase. Complete several tasks before expecting agents to reference past patterns.
Work in consistent projects
Work in consistent projects
Consistent project structure and naming conventions help agents learn and apply patterns more effectively.
Provide clear task instructions
Provide clear task instructions
Well-documented task requirements help agents learn the right patterns and decisions to remember.
Review agent decisions
Review agent decisions
Check the first few tasks agents complete. This helps you understand what patterns they’re learning and make adjustments if needed.
Troubleshooting
Agents not referencing previous patterns?
Agents not referencing previous patterns?
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
Agents making inconsistent decisions?
Agents making inconsistent decisions?
- 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.