Documentation
Aceternal docs
Install it, hire a team, run a mission. Everything below runs on your own computer.
Overview
Aceternal is a multi-agent software team that works in your project, shown as a live 3D office. Ace leads; the other agents take tasks, hand work to each other and ask you before running anything outside the safe list.
Every agent is its own Claude Code session, powered by your Claude subscription or by a free local model through Ollama. Each one works on its own git branch, and approved work is merged into main.
Requirements
| Tool | Version | Needed for |
|---|---|---|
| Python | 3.11+ | Backend |
| Node.js | 20+ | Frontend |
| Git | any recent | Projects and agent branches |
| Claude Code CLI | recent | Running agents, with either engine |
| Ollama | 0.14.0+ | Only for local models |
You do not need a Claude subscription to use local models, but you do need the Claude Code CLI installed.
Install
Clone the repository, copy the settings file, then start the backend and the frontend in two terminals.
Clone
> git clone https://github.com/GeetEditz/aceternal.git> cd aceternal> copy .env.example .env
Backendterminal 1
> cd backend> python -m venv .venv> .venv\Scripts\Activate.ps1> pip install -e ".[dev]"> uvicorn app.main:app --reload --port 8000
Frontendterminal 2
> cd frontend> npm install> npm run dev
Open the office
Go to localhost:5173. If PowerShell blocks the activate script, run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once.
Your first mission
- Choose an engine (Claude Code or Ollama) and pass the setup checks.
- Create a new project, or open an existing folder.
- Hire Ace, then a few teammates such as a Developer, Tester and Reviewer.
- Click New mission, write the goal, pick a process and start.
- Answer approval requests as they appear.
You can paste screenshots and mockups into the mission brief and into messages to any agent.
Single-server mode
To serve the app from the backend alone, build the frontend once:
$ cd frontend && npm run build$ cd ../backend && uvicorn app.main:app --port 8000
Then open http://localhost:8000.
Engines
Claude Code (default)
Uses your logged-in Claude subscription. Set ACETERNAL_ENGINE=claude and choose the model with CLAUDE_MODEL.
Ollama (free, local)
Set the context window to at least 16k before starting Ollama. At the default size the tool definitions are cut off and agents cannot create or edit files.
# set for the Ollama server, then restart Ollama$ OLLAMA_CONTEXT_LENGTH=16384$ ollama pull qwen3:8b
Expect local agents to be much slower than Claude: one simple qwen3:8b turn took about 2.5 minutes on a laptop with 16 GB RAM and a 6 GB GPU. A model listing tool support does not guarantee it works as an agent. Ollama models are rated against your hardware, with memory protection, and teams can mix both engines. Full measurements are in the local model findings.
How a mission works
Roles
| Agent | Job |
|---|---|
| Ace (lead) | Turns the goal into small tasks with owners and dependencies, and keeps everyone unblocked. |
| Analyst | Writes the requirements and acceptance criteria (REQUIREMENTS.md) before anyone builds. |
| Architect | Designs the files, modules and interfaces (DESIGN.md), and keeps them simple. |
| Developer | Implements tasks in small, clean steps and tells the Tester when something is ready. |
| Tester | Writes and runs tests for each finished task, and reports bugs with exact steps. |
| Reviewer | Reviews finished work and approves the mission only when every task is really done. |
Processes
| Process | What happens |
|---|---|
| Free | No fixed phases: Ace plans and the team takes tasks as they are ready. Runs in the Open Studio. |
| Agile | Work happens in sprints with stand-ups. Runs in the Open Studio, with a sprint clock. |
| Waterfall | Phases run one after another. Each phase gets its own floor of the Tower, and work passes down from one to the next. |
Branches and merging
Each agent gets a git branch. When work is approved it is merged into main; if it conflicts, it goes back to its author. The Code view shows a read-only file tree and diffs for every branch.
Board, approvals and the circuit breaker
Agents move their own cards on the task board, and you can drag cards or add your own. Commands outside the safe list wait for Approve, Deny or Always allow for this project. A looping agent is steered, then paused, then stopped. When an agent starts a dev server, you can open its preview from the office.
Safety
- Claude Code runs with
--restricted, which confines its file tools to the project folder. - Tests, linters, builds, listing files and local git commands such as
status,diff,addandcommitrun without asking. - Other commands wait for your answer.
- A deny list always refuses dangerous patterns such as disk formatting, force-push and access to
~/.ssh.
This is not a sandbox. Commands run directly on your machine, and tests and build scripts execute project code without asking. The deny list is pattern matching and cannot catch everything. Use projects under version control, and do not expose the backend to a network.
The exact policy is in backend/app/build/safety.py.
Configuration
Settings live in .env at the repository root; .env.example documents every option. The common ones:
| Setting | Default | Meaning |
|---|---|---|
| ACETERNAL_ENGINE | claude | claude or ollama |
| CLAUDE_MODEL | sonnet | Model used by Claude agents |
| OLLAMA_URL | http://localhost:11434 | Ollama server |
| OLLAMA_MODEL | qwen3-coder | Model used by Ollama agents |
| PROJECTS_DIR | ~/AceternalProjects | Where new projects are created |
| MAX_CONCURRENT_AGENTS | 3 | Agents working at the same time |
| MISSION_TURN_BUDGET | 60 | Total agent turns per mission |
| AGENT_TURN_CAP | 20 | Turns per agent per mission |
| APPROVAL_TIMEOUT_S | 900 | Seconds a request waits before it counts as denied |
| API_URL | http://127.0.0.1:8000 | Where agents reach the backend |
| DEV_MODE | true | Enables /api/dev/*; set false for demos |
If port 8000 is taken, start the backend on another port, set API_URL in .env to match, and set ACETERNAL_API_PORT in the frontend terminal before npm run dev.
Fake runs, Race and Replay
These play scripted or recorded events and make no LLM calls, which is useful for demos and frontend work.
| Endpoint | What it does |
|---|---|
| POST /api/fake/runs {mode, speed, seed?, task?} | Plays a scripted waterfall or agile run |
| POST /api/fake/race {speed, seed?, task?} | Plays both on the same task at once |
| POST /api/runs/{id}/replay {speed} | Replays a finished run from the database |
speed is a multiplier above 0 and up to 20. Open a run at /runs/{id} or a race at /race/{race_id}.
Architecture
The React and Three.js frontend talks to a FastAPI backend over REST and receives every event over a WebSocket. Each event is validated, stored in SQLite and pushed to the browser, and the 3D office is driven by those events. The backend launches one Claude Code session per agent; agents reach each other through a team MCP server.
backend/ app/ main.py REST and WebSocket entry point claude_runner.py the only place that launches the Claude Code CLI build/ missions, tasks, team, git, safety, previews setup/ first-run engine checksfrontend/ src/ office/ 3D scenes and characters panels/ live feed, task board, code view, HUD pages/ routes and setup screens
Stack: FastAPI, Pydantic, SQLModel, SQLite · React 18, TypeScript, Vite, React Three Fiber, Tailwind CSS, Zustand.
Development
# backend (in backend/, with the virtual environment active)$ pytest# frontend (in frontend/)$ npm test$ npm run typecheck
The database schema still changes during development. If the backend fails to start after an update, delete backend/aceternal.db; it is recreated automatically. This erases saved run history, agents and missions.
Troubleshooting
- PowerShell refuses to run the activate script
- Run
Set-ExecutionPolicy -Scope CurrentUser RemoteSignedonce, then activate again. - Port 8000 is already in use
- Use another port, set
API_URLto match, and setACETERNAL_API_PORTfor the frontend. - Local agents cannot create or edit files
- Ollama's context window is too small. Set
OLLAMA_CONTEXT_LENGTH=16384and restart Ollama. - The backend fails to start after an update
- Delete
backend/aceternal.dbto recreate the database (this erases history).