There are two primary ways to customize any agent:Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
-
Memory:
AGENTS.mdfiles and auto-saved memories that persist across sessions. Use memory for general coding style, preferences, and learned conventions. - Skills: Global and project-specific context, conventions, guidelines, or instructions. Use skills for context that applies when performing specific tasks.
/remember to explicitly prompt the agent to update its memory and skills from the current conversation.
Memory
Automatic memory
As you use the agent, it automatically stores information in~/.deepagents/<agent_name>/memories/ as markdown files using a memory-first protocol:
- Research: Searches memory for relevant context before starting tasks
- Response: Checks memory when uncertain during execution
- Learning: Automatically saves new information for future sessions
AGENTS.md files
AGENTS.md files provide persistent context that is always loaded at session start:
- Global:
~/.deepagents/<agent_name>/AGENTS.md— loaded every session. - Project:
.deepagents/AGENTS.mdin any git project root — loaded when the CLI is run from within that project.
How memory works
The agent may also read its memory files when answering project-specific questions or when you reference past work or patterns. The agent will updateAGENTS.md as you provide information on how it should behave, feedback on its work, or instructions to remember something.
It will also update its memory if it identifies patterns or preferences from your interactions.
To add more structured project knowledge in additional memory files, add them in .deepagents/ and reference them in the AGENTS.md file.
You must reference additional files in the AGENTS.md file for the agent to be aware of them.
The additional files will not be read on startup but the agent can reference and update them when needed.
When to use global vs. project AGENTS.md
Use a globalAGENTS.md (~/.deepagents/agent/AGENTS.md) for:
- Your personality, style, and universal coding preferences
- General tone and communication style
- Universal coding preferences (formatting, type hints, etc.)
- Tool usage patterns that apply everywhere
- Workflows and methodologies that don’t change per-project
AGENTS.md (.deepagents/AGENTS.md in project root) for:
- Project-specific context and conventions
- Project architecture and design patterns
- Coding conventions specific to this codebase
- Testing strategies and deployment processes
- Team guidelines and project structure
Skills
Skills are reusable agent capabilities that provide specialized workflows and domain knowledge. You can use skills to provide your deep agent with new capabilities and expertise. Deep agent skills follow the Agent Skills standard. Once you have added skills your deep agent will automatically make use of them and update them as you use the agent and provide it with additional information.Add skills
Add optional resources
Optionally add additional scripts or other resources to the
test-skill folder. For more information, see Examples.Install community skills
You can use tools like Vercel’s Skills CLI to install community Agent Skills in your environment and make them available to your deep agents:-g) symlink skills into ~/.deepagents/agent/skills/ — the default agent’s user-level skills directory. Project-level installs (omit -g) place skills in .deepagents/skills/ relative to the current directory, making them available to any agent running in that project regardless of agent name.
Global installs target the default
agent directory only. If you use a custom-named agent, either use project-level installs or manually symlink the skill into ~/.deepagents/{your-agent}/skills/.Skill discovery
At startup, the CLI discovers skills from both Deep Agents and shared alias directories:.git folder.
When you start the CLI from anywhere within the project’s folder, the CLI will find the project’s root folder by checking for a containing .git folder.
For each skill, the CLI reads the name and the description from the SKILL.md file’s frontmatter.
As you use the CLI, if a task matches the skill’s description, the agent will read the skill file and follow its instructions.
You can also invoke a skill directly with /skill:<name> [args]. Skill discovery runs at startup and again on /reload.
Invoke a skill from the command line
Use--skill to invoke a skill at launch without typing a slash command interactively:
--skill also works in non-interactive mode:
--skill with --quiet or --no-stream requires -n (non-interactive mode).List skills
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

