Sandbox
@codeaholicguy/ai-devkit

Control plane for AI coding agents

AI DevKit sets up a shared operating layer for coding agents. It reconciles agent config with `.ai-devkit.json`, starts a live console for running sessions, routes prompts with `agent send`, and stores reusable project knowledge in local SQLite memory.

1,622 stars250 forksTypeScriptUpdated 6d ago
Who it's for

Builders who want multiple coding agents to share setup, memory, and a control surface in one repo.

What it delivers

You can supervise several agents from one place instead of managing each chat, rule file, and terminal separately.

What it does

One config across agents

`.ai-devkit.json` reconciles setup across supported coding tools in the same project.

Live agent console

`agent console` provides a TUI dashboard for watching local agent sessions.

Cross-agent messaging

`agent send` routes prompts, logs, and test output to running agents, with options like `--stdin` and `--wait`.

Local memory retrieval

`@ai-devkit/memory` stores decisions, conventions, and fixes in SQLite so agents can search when needed.

Composable skills

Built-in skills like `dev-lifecycle`, `verify`, `tdd`, `structured-debug`, and `security-review` shape how agents work.

Remote channels

`channel start` can connect agent sessions to channels like Telegram for remote control.

How to get it

  1. 1Before AI DevKit, your agents are powerful but scattered. After AI DevKit, they have…
    npx ai-devkit@latest init
  2. 2Save templates/senior-engineer.yaml locally and run
    ai-devkit init --template ./senior-engineer.yaml
  3. 3Contributing → CONTRIBUTING.md
    git clone https://github.com/Codeaholicguy/ai-devkit.git
    cd ai-devkit && npm install && npm run build

README

AI DevKit

English | 中文

The control plane for AI coding agents.

AI DevKit gives Claude Code, Codex CLI, Gemini CLI, opencode, Pi, Cursor, GitHub Copilot, Devin, and other coding agents one local-first operating layer: one config, one console, local memory retrieval, cross-agent communication, and composable engineering skills led by dev-lifecycle.

  • One config for every agent.ai-devkit.json reconciles setup across the coding tools your team uses
  • One console for running sessionsagent console is a live TUI dashboard for supervising local agents across providers
  • Cross-agent communicationagent send lets you route prompts, logs, and test output to running agents
  • Memory retrieval without context bloat@ai-devkit/memory stores decisions, conventions, and fixes in local SQLite so agents search when needed instead of carrying everything in every prompt
  • Composable engineering skillsdev-lifecycle, verify, tdd, review, debugging, security, docs, and simplification skills combine into reliable workflows

The future is many AI coding agents. AI DevKit is the layer that makes them manageable.

Run npx ai-devkit@latest init and your project gets:

What you needWhat AI DevKit installs
One setup source.ai-devkit.json for the agents and workflow you choose
Running-agent visibilityagent list, agent detail, and agent console
Addressable agentsagent send, --stdin, --wait, and agent groups where supported
Retrieval-based memoryLocal SQLite memory exposed through MCP and CLI, searched only when useful
Composable senior-engineer workflowdev-lifecycle plus verification, TDD, debugging, review, security, docs, and simplification skills

npm version npm downloads GitHub stars License: MIT

Who this is for

Developers whose AI coding setup has grown from one assistant into a small, messy team of agents:

  • multiple terminals with no shared control surface
  • separate CLAUDE.md / .cursor/rules / AGENTS.md / MCP setup per tool
  • no easy way to send context, logs, or follow-up work to a running agent
  • the agent forgetting yesterday's conventions
  • "I've successfully implemented the feature" with a red build
  • the agent diving into code without a plan and producing the wrong thing

Before AI DevKit, your agents are powerful but scattered. After AI DevKit, they have shared setup, a control surface, searchable memory, communication paths, and reusable skills that travel with your repo without bloating every prompt.

Without AI DevKitWith AI DevKit
You manage agents as isolated terminal tabsYou supervise them from ai-devkit agent console
You hand-maintain every agent setupOne config reconciles agent files, skills, and MCP setup
You copy logs and context between sessionsagent send routes prompts and stdin to running agents
You repeat project rules in every chatAgents retrieve relevant memory and docs only when useful
The agent jumps from prompt to codedev-lifecycle guides requirements, design, planning, implementation, testing, and review
"Done" means the agent stopped editing"Done" requires fresh verification output

