Akephalos
May 13, 2026 ยท View on GitHub
Akephalos is a tiny open-source, markdown-first passport for AI agents.
It lets you carry your preferences, tools, rules, projects, harness notes, and durable memories across different AI agents and machines.
Instead of teaching Codex, Cursor, Claude Code, Hermes, Pi IDE, or another agent the same context again and again, you keep a local .akephalos bundle that each agent can read before starting work.
Because the bundle is plain Markdown + JSONL, it can be synced through your own private Git repo. Multiple agents on different systems can share the same durable context without a hosted memory service, dashboard, database, cloud account, vector search, OAuth, blockchain, or agent runtime.
What It Is
- Markdown-first: humans can read and edit the core files.
- Local-first: the passport lives in a local
.akephalosfolder. - Open-source: the package should be buildable and inspectable.
- Decentralized by default: no hosted account is required.
- Agent-friendly: agents can read stable identity, rules, tools, projects, and memories.
- MCP-compatible where useful: MCP is optional, not required.
- Git-friendly: private Git sync is optional and user-controlled.
What It Is Not
- Not a hosted memory service.
- Not a dashboard.
- Not a vector database.
- Not a blockchain project.
- Not an OAuth/account system.
- Not a secret manager.
- Not a universal memory platform.
Do not store secrets in Akephalos memories.
Quickstart
Clone the public source repo, install development dependencies, and build the CLI:
git clone https://github.com/sunnja69/akephalos.git
cd akephalos
npm ci
npm run build
node dist/index.js --help
Create a local passport bundle:
node dist/index.js init
Inspect the bundle:
node dist/index.js status
node dist/index.js scan
node dist/index.js print identity
node dist/index.js print rules
node dist/index.js print projects
node dist/index.js print memories
Add a durable non-secret memory:
node dist/index.js add-memory "User prefers small dependency-light CLI changes."
Import a harness profile:
node dist/index.js import-harness "Pi IDE" --tool "terminal" --tool "git" --preference "Prefer small diffs"
Show a lightweight weekly digest:
node dist/index.js pulse
Compile memories into the readable identity document:
node dist/index.js compact
Create a portable snapshot:
node dist/index.js export
Start the MCP server:
node dist/index.js mcp
If you add the built CLI to your shell path later, the same commands are available as:
akephalos init
akephalos status
akephalos scan
akephalos add-memory "Durable non-secret context."
Bundle Layout
.akephalos/
manifest.json
akephalos.md
rules.md
tools.md
projects.md
harnesses.json
memories.jsonl
events.jsonl
exports/
Commands
akephalos init
akephalos status
akephalos scan
akephalos print identity
akephalos print rules
akephalos print tools
akephalos print projects
akephalos print memories
akephalos add-memory "text"
akephalos import-harness "Harness Name" --tool "tool" --preference "preference"
akephalos import-harness --auto
akephalos harness list
akephalos harness add "Hermes"
akephalos harness mark "Hermes" --status configured
akephalos harness check
akephalos pulse
akephalos sync-status
akephalos sync
akephalos merge-ledgers
akephalos scan
akephalos compact
akephalos export
akephalos mcp
Harness Registry
Akephalos tracks linked agents in .akephalos/harnesses.json.
akephalos harness list
akephalos harness add "Hermes"
akephalos harness mark "Hermes" --status configured
akephalos harness check
harness check can create harnesses.json from existing tools.md Imported Harnesses sections without heavily rewriting tools.md.
The contributor-facing compatibility matrix lives in docs/KNOWN_WORKING_AGENTS.md.
Optional Private Git Sync
Users may keep their own .akephalos passport in a private Git repository. That repository is personal data and should stay private.
git clone <private-passport-repo-url> .akephalos
akephalos status
akephalos sync-status
For v0.1, use the GitHub source repo or a local clone as the distribution path.
Refresh a private passport later with:
akephalos sync --pull-only
Weekly Pulse
Run a low-token digest manually:
akephalos pulse
Schedule it weekly with your OS scheduler if desired. The command is read-only: it prints the top recent memories, imported harnesses, and review suggestions without changing the ledger.
Git Sync
When .akephalos is a clone of the private passport repo, sync both ways with:
akephalos sync
Use pull-only mode for read-only refreshes:
akephalos sync --pull-only
For simple interval sync, schedule akephalos sync every 15 minutes in the workspace that contains .akephalos.
Agent Bootstrap Prompt
Before starting work, read the local Akephalos bundle and treat it as durable user/project context. Do not store secrets. Append durable memories through Akephalos rather than rewriting user files directly.
See docs/integrations.md for Codex, Claude Code, OpenClaw/Hermes, generic agent, and MCP usage. The dedicated Hermes test path is in docs/integrations/hermes.md.
Security
Akephalos is local-first and file-based. It refuses memory text that looks like an API key, token, password, or private key.
Do not store raw credentials in Akephalos. Store references such as "API key is in the user's password manager" instead.
Run a local preflight scan before exporting or sharing:
akephalos scan
scan reports file and line numbers, redacts suspected values, fails on likely real secrets, and warns on machine-specific user paths that may be private.
The MCP server exposes only fixed resources from the local .akephalos folder and provides no arbitrary file read or shell execution tool.
MVP Non-Goals
Akephalos v0.1 does not include:
- hosted cloud accounts
- OAuth login
- databases
- vector search
- web dashboards
- cloud sync
- agent orchestration
- complex memory scoring
Development
npm ci
npm run build
npm test
node dist/index.js --help
Release preparation is tracked in docs/release-checklist.md and docs/OPEN_SOURCE_LAUNCH_CHECKLIST.md.
For contributors and testers: