The project soul is the persistent, shared memory that makes every agent session coherent — even when no agent has worked on the project in weeks. Stored inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/virsanghavi/axis/llms.txt
Use this file to discover all available pages before exploring further.
.axis/instructions/ at the repo root, it carries the project’s goals, architecture decisions, coding conventions, and agent behavioral norms. Any agent that reads the soul at the start of a session arrives with the full mental model of the project, not a blank slate.
The hosted MCP server does not have access to your repository’s disk.
get_project_soul and update_project_soul are local-only tools available on the @virsanghavi/axis-server stdio server. The hosted notepad (get_shared_context) is the hosted equivalent for live session context.get_project_soul
Local only.
get_project_soul reads soul files from the client’s disk. Use get_shared_context for live session context when on the hosted surface..axis/instructions/context.md and .axis/instructions/conventions.md. Per the agent protocol, this is the first action in every agent session — non-negotiable regardless of how simple the task appears.
The project to load the soul for. Defaults to the auto-detected project from the active workspace root.
context.md and conventions.md as a single string. The agent reads this before touching the job board, files, or anything else.
update_project_soul
Local only.
update_project_soul writes to soul files on the client’s disk. The hosted server has no filesystem access.The new content to write to the soul file. The entire target file is replaced.
Which file to write:
context or conventions. Defaults to context.The project to update the soul for. Defaults to the auto-detected project.
Soul file structure
The soul lives in.axis/instructions/ and is created when you run npx axis-init@latest in the repo root.
| File | Purpose |
|---|---|
context.md | Project overview, architecture decisions, core features, stack choices, and any shared API contracts. |
conventions.md | Coding standards, naming conventions, test strategy, agent behavioral norms, and patterns to follow or avoid. |
activity.md | Activity log — written automatically via update_shared_context, not directly via update_project_soul. |
When to update the soul
Architecture changes
Whenever the tech stack, persistence layer, service topology, or module boundaries change — update
context.md so future agents understand the current shape of the system.New conventions
When a new coding standard, naming convention, or agent behavioral norm is established — update
conventions.md so every future agent respects it without being told.Major refactors & onboarding
After onboarding a new service, completing a major refactor, or migrating to a new pattern — the soul should reflect the post-refactor world, not the pre-refactor one.
Shared contract changes
When an API signature, token shape, database schema, or inter-service protocol changes — update the soul immediately so agents reading it after the change don’t generate code against the old contract.
Example soul content
The following shows a well-maintainedcontext.md for the Axis project itself:
conventions.md:
Session start protocol
The agent protocol requiresget_project_soul as the first action in every session. Here is the correct opening sequence: