Skip to content

Named Agents & Memory

Give an agent a name and it remembers context across sessions:

Terminal window
# First session — agent learns about your project
npx agntk -n myproject "read the codebase and understand the architecture"
# Later session — agent already knows the context
npx agntk -n myproject "add rate limiting to the API endpoints"
# See what agents exist
npx agntk list

Memory is stored at ~/.agntk/agents/{name}/ as plain markdown files:

PathDescription
memory/memory.mdAgent-curated facts about your project
memory/decisions.mdAppend-only log of decisions made
memory/preferences.mdCross-project preferences
memory/identity.mdHuman-authored identity (you can edit this)
memory/project.mdHuman-authored project context
context.mdSession context the agent rewrites as it learns