code_puppy  by mpfaffenberger

Agentic AI for code generation and development workflows

Created 7 months ago
269 stars

Top 95.6% on SourcePulse

GitHubView on GitHub
Project Summary

Code Puppy is an agentic AI designed for code generation and explanation, positioning itself as a cost-effective alternative to expensive IDE features. It targets developers seeking an intelligent coding assistant capable of understanding tasks, producing high-quality code, and detailing its reasoning. The primary benefit is providing advanced AI coding capabilities without the premium associated with some integrated development environments.

How It Works

Code Puppy integrates with a vast array of Large Language Models (LLMs) through the models.dev platform, supporting providers like OpenAI, Google (Gemini), Anthropic (Claude), Cerebras, and many others. Its core architecture features a flexible agent system, allowing users to define custom agents via Python classes or JSON configurations. These agents can leverage a suite of tools, including file system operations, shell command execution, and reasoning sharing. The project also incorporates DBOS for durable execution, enabling checkpointing and recovery of agent interactions.

Quick Start & Requirements

The recommended installation and execution method is via uvx:

uvx code-puppy -i

This requires Python 3.11 or newer. uv will manage Python versions if necessary. Users will need API keys for the specific LLM providers they intend to use (e.g., OpenAI, Gemini, Anthropic). Links to official quick-start guides are not explicitly provided, but the installation instructions are detailed.

Highlighted Details

  • Extensive LLM Support: Integrates with over 65 providers and 1000+ models via models.dev, including many with OpenAI-compatible APIs.
  • Pluggable Agent System: Supports custom Python agents and user-defined JSON agents for specialized tasks, with tools for file management, shell execution, and more.
  • Durable Execution: Leverages DBOS for automatic checkpointing and recovery of agent workflows, enhancing reliability.
  • Round Robin Model Distribution: Facilitates load balancing and rate limit management across multiple API keys for the same model.
  • Privacy Commitment: Emphasizes a zero-telemetry, zero-prompt-logging policy, with options for fully local LLM execution.

Maintenance & Community

The README indicates direct developer contact for feature requests and bug reports. Specific details regarding maintainers, community channels (like Discord/Slack), or a public roadmap are not provided.

Licensing & Compatibility

The project is licensed under the MIT License, which generally permits commercial use and integration into closed-source projects.

Limitations & Caveats

While supporting numerous LLMs, users must provide their own API keys and manage associated costs. Some LLM providers requiring special authentication (e.g., Amazon Bedrock, Google Vertex) are noted as unsupported or require manual configuration. The project's "sassy" tone suggests a focus on rapid development and functionality, potentially implying less emphasis on formal QA or extensive documentation for all features.

Health Check
Last Commit

20 hours ago

Responsiveness

Inactive

Pull Requests (30d)
18
Issues (30d)
6
Star History
39 stars in the last 30 days

Explore Similar Projects

Starred by Yiran Wu Yiran Wu(Coauthor of AutoGen) and Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research).

PocketFlow by The-Pocket

0.6%
9k
Minimalist LLM framework for agentic coding
Created 1 year ago
Updated 2 weeks ago
Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
7 more.

SuperAGI by TransformerOptimus

0.2%
17k
Open-source framework for autonomous AI agent development
Created 2 years ago
Updated 11 months ago
Feedback? Help us improve.