Aki
OfficialThis server provides a persistent memory layer for AI coding agents, enabling them to store, retrieve, search, and reason over project-scoped knowledge across sessions.
memory_context— Retrieve a contextual summary of stored memory for a project, optionally filtered by a query and limited to a specified number of results. Useful for giving an agent a quick overview of what it already knows about a project.memory_search— Search stored memories for a given query, optionally scoped to a project, returning the most relevant facts, decisions, events, or procedures.memory_save— Persist a new memory item (fact, decision, event, procedure, etc.) with a kind, title, content, optional project scope, and optional confidence score.memory_extract— Automatically extract and store structured memory items from a block of raw text (e.g., a conversation or document), using an LLM when available.memory_explain— Generate a natural-language explanation or summary in response to a query, drawing on stored project memory to synthesize what is known about a topic.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Akiremember our testing setup with pytest and coverage"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Aki
Persistent project memory and operational context for AI coding agents.
Built for the Qwen Cloud Global AI Hackathon Series, Aki turns a repo into a durable workspace an agent can return to: project memory, resumable sessions, operational posture, MCP bootstrap, and SDD-aware context in one local-first tool.
Why Aki
AI coding agents are powerful, but they forget too much between sessions.
Aki fixes that by giving agents a persistent, project-scoped memory layer and a repo-aware operating surface. Instead of starting every session from scratch, an agent can recover prior decisions, resume a session checkpoint, inspect project health, and work with the same conventions the repo already established.
This repository is intentionally positioned as an open-source hackathon product, not a hosted SaaS:
local-first by default;
MCP-native for real coding-agent workflows;
Qwen-powered when cloud extraction/explanations help;
useful without Qwen credentials for core memory and audit flows.
Related MCP server: Claude Habitat
What makes it submission-ready
Product strengths
Area | What Aki provides |
Persistent memory | Durable project facts, decisions, events, and procedures backed by SQLite + ChromaDB. |
Session continuity | Resumable interactive sessions with stored |
Operational visibility | Cockpit overview, project registry, health check, structured audit reports, and JSON-friendly deployment logging. |
MCP bootstrap |
|
Specialized agents | Configurable planner / builder / reviewer-style profiles with tool and memory policies. |
Project audit | Read-only audit passes for tests, SDD completeness, git hygiene, env/config, MCP readiness, and memory posture. |
SDD-aware workflow | Detects proposal/spec/design/tasks artifacts, injects SDD context into chat, and can bootstrap |
Git bootstrap | Built-in git operations include safe repository initialization through |
Qwen + Alibaba compatibility | Default Qwen endpoint targets DashScope international ( |
Demo value in one sentence
Aki helps an agent behave less like a stateless chatbot and more like a repo-aware engineering teammate.
Quickstart
Requirements
Python 3.11+
Optional:
QWEN_API_KEYorDASHSCOPE_API_KEYfor Qwen-powered extraction/explanations
Fastest path: one command
No clone, no manual steps. This clones the repo into ./aki, installs uv
if needed, syncs dependencies, installs the aki CLI as a global tool, and
runs aki setup (config bootstrap + health check) — all in one shot:
curl -fsSL https://raw.githubusercontent.com/Akicoders/aki/main/install.sh | shIt's safe to re-run at any time (idempotent), and works the same way if you
run it from inside an existing clone (sh install.sh) instead of piping it.
If you want manual control, already have a partial setup, or want to pass
explicit flags (e.g. --qwen-api-key), follow the numbered steps below instead.
1) Install and sync
git clone https://github.com/Akicoders/aki.git
cd aki
uv sync --all-extrasOr use the installer, which also installs the aki uv tool and runs aki setup (config bootstrap + health check) automatically at the end — no
follow-up command needed:
sh install.sh2) Verify the environment
Only needed if you used the manual uv sync --all-extras path above;
sh install.sh already runs this for you as its last step.
uv run aki doctor3) Open the product surface
Run Aki inside a git project with no subcommand:
uv run akiThis opens the operational cockpit, which summarizes:
project health;
pending action items;
memory posture;
SDD status.
4) Generate an audit report
uv run aki audit akiAudit reports are written to docs/audits/ and cover tests, SDD, git hygiene, env/config, MCP readiness, and memory posture.
5) Connect Aki to an MCP host
Generate config:
uv run aki mcp-config opencode
uv run aki mcp-config claude-codeOr apply it automatically:
uv run aki mcp-setup opencode
uv run aki mcp-setup claude-code6) Start the MCP server
uv run aki mcpCore capabilities
Persistent memory for coding workflows
Aki stores:
events for conversational history and activity;
facts for durable project knowledge;
procedures for repeatable workflows;
decisions that should influence future agent behavior.
Core memory tooling is available through MCP:
memory_contextmemory_searchmemory_savememory_extractmemory_explain
Without Qwen credentials, memory_save, memory_search, and memory_context still work.
Resumable sessions
Interactive mode supports explicit sessions, auto-resume through session:last, and checkpoint rehydration per session:
uv run aki interactive
uv run aki interactive --new-session
uv run aki interactive --profile reviewerInside interactive mode, /sessions lists prior sessions for the current project.
Specialized agent profiles
Aki includes a profile system for specialized agents with scoped tools and memory policies.
Inspect configured profiles:
uv run aki agentsSee docs/agent-profiles.md for the configuration model.
Operational cockpit and project registry
Browse known projects and jump into their cockpit views:
uv run aki projects browse
uv run aki cockpit --interactiveThis makes Aki more than a memory store: it becomes a lightweight control plane for agent-ready repositories.
SDD-aware development
Aki detects Spec-Driven Development artifacts in docs/sdd/, .sdd/, or openspec/ and can bootstrap a new SDD workspace:
uv run aki sdd-initThis is especially useful for hackathon demos because it shows memory, planning, and delivery working together in one workflow.
Configuration
For manual setup:
cp .env.example .envRelevant Qwen / DashScope settings:
QWEN_API_KEY=your_qwen_api_key_here
# or
# DASHSCOPE_API_KEY=your_dashscope_api_key_here
QWEN_BASE_URL=https://dashscope-intl.aliyuncs.com/compatible-mode/v1
QWEN_MODEL=qwen3.7-max
QWEN_EXTRACTION_MODEL=qwen3.7-plus
QWEN_CONSOLIDATION_MODEL=qwen3.7-max
QWEN_EMBEDDING_MODEL=text-embedding-v3Relevant local storage defaults:
MEMORY_DB_PATH=data/agentos.db
MEMORY_CHROMA_PATH=data/chroma_db
MEMORY_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2
MEMORY_MAX_CONTEXT_TOKENS=8000Demo framing
If you are evaluating Aki as a hackathon product, the strongest sequence is:
open the cockpit with
uv run aki;run
uv run aki audit akito show structured repo assessment;show
uv run aki agentsto demonstrate specialized agent profiles;generate host bootstrap with
uv run aki mcp-config opencodeoraki mcp-setup --dry-run;demonstrate interactive/session continuity or MCP memory retrieval.
Use these docs for the full evaluator path:
docs/demo.md— evaluator walkthroughdocs/demo-script.md— short live demo scriptdocs/devpost-description.md— submission copy
Architecture at a glance
flowchart TD
%% Define Styles
classDef external fill:#f9f9f9,stroke:#333,stroke-width:2px,color:#333
classDef core fill:#e1f5fe,stroke:#0288d1,stroke-width:2px,color:#01579b
classDef memory fill:#fff9c4,stroke:#fbc02d,stroke-width:2px,color:#f57f17
classDef feature fill:#e8f5e9,stroke:#388e3c,stroke-width:2px,color:#1b5e20
classDef llm fill:#f3e5f5,stroke:#8e24aa,stroke-width:2px,color:#4a148c
%% External Interfaces
subgraph Interfaces ["External Interfaces"]
IDE["AI Coding Host<br>(OpenCode, Claude Code)"]:::external
CLI["Aki CLI<br>(uv run aki)"]:::external
end
%% Entrypoints
subgraph Entrypoints ["Aki Entrypoints"]
MCP["MCP Server<br>(stdio)"]:::core
Cockpit["Cockpit Surface"]:::core
end
%% Core Modules
subgraph Core ["Aki Core Modules"]
MemH["Memory Handlers"]:::feature
QwenC["Qwen Client"]:::feature
Audit["Audit System"]:::feature
SDD["SDD Detection<br>(Spec-Driven Dev)"]:::feature
Agent["Agent Profiles"]:::feature
Skills["Skills & Tools"]:::feature
end
%% Data & External Services
subgraph Storage ["Storage & External Services"]
SQL["SQLite<br>(Structured Data)"]:::memory
Chroma["ChromaDB<br>(Vector Embeddings)"]:::memory
QwenAPI["Qwen API<br>(DashScope)"]:::llm
end
%% Relationships
IDE -- "MCP Protocol (stdio)" --> MCP
CLI -- "Terminal" --> Cockpit
CLI -- "Commands" --> Audit
CLI -- "Interactive Sessions" --> Agent
MCP --> MemH
MCP --> SDD
MCP --> Skills
Cockpit --> Audit
Cockpit --> MemH
Cockpit --> SDD
MemH --> SQL
MemH --> Chroma
QwenC --> QwenAPI
MemH -. "Extraction & Embeddings" .-> QwenC
Agent -. "LLM Inference" .-> QwenCPublic CLI entry point:
akiCompatibility alias retained during transition:
agentosRelated docs
docs/integration.md— host integration detailsdocs/agent-profiles.md— specialized profile configurationdocs/troubleshooting.md— common setup issuesdocs/sdd/— proposal, spec, design, and task artifactsCONTRIBUTING.md— contributor workflow
Development quality
The repository includes:
GitHub Actions CI for linting and tests;
a dedicated pytest suite under
tests/;a documented development flow in
CONTRIBUTING.md.
Typical local checks:
uv run ruff check .
uv run pytest tests/ -q
uv run aki mcp-config opencodeScope and non-goals
Aki is a strong open-source hackathon MVP, but it is not presented here as a hosted production platform.
Out of scope in this repository today:
REST API or web dashboard
multi-user / team tenancy
WhatsApp, Telegram, or voice ingestion
HTTP
/healthendpoints as a primary interface
Container files such as Dockerfile and docker-compose.prod.yml are deployment helpers, but the main product interface remains local stdio MCP.
License
MIT. See LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Akicoders/aki'
If you have feedback or need assistance with the MCP directory API, please join our Discord server