An AI agent that autonomously develops, commits, and ships GitHub projects from ideas and research.
Give it an idea. It scaffolds the project, writes the code, creates a GitHub repo, commits, and pushes — all without manual intervention.
Idea → AI Planning → Code Generation → GitHub Repo → Commit & Push
- Ideation — You provide a project idea (or feed it from a research pipeline)
- Planning — Claude analyzes the idea, decides on tech stack, file structure, and architecture
- Generation — Code is written file-by-file with context awareness between files
- Publishing — A GitHub repo is created, code is committed with a meaningful message, and pushed
# Clone
git clone https://github.com/KyleBuildsAI/auto-repo-forge.git
cd auto-repo-forge
# Install dependencies
pip install -r requirements.txt
# Set your API key
export ANTHROPIC_API_KEY="sk-ant-..."
# Forge a project
python -m forge "Build a CLI tool that monitors disk usage and sends alerts"python -m forge "A Python FastAPI service that converts markdown to styled PDFs"python -m forge \
--owner KyleBuildsAI \
--visibility public \
--model claude-sonnet-4-20250514 \
"A real-time crypto price dashboard with WebSocket updates"python -m forge --spec project-spec.yamlpython -m forge --dry-run "A browser extension that summarizes any webpage"For more complex projects, use a YAML spec:
name: my-awesome-project
description: A tool that does X, Y, and Z
language: python
visibility: public
features:
- REST API with FastAPI
- SQLite database
- CLI interface
- Docker support| Env Variable | Description | Default |
|---|---|---|
ANTHROPIC_API_KEY |
Claude API key (required) | — |
GITHUB_OWNER |
GitHub username for repo creation | From gh auth |
FORGE_MODEL |
Claude model to use | claude-sonnet-4-20250514 |
FORGE_WORKSPACE |
Where to create projects locally | ./workspace |
auto-repo-forge/
├── forge/
│ ├── __init__.py
│ ├── __main__.py # CLI entry point
│ ├── agent.py # Core AI agent (planning + code generation)
│ ├── github.py # GitHub repo creation and git operations
│ ├── planner.py # Project planning and architecture decisions
│ ├── generator.py # File-by-file code generation
│ └── config.py # Configuration management
├── templates/
│ └── spec_example.yaml # Example spec file
├── requirements.txt
├── .env.example
└── README.md
- Python 3.10+
- GitHub CLI (
gh) — authenticated - Anthropic API key
MIT