Local-first autonomous coding agent CLI
Project description
forge — Local Coding Agent
Local-first autonomous coding agent CLI.
Documentation
- Prerequisites — Before you start (LM Studio, API keys)
- User Manual — Command reference and workflows
Install
One line (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/Tushaarxr/forge/main/install.sh | bash
One line (Windows PowerShell)
irm https://raw.githubusercontent.com/Tushaarxr/forge/main/install.ps1 | iex
Or with pipx
pipx install forge-coder
Or with Docker
docker build -t forge-agent .
docker run -it -e GEMINI_API_KEY=AIza... -v $(pwd):/workspace forge-agent auto "build a todo app"
# With docker-compose
GEMINI_API_KEY=AIza... docker-compose run forge auto "build a todo app"
Quickstart (3 steps)
forge setup # one-time wizard: API keys + LM Studio check
cd my-project/
forge auto "build a FastAPI todo app with SQLite and JWT auth"
Commands
| Command | Description |
|---|---|
forge setup |
One-time setup: Configure API keys and create environment files. |
forge init |
Initialize forge: index files into vector store and build dependency graph. |
forge run |
Run the forge coding agent on a goal. |
forge auto |
Autonomous end-to-end build mode. |
forge chat |
Interactive REPL: chat with the coding agent. |
forge status |
Show current project status and metrics. |
forge summarise |
Create a checkpoint summary of recent changes. |
forge rollback |
Rollback files to their .forge_backup versions. |
Requirements
- Python 3.10+
- LM Studio (free): https://lmstudio.ai — runs Qwen3.5-9B locally
- Gemini API key (free): https://aistudio.google.com
Architecture
Forge leverages a "Master Brain" (Gemini) for high-level project planning and a "Local Worker" (LM Studio / Qwen3.5) for fast, iterative code execution. It uses FAISS for vector search and NetworkX to map your project's dependency graph.
Contributing / Development setup
git clone https://github.com/Tushaarxr/forge.git
cd forge
pip install -e ".[dev]"
pytest tests/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forge_coder-0.2.2.tar.gz.
File metadata
- Download URL: forge_coder-0.2.2.tar.gz
- Upload date:
- Size: 63.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72e5b7529d23a50fa20cdf929a1dba285bdc1ab57863a8f9d8c5552306584e41
|
|
| MD5 |
4bd017d57b4b9d3c16cbcd894a6ed32f
|
|
| BLAKE2b-256 |
c505483707a29f616393f92fa2ce4d55aa0dfe03763eda394e450392cbc70be0
|
File details
Details for the file forge_coder-0.2.2-py3-none-any.whl.
File metadata
- Download URL: forge_coder-0.2.2-py3-none-any.whl
- Upload date:
- Size: 58.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b62d8a13fdf9d4a7c45955e23910ac248213bd9438f7f44fdf2cc830fdd69527
|
|
| MD5 |
7a7ce14f567493b2b5559dbd22bf3e04
|
|
| BLAKE2b-256 |
b2019228a825a0fa4562db48a1e25d96eb95cb7182a6c41736aaf6e24bab9243
|