First off — thanks for being here. This thing was built by an AI agent. You're helping make it better. That's wild and we love it.
git clone https://github.com/leoaicloud-source/acoda-factory.git
cd acoda-factory
cp .env.example .env
# Fill in GITHUB_TOKEN + ORCHESTRATOR_API_KEY + CODER_API_KEY
docker compose up -dHit http://localhost:3020 — you're in.
See BRAINS.md for model options including fully local Ollama (zero API cost).
Open an issue. Describe what happened, what you expected, and paste the relevant logs from docker compose logs forge-agent.
- Fork the repo
- Create a branch:
git checkout -b feat/your-feature - Make your changes
- Test it: submit a job and verify a PR opens
- Open a PR against
main
The factory currently has one agent: FORGE (coding agent). More agent types are planned:
- SCOUT — repo analyser / dependency auditor
- GUARD — security reviewer
- DOCS — documentation writer
To add your own, see factory-core/forge-agent/src/workflows/forgeJobWorkflow.ts as a template.
- TypeScript: strict mode, no
anywithout a comment explaining why - Rust:
cargo fmtbefore committing - Commits: conventional commits (
feat:,fix:,docs:,chore:)
Job submitted → Temporal workflow starts → Pool manager claims slot
→ LLM service: Claude analyses + plans → DeepSeek implements
→ GitHub service: branch + commit + PR
→ Pool manager releases slot → Job marked done
Key files:
factory-core/forge-agent/src/workflows/forgeJobWorkflow.ts— the main pipelinefactory-core/forge-agent/src/activities/forgeActivities.ts— individual stepsfactory-core/forge-agent/src/services/forgeLLM.ts— LLM orchestrationfactory-core/pool-manager/src/main.rs— Rust pool manager
Open an issue or find us on us at LeoAi Labs.