Skip to content

Repository files navigation

AgentiCode

The most feature-rich open source AI coding agent.

110+ AI providers, multi-agent orchestration, cross-session memory, and everything you need in one agent.

AgentiCode CLI


Why AgentiCode?

AgentiCode combines the best ideas from every major AI coding agent into a single, provider-agnostic platform:

FromWhat We Took
Core EngineFull agent engine — bridge, swarm, buddy, memory, vim, 40+ tools, CLI
OpenCode110+ provider registry via models.dev, Electron desktop concepts
AiderRepo map, auto-lint/test loop, git auto-commit, voice coding
ClineCheckpoint/restore, screenshot input, browser automation
Cursor@-mentions context system (@file, @tree, @git, @search)
GooseRecipe YAML workflows, sandbox containers, auto-compaction, skills
ClaurstConversation fork, session budget, advisor dual-model review
ClawCodeExperience learning (ECAP), multi-provider abstraction pattern

Features

CategoryWhat's Included
Providers110+ via models.dev — OpenAI, Anthropic, Google, Groq, DeepSeek, Mistral, xAI, OpenRouter, Ollama, LM Studio, and 100 more. Online + local.
Multi-AgentSwarm orchestration, coordinator mode, parallel workers, team management, permission bridge, advisor review
MemoryCross-session persistence (4 types: user/feedback/project/reference), experience learning (ECAP), project hints (.agenticode/hints.md)
Context@-mentions (@file, @tree, @git, @url, @search), image/screenshot input, repo map code graph
RemoteBridge sessions (WebSocket + hybrid transport), remote REPL, session sync, reconnection with backoff
WorkflowsRecipe YAML system with parameters and sub-recipes, planner model separation
SafetyPowerShell destructive command detection, sandbox container isolation, advisor dual-model review
Dev ToolsAuto-lint/test loops, git auto-commit, checkpoint/restore snapshots, smart auto-compaction
UXBuddy companion sprites (18 species), vim mode, conversation fork/branch, session budget tracking
ExportSession replay in Markdown, JSON, or HTML. Full conversation history with cost tracking.
BrowserPlaywright/Puppeteer MCP integration with presets for headless testing
SearchWeb search via Tavily, Brave, SearXNG, or custom backends

Getting Started

git clone https://github.com/kyaky/agenticode.git
cd agenticode
bun install
bun start

Set any provider API key:

export OPENAI_API_KEY=sk-... # OpenAIexport GROQ_API_KEY=gsk_... # Groqexport DEEPSEEK_API_KEY=sk-... # DeepSeekexport AGENTICODE_API_KEY=sk-ant-... # Anthropic# ... or any of 110+ providers

Architecture

src/
├── bridge/ # Remote sessions (WebSocket + hybrid transport)
├── buddy/ # AI companion sprites (18 species, 5 rarities)
├── coordinator/ # Multi-agent orchestration + advisor review
├── memdir/ # Cross-session memory + ECAP experience learning
├── recipe/ # YAML workflow engine
├── vim/ # Modal editing state machine
├── tools/ # 40+ tools + auto-fix + auto-commit + repo-map
├── services/
│ ├── api/ # Core query engine
│ └── providers/ # Provider abstraction layer
│ ├── types.ts # Unified BaseProvider interface
│ ├── openai.ts # OpenAI + 100 compatible endpoints
│ ├── anthropic.ts # Native Anthropic HTTP client
│ ├── models-registry.ts # models.dev 110+ providers
│ ├── web-search.ts # Tavily/Brave/SearXNG
│ ├── capabilities.ts # Thinking/caching/tool detection
│ ├── converter.ts # Format: Internal↔OpenAI↔Anthropic↔Gemini
│ └── router.ts # Auto-detection + factory
├── utils/
│ ├── mentions.ts # @-mentions context system
│ ├── imageInput.ts # Screenshot/image input
│ ├── browserAutomation.ts # Playwright/Puppeteer MCP
│ ├── sessionExport.ts # Session replay (MD/JSON/HTML)
│ ├── sandbox.ts # Docker container isolation
│ ├── checkpoint.ts # File snapshot/restore
│ ├── budget.ts # Token/cost limits
│ ├── fork.ts # Conversation branching
│ └── auto-compact.ts # Smart context management
├── cli/ # Terminal UI + 87 commands
└── components/ # Ink React terminal components

Provider Support

AgentiCode integrates with models.dev for automatic provider and model discovery:

import{searchModels,createProviderFromRegistry}from'./services/providers'// Search across all providersconstmodels=awaitsearchModels("gpt-4")// Auto-create provider from registryconstprovider=awaitcreateProviderFromRegistry("groq","llama-3.3-70b-versatile")// Find cheapest model with tool callingconstcheap=awaitfindCheapestModel({needsToolCall: true})

Online providers: OpenAI, Anthropic, Google, Groq, DeepSeek, Mistral, xAI, OpenRouter, Together, Fireworks, Cerebras, Perplexity, Cohere, 302.AI, Alibaba, GitHub Copilot, GitHub Models, Azure, Bedrock, Vertex, and 90+ more.

Local providers: Ollama, LM Studio, llama.cpp, Jan, vLLM, LocalAI.

License

MIT

About

The most feature-rich open source AI coding agent

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages