# Auto Company

> A self-hosted "AI company" that loops Claude Code or Codex CLI through a 14-role expert team to research, decide and build products on your own machine

- Category: Agents & Automation / Multi-Agent Systems
- Language: Python
- Licence: MIT
- Repository: https://github.com/MaxMiksa/Autonomous-Company
- Canonical page: https://ai-tldr.dev/tools/auto-company/
- Updated: 2026-09-27

## In short

Auto Company is an experimental framework for running an "AI company" continuously on your own computer. It sits in the Multi-Agent Systems category of the Agents & Automation tools and is open-source, written in Python and licensed MIT. To get started: clone and run in the foreground (macOS / WSL).

## Overview

Auto Company is an experimental framework for running an "AI company" continuously on your own computer. You start a loop, and each cycle is an independent call to a coding-agent CLI — Claude Code by default, or Codex CLI. The cycle reads a per-cycle prompt and a shared work summary in memories/consensus.md, decides what to do, forms a team of agent roles as needed, carries out research, coding and (when authorised) deployment, updates the summary and sleeps before the next cycle. Within the goals, permissions and budgets you configure, the team can research products, make decisions and write code on its own.

The team is defined as 14 agent roles, each drawing on a named expert's way of thinking: a CEO modelled on Jeff Bezos, a CTO on Werner Vogels, an inversion critic on Charlie Munger, full-stack engineering on DHH, marketing on Seth Godin and so on, plus more than 30 reusable skills such as deep research, scraping, financial modelling, SEO and security audits. The team skill suggests picking 2–5 relevant roles per task; the README is explicit that actual sub-agent creation depends on the model and engine, and that the suggested brainstorm → validate → build progression is prompt guidance rather than an enforced state machine.

Around the loop sit the operational pieces: a launchd (macOS) or systemd --user (WSL) daemon with crash restart, circuit breakers, rate-limit backoff and consensus rollback after failed cycles, a local web dashboard that journals every cycle's reports, checks, documents, product screenshots, usage and logs, and a Product Center that catalogues several connected product runs and runs work requests from one ordered queue. The project calls itself experimental: each cycle spends model quota, and the default engine settings allow broad local actions without approval prompts — the rules in CLAUDE.md are prompt rules, not an operating-system sandbox.

## What it does

- Continuous auto-loop that calls Claude Code (default) or Codex CLI once per cycle, with optional Cursor and OpenAI-compatible adapters behind explicit configuration
- 14 expert-persona agent roles across strategy, product, engineering, business and research, plus 30+ reusable skills
- Shared memory in memories/consensus.md that you steer by editing "Next Action" or "Human Overrides" between runs
- Resilience: circuit breaker on consecutive errors, automatic sleep on rate limits, consensus recovery after a failed cycle, and a launchd / systemd --user daemon with crash restart
- Local web dashboard with a per-cycle work journal, product screenshots, runtime details, usage, budgets and logs
- Product Center at 127.0.0.1:8810/center: a catalog of connected product runs, read-only import of existing runs, and one ordered work queue
- Runs on macOS and on Windows through WSL2, with PowerShell scripts as the Windows control layer

## Getting started

You need macOS or Windows 10/11 with WSL2 (Ubuntu), Claude Code or Codex CLI installed and authenticated, Python 3.10+, Git, make, and available model quota. The README suggests starting in the foreground before moving to daemon mode.

1. Clone and run in the foreground (macOS / WSL)

   make start runs the loop with Claude Code and live output; prefix ENGINE=codex to use Codex CLI instead.

```bash
git clone https://github.com/MaxMiksa/Auto-Company.git
cd Auto-Company

make start
# or
ENGINE=codex make start
```

2. Move to daemon mode

   make install installs and starts the launchd (macOS) or systemd --user (WSL) daemon. In daemon mode use make pause and make resume — make stop alone can trigger an automatic restart.

```bash
make install
make status
make monitor
make pause
make resume
```

3. Start from Windows PowerShell

   The PowerShell entry drives the WSL execution core and installs the daemon automatically.

```powershell
.\scripts\windows\start-win.ps1
.\scripts\windows\start-win.ps1 -Engine codex
.\scripts\windows\status-win.ps1
.\scripts\windows\stop-win.ps1
```

4. Open the dashboard and Product Center

   make dashboard opens the local status dashboard; make center starts the Product Center at http://127.0.0.1:8810/center.

```bash
make dashboard
make center
```

5. Tune the loop

   Environment variables override the engine, model, permission mode, cycle interval, cycle timeout and circuit-breaker threshold. If Claude stalls waiting for permission, the README's fix is bypassPermissions — which lets it act without prompts, so review CLAUDE.md first.

```bash
MODEL=sonnet make start
LOOP_INTERVAL=60 make start
CYCLE_TIMEOUT_SECONDS=3600 make start
MAX_CONSECUTIVE_ERRORS=3 make start
CLAUDE_PERMISSION_MODE=bypassPermissions make start
```

## When to use it

- Let an agent team brainstorm, validate (GO / NO-GO) and build small web products overnight, then review what landed in projects/ and docs/
- Keep a Claude Code or Codex CLI session working unattended across many cycles, with rate-limit backoff and crash restarts handled for you
- Track several autonomous product runs side by side in the Product Center, with per-product journals, usage and logs
- Experiment with expert-persona role prompting and multi-role workflows on top of an existing coding-agent CLI

## Version history

- 2026-09-27 v2.0.0: Added the Product Center: search and switch connected local products, import existing runs read-only, and run new explorations and continuations from a persistent single-slot work queue, with preserved journals, usage and artifacts.