Start in 30 seconds

npx ai-devkit@latest init

One wizard. Pick your agents, install the control-plane pieces you need, and give every tool the same operating model. It writes project-local files you can review and commit. Re-run it whenever your agent list or workflow changes.

Here's what lands in your repo:

your-project/
├── .ai-devkit.json              # single source of truth (re-run init anytime)
├── .claude/                     # or .cursor/, .codex/, etc. per agent you picked
│   ├── skills/                  # dev-lifecycle, verify, memory, tdd, ...
│   └── settings.json            # MCP servers wired up (incl. @ai-devkit/memory)
└── docs/ai/
    ├── requirements/            # phase 1 — what to build, why
    ├── design/                  # phase 2 — how it'll be built
    ├── planning/                # phase 3 — task-by-task plan
    ├── implementation/          # phase 4 — execution notes
    └── testing/                 # phase 5 — coverage strategy

Operate agents like infrastructure

AI DevKit ships a agent control plane for everyday multi-agent work:

# List running sessions across providers
ai-devkit agent list

# Open the live terminal UI
ai-devkit agent console

# Send a prompt to a running session and wait for the response
ai-devkit agent send "run the tests and report back" --id <agent-name> --wait

# Pipe multi-line output into a running session
npm test 2>&1 | ai-devkit agent send --id <agent-name> --stdin

# Send a prompt to a saved group of agents
ai-devkit agent send "review this branch for release risk" --group reviewers

# Pipe a session through Telegram — operate your agent from your phone
ai-devkit channel start telegram --agent <agent-name> --daemon

Use this when work spans long-running agents, multiple providers, scheduled checks, review loops, or remote control from another channel.

Add memory without bloating context

AI DevKit memory is local SQLite knowledge for project decisions, coding conventions, and reusable fixes. Agents retrieve it when a task needs context instead of carrying every fact in every prompt.

# Store a reusable project convention
ai-devkit memory store \
  --title "API handlers return DTOs" \
  --content "REST handlers should return response DTOs instead of domain entities." \
  --tags "api,backend" \
  --scope "repo:codeaholicguy/ai-devkit"

# Search before related work
ai-devkit memory search --query "API response convention"

Compose engineering workflows with skills

The control plane is useful on its own. For larger or riskier changes, AI DevKit also installs composable skills that make agents behave more like an engineering team.

dev-lifecycle is the anchor skill. It guides the agent through requirements, design, planning, implementation, testing, and review. Other skills plug into that flow:

  • memory retrieves relevant project knowledge without stuffing all context into the session
  • verify blocks completion claims without fresh test or build evidence
  • tdd pushes test-first implementation when behavior changes
  • structured-debug keeps debugging reproducible instead of guess-and-patch
  • security-review, document-code, and simplify-implementation add focused review passes when the task needs them

Get the full engineering workflow stack

Save templates/senior-engineer.yaml locally and run:

ai-devkit init --template ./senior-engineer.yaml

Bundles the built-in skills with curated additions from Anthropic, Vercel, and others: TDD, frontend design, webapp testing, doc co-authoring, React best practices, security review, and more.

A feature, end-to-end

You:    Use the dev-lifecycle skill to start requirements for OAuth login with Google

Agent:  Searches memory for prior auth conventions. Asks clarifying
        questions about scope, users, success criteria. Drafts
        docs/ai/{requirements,design,planning}/feature-oauth-login.md
        in a feature worktree. Stops before coding.

You:    Ask for a design review of feature-oauth-login

Agent:  Audits the design doc against the requirements. Flags gaps,
        proposes fixes — before any code gets written.

You:    Ask it to execute the implementation plan

Agent:  Works the planning doc task-by-task. Updates progress after
        each task. The `verify` skill blocks a task from being
        marked done without fresh test/build output.

You:    Ask for a code review

Agent:  Audits the diff against the design doc — scope creep,
        missing tests, edge cases the requirements named —
        before you push.

What changes in agent behavior

The flow above is powered by nine built-in skills, each addressing a failure mode developers see in real AI coding sessions:

Failure modeAI DevKit behavior
Agent starts coding too earlydev-lifecycle forces requirements, design, planning, implementation, tests, and review
Agent says "done" without proofverify blocks completion claims without fresh test/build evidence
Agent commits unrelated local changesdev-commit checks diffs, stages explicit paths, validates, and reports the SHA/status
Agent forgets project decisionsmemory gives it a local, searchable knowledge base across sessions and projects
New behavior ships without teststdd pushes test-first implementation
Debugging becomes guess-and-patchstructured-debug makes it reproduce, hypothesize, fix, and verify
Existing code is opaquedocument-code maps entry points, dependencies, and behavior
Implementation gets bloatedsimplify-implementation reduces complexity before code ships
Documentation is hard to followtechnical-writer audits docs for novice-user clarity

Need more? ai-devkit skill add <registry> <skill> pulls from 30+ publishers — Anthropic, Vercel, Supabase, Microsoft, Google.

Works across coding agents

One .ai-devkit.json configures all of them. Add a new agent to your team without rewriting your rules.

AgentSetupRemote control
Claude Codeyesyes
Gemini CLIyesyes
Codex CLIyesyes
Grok Build CLIyesyes
Junieyes
Clineyes
Devinyes
opencodeyestesting
Piyesyes
Cursoryes
GitHub Copilotyes
Antigravityyes
Ampyes
Kilo Codeyes
Roo Codetesting

Setupai-devkit init writes the agent's config (rules, MCP servers, and skills) so it joins the same operating layer. Remote control — drive running sessions from ai-devkit agent send and route them through external channels.

How is this different from CLAUDE.md, .cursor/rules, or AGENTS.md?

Those files are static instructions the agent re-reads. AI DevKit gives agents a operating layer: generated setup, a control console, cross-agent messaging, local searchable memory, phase docs, skills loaded on demand, and verification gates. The rules still matter, but AI DevKit makes them operational across tools.

Static rules filesAI DevKit
Tell one agent what you preferReconciles setup across supported agents
Do not show what is runningLists, inspects, and controls live sessions
Cannot send work between sessionsRoutes prompts, stdin, and channel messages to agents
Depend on the agent remembering every ruleStores and searches reusable project knowledge
Cannot prove a task is completeRequires fresh command output before completion claims

What this isn't

  • Not a smarter LLM. Bad models stay bad — this raises the floor on process, not on raw capability.
  • Not a replacement for Claude Code, Codex, Cursor, Gemini CLI, or opencode. AI DevKit configures, supervises, and coordinates the agents you already use.
  • Not a magic "write the feature for me" button. You still review the requirements doc, accept the design, and read the diff. The workflow makes that review possible because you have artifacts to point at instead of only chat scrollback.
  • Not a hosted service. MIT-licensed, runs locally, no telemetry. Memory is a SQLite file on your disk. The agent control plane talks to the agent SDKs you already use.

Documentation & community

git clone https://github.com/Codeaholicguy/ai-devkit.git
cd ai-devkit && npm install && npm run build

License

MIT

Star History

Star History ChartStar History Chart

Files in the repo

Repository payload27 top-level entries
  • .claude-plugin
  • .codex-plugin
  • .cursor-plugin
  • .github
  • .husky
  • docs
  • e2e
  • hooks
  • packages
  • skills
  • templates
  • web
  • .ai-devkit.json
  • .editorconfig
  • .gitignore
  • .nvmrc
  • agent-console-showcase.jpg
  • BACKLOG.md
  • CHANGELOG.md
  • LICENSE
  • nx.json
  • package-lock.json
  • package.json
  • README-zh.md
  • README.md
  • tsconfig.base.json
  • tsconfig.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More tools

JuliusBrussee/
caveman

🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman

105k
1 add
MemPalace/
mempalace

The best-benchmarked open-source AI memory system. And it's free.

59k
stablyai/
orca

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

66k

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

132k

Never stop coding. Free MIT AI gateway: one endpoint, 352 providers (150+ free), 1200+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 550+ contributors

64k
headroomlabs-ai/
headroom

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

71k