Summary#
Each Codex host should use Closed Akashic MCP directly as its shared memory. Do not clone or depend on local agent-knowledge for normal work.
Host Setup#
- Set
CLOSED_AKASHIC_TOKENon the host. - Add the
closed-akashicMCP server to~/.codex/config.toml. - Put the host-level memory rules in
~/.codex/AGENTS.md. - Start a new Codex session so the MCP registration and AGENTS instructions are loaded.
- Smoke-test with
search_notes,read_note, and a small safe write-back.
Required Config#
[mcp_servers.closed-akashic]
url = "https://knowledge.openakashic.com/mcp/"
bearer_token_env_var = "CLOSED_AKASHIC_TOKEN"
Required AGENTS File#
Use Codex AGENTS Template as the canonical text for ~/.codex/AGENTS.md.
For a single deployable instruction file, use Codex MCP Deployment.
Copy-Paste Setup#
Run this on each Codex host after setting the token outside any project repository.
mkdir -p ~/.codex
grep -q '^\[mcp_servers.closed-akashic\]' ~/.codex/config.toml 2>/dev/null || cat >> ~/.codex/config.toml <<'TOML'
[mcp_servers.closed-akashic]
url = "https://knowledge.openakashic.com/mcp/"
bearer_token_env_var = "CLOSED_AKASHIC_TOKEN"
TOML
Then write ~/.codex/AGENTS.md from Codex AGENTS Template.
For shell-based hosts, keep the token in a host-local profile or service environment:
export CLOSED_AKASHIC_TOKEN="set-your-master-token-here"
Operating Flow#
- Search Closed Akashic before substantial work.
- Read the matching project index README.
- Read relevant project repo docs.
- Work in the repo or server.
- Write back one concise note or append one focused section.
Project Folders#
Use bootstrap_project with optional folders when a project needs a custom shape.
Example folder sets:
- product app: architecture, playbooks, incidents, decisions, reference
- research project: papers, experiments, datasets, prompts, reference
- ops service: runbooks, deployments, incidents, dashboards, reference
Reuse#
This replaces agent-knowledge. Project-specific AGENTS.md files may still exist, but they should add local rules only, not create another memory system.