code_puppy
Agentic AI for writing code
MCP Agents Market is an independent directory. We are not affiliated with mpfaffenberger or code_puppy, and we do not host or distribute it. All links point to the official GitHub repository.
Code Puppy is an open-source AI-powered coding agent that generates code, explains reasoning, and manages files through a command-line interface. Built as an alternative to commercial IDE plugins like Cursor and Windsurf, it supports multiple LLM providers (OpenAI, Anthropic, Google, Cerebras, Meta, and 65+ providers via models.dev integration) and runs entirely locally with optional cloud models. The agent features a flexible plugin architecture allowing users to create custom specialized agents via JSON configurations, integrate MCP servers for extended capabilities, and leverage durable execution via DBOS for crash-resistant long-running tasks. Developers interact through slash commands and can define project-specific coding standards via AGENTS.md files.
Key Features
Use Cases
- 01Generating and editing code files with AI assistance while maintaining full control over model provider and costs
- 02Creating specialized coding agents for specific tasks like Python tutoring, code review, or DevOps automation via JSON configs
- 03Distributing API requests across multiple keys and providers to work around rate limits on high-volume coding projects
- 04Running long-running refactoring or code generation tasks with automatic checkpointing and crash recovery
- 05Enforcing team coding standards and conventions by defining AGENTS.md rules that the AI follows
- 06Integrating external tools and services through MCP servers for browser automation, database access, or API interactions
Related Agents
View morehermes-agent
The agent that grows with you
agency-agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
openinterpreter
A coding agent for open models like Kimi K3
cline
Autonomous coding agent as an SDK, IDE extension, or CLI assistant.
code_puppy — FAQ
What is Code Puppy and how does it differ from Cursor or Windsurf?+
Code Puppy is a standalone AI coding agent you run in your terminal, not an IDE plugin. Unlike Cursor and Windsurf which control your model access and pricing, Code Puppy lets you use your own API keys with any supported provider (OpenAI, Anthropic, Cerebras, local models, and 65+ others via models.dev). It was created specifically in reaction to commercial tools removing model access and raising prices.
How do I install Code Puppy?+
The recommended method is using UV: install UV with 'curl -LsSf https://astral.sh/uv/install.sh | sh' on macOS/Linux (or the PowerShell installer on Windows), then run 'uvx code-puppy'. Alternatively, install via pip/pipx. First run may take time to compile dependencies, especially on Android/Termux.
What API keys or prerequisites do I need?+
You need at least one LLM provider API key (OpenAI, Anthropic, Google Gemini, Cerebras, etc.) configured via environment variables. For local/offline use, you can run your own VLLM, SGLang, or Llama.cpp server and configure it as a custom OpenAI-compatible endpoint. Python 3.11+ is required.
Is Code Puppy free and open source?+
Yes, Code Puppy is 100% free and open source under the MIT license. There are no telemetry, usage tracking, or data collection features. You only pay for the LLM API usage from your chosen provider, or use it completely free with local models.
Can I create custom agents for specific coding tasks?+
Yes, Code Puppy includes an agent system supporting both Python-based agents and user-created JSON agents. Use the '/agent agent-creator' command to build custom agents with specific tools, system prompts, and behaviors, or manually create JSON files in ~/.code_puppy/agents/. Examples include Python tutors, code reviewers, and DevOps helpers.
How does round-robin model distribution work?+
Round-robin distribution lets you configure multiple API keys for the same model and automatically cycle through them with each request to avoid rate limits. Define a round_robin model type in extra_models.json with an array of model configs and a 'rotate_every' parameter to control how many requests each key handles before switching.
How do I install code_puppy?+
Open the source repository on GitHub and follow its README. code_puppy is a agent — MCP Agents Market links you directly to the official repo.
Is code_puppy free?+
code_puppy is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.