Autonomous-Company

MaxMiksaMIT活跃维护

在本地电脑上跑一家 7×24 小时运转的「自主公司」,用多智能体加工作流自动完成开发与运营任务,支持 Windows、Linux、macOS 自托管。

An autonomous company working 24/7 on your own PC - Windows/Linux/macOS.

v3.0.0发布于 2026-10-13 14:50 UTC3,195star +4 / 7 天504fork同步于 2026-11-10 17:43 UTC

怎么上手

由 README 提炼,执行前请确认
make center
# 然后打开 http://127.0.0.1:8810/center
硬件要求按 README 说明

README 未说明显存或 GPU 要求;运行在 macOS 与 Windows/WSL 上,依赖 Claude Code 或 Codex CLI 等模型服务。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

在你的电脑上跑一个 24/7 自主运转的 AI 公司框架,由多个 AI 角色自动研究、决策和写代码

在本地电脑上跑一家 7×24 小时运转的「自主公司」,用多智能体加工作流自动完成开发与运营任务,支持 Windows、Linux、macOS 自托管。

核心能力

  • 内置 14 个 AI 角色定义,按专家方法分工协作
  • 用 daemon 加 auto-loop.sh 循环读取共识摘要并持续执行
  • 每轮独立调用 Claude Code 或 Codex CLI 完成研究、编码、部署
  • 提供本地 Dashboard 与 Product Center 管理多个产品运行
  • 支持并行跑最多四个项目,可调上限或设为无限

容易踩的坑

旧版 Auto-Company 安装需先按 v3 迁移指南改名迁移;Cursor 和 OpenAI 兼容适配器需显式配置才能用;Product Center 默认监听 127.0.0.1:8810。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v3.0.0
  1. v3.0.0Autonomous Company v3.0.0最新正式版2026-10-13 · 2026-10-13 14:50 UTC

    Autonomous Company v3.0.0

    Auto-Company is now Autonomous Company (自主公司). This major version consistently renames the product, repository, packages, configuration/state namespaces, environment variables, service registrations and internal preview/media protocols. The selected Logo and layout remain unchanged.

    Existing installations must complete the one-time migration before starting v3. Old data is detected before a new center can be created. The migration preserves configuration values, product/center identities, original records and human constraints, leaves queues paused and services disabled, and includes conflict checks, interruption recovery and rollback. Old configuration fingerprints are preserved, so outstanding requests require a deliberate context review.

    Historical releases, reports, logs, screenshots, generated examples and third-party repository names preserve their original facts. Backups remain private recovery material. Repository links now use MaxMiksa/Autonomous-Company; GitHub redirects the original repository URL.

    This release also fixes an existing standalone Dashboard PNG response so the selected Logo actually loads. No real model calls or automatic production migration occur when publishing or upgrading source code.

    Validation includes TypeScript/build, frontend/date semantics, Chromium center/work-journal interactions, native Windows migration/locking/configuration, native Windows/WSL bridging, Linux isolation/governance and migration recovery. CI results and platform-specific skips are recorded on PR #49. macOS configuration/launchd checks are separate from complete physical Mac Product Center acceptance.


    自主公司 v3.0.0

    项目由 Auto-Company 正式更名为 Autonomous Company(自主公司)。本次重大版本统一界面、仓库、包名、配置与状态目录、环境变量、服务及内部预览/媒体协议;沿用已选 Logo 和现有布局。

    已有安装请先完成一次性迁移,再启动新版本。 旧数据存在时不会静默建立空中心。迁移保留配置值、身份、原始记录与人工约束,队列保持暂停、服务保持禁用,支持冲突检查、中断恢复和回退。未完成请求的旧配置指纹保留,需要人工核对后再继续。

    历史发布、日志、报告、截图、真实产品及第三方仓库保留原文;备份仅供恢复,不发布私有文件。GitHub 新地址为 MaxMiksa/Autonomous-Company,原地址保留重定向。

    同时小范围修复单页 Dashboard 的 PNG 响应,使已选 Logo 正常显示。发布和源码升级不会调用真实模型、自动迁移生产或恢复队列。macOS 配置与 launchd 检查不等于完整物理 Mac 产品中心验收。

  2. v2.2.0v2.2.0 — Dashboard refinement / Dashboard 界面改进2026-10-13 · 2026-10-13 13:14 UTC
    查看更新说明

    v2.2.0 – Dashboard 界面改进 (2026-10-13)

    • 优化连续工作记录、轮次排列、报告展开及产品诊断信息。
    • 页面切换保留工作区状态,实时刷新更稳定;长列表延后计算屏幕外内容布局。
    • 统一弹窗、抽屉、标签页与页面切换动效,支持中途反向操作及减少动态效果偏好,随包保留依赖许可证。
    • 应用已选 Logo、统一共享样式,改善手机顶栏、状态行及触控范围。
    • 自带构建后的 Dashboard 资源,运行服务无需安装 Node.js。

    本版仅包含 UI 开发线,不包含另一条 Dashboard 操作流程修复分支及三项独立运行逻辑/CI 修复。不会自动更新本机安装;完整 macOS 产品中心执行仍未通过物理 Mac 验收。

    v2.2.0 – Dashboard refinement (2026-10-13)

    • Refine continuous work journals, cycle rows, report disclosures and product diagnostics.
    • Preserve workspace state during navigation and stabilize live refreshes; defer offscreen layout for long product lists.
    • Add interruptible motion for dialogs, drawers, tabs and page transitions, with reduced-motion support and bundled dependency licenses.
    • Apply the selected brand logo, align shared visual styles, and improve mobile headers, status layout and touch targets.
    • Ship rebuilt Dashboard assets; Node.js is not required to serve the release.

    This release contains the UI development line only. The separate Dashboard workflow repair branch and the three independent runtime/CI fixes are not included. Existing local installations are not automatically updated. Full native macOS Product Center execution has not been validated on a physical Mac.

    Product Center / 产品中心升级指南

  3. v2.1.0v2.1.0 - Parallel Work & Product Center2026-10-03 · 2026-10-03 14:01 UTC
    查看更新说明

    v2.1.0 – Parallel Work & Product Center / 并行工作与产品中心 (2026-10-03)

    ✨ 同时推进多个产品,更清楚地查看每一轮工作

    批量安排不同配置的项目,在统一产品中心查看独立运行、真实报告与成果。

    类别详细内容
    多项目并行默认同时运行4个项目,可调整并发数量或选择不限。每个项目保留独立配置、运行位置和停止操作;调低并发不会中断已运行项目。
    批量创建与模板按引擎、模型、思考强度、语言和数量分组创建工作,方向可留空。常用配置可保存为模板;已提交请求保留当时配置,后续修改不会追溯影响。
    产品中心更新统一常用控件、键盘与窄屏操作;搜索按需展开、筛选共享背景,支持示例展示选择和整行进入产品。合并只读状态查询,减少列表加载等待。
    连续工作记录探索与产品工作保持连续编号;最新与历史轮次使用统一报告布局。成果、用量和日志分层呈现,日期与数字徽标更加紧凑。
    项目隔离新运行将项目写入、工具和预览限制在对应边界;同目录拒绝重复所有权。单项目治理或预算阻断保留保护,旧副本不自动迁移。
    产品界面与双语展示已合并的产品精修流程、公开示例及中英文实拍一并进入本版本;原始报告、失败结论与历史身份继续保留。
    升级说明保留中心数据目录、原运行目录和已有配置。重启后先核对状态再恢复队列;发布自带前端资源,运行Dashboard无需前端构建。完整macOS产品中心执行尚未完成实机验收。

    产品中心与升级指南

    ✨ Run multiple projects and follow each cycle clearly

    Create batches with distinct configurations, then follow independent execution, recorded reports and artifacts in one Product Center.

    CategoryDetails
    Parallel projectsRun four projects concurrently by default, change the limit or choose unlimited. Each project keeps its own configuration, slot and Stop action; lowering the limit does not interrupt active work.
    Batch creation and templatesGroup work by engine, model, reasoning effort, language and count, with an optional direction. Save reusable templates; submitted requests retain their original configuration when templates change.
    Updated Product CenterConsistent controls support keyboard and narrow screens. Search expands when needed, filters share one control group, previews have display choices, and product rows open their details. Batched read-only observations reduce catalog waiting.
    Continuous work recordsExploration and product cycles retain one sequence. Current and historical reports share a reading layout, with separate artifacts, usage and logs and clearer date and count formatting.
    Project isolationNew runs constrain project writes, tools and previews to their owned boundaries and reject duplicate ownership of a directory. Project-specific governance and budget blocks remain protected; older copies are not migrated automatically.
    Product refinement and bilingual showcasesPreviously merged refinement guidance, public examples and English/Chinese captures are included. Original reports, unsuccessful conclusions and historical identities remain intact.
    UpgradingPreserve the center data directory, original runtime directories and saved configuration. Review recovered state before resuming dispatch. Built frontend assets ship with the release. Full Product Center execution on a real Mac has not yet been verified.

    Product Center and upgrade guide

  4. v2.0.0v2.0.0 - Product Center2026-09-27 · 2026-09-27 13:56 UTC
    查看更新说明

    v2.0.0 – Product Center / 多产品管理中心 (2026-09-27)

    ✨ 在一个界面中管理多个本地产品

    集中查看已接入的产品、安排工作,并沿着完整轮次记录追踪进展。

    类别详细内容
    产品中心搜索、筛选和切换已接入的本地产品,分别查看工作记录、用量、日志与成果。查看产品不会启动模型。
    已有项目接入完整运行档案先以只读方式接入;来源明确且兼容时可以主动接管。只有源码的目录可作为参考,不会被当成可继续运行的产品。
    工作队列新探索与产品续跑采用持久队列,在一个受管执行位置顺序运行。一次请求占用完整持续循环及清理过程,不在每轮结束时自动切换产品。
    停止与保护暂停、全部停止会撤销尚未执行的旧启动授权;运行中遇到原 P1 保护时暂停后续派发。准备失败、待核对状态和停止结果保留可见,重启不自动重放不确定的工作。
    完整工作记录保留产品连续轮次及独立的立项前探索记录,较早轮次可按需读取完整详情。用量按产品和时间范围汇总,缺失或部分记录明确呈现。
    成果与交互文档、检查和截图按来源身份关联;受支持的产品可明确启动预览或重试截图,预览在独立本地地址打开。刷新后保留菜单和队列操作的键盘焦点。
    升级与使用从更新后的框架目录启动产品中心;旧运行副本不会自动升级或接管。Windows 执行任务需要明确配置 WSL 发行版、用户及已有模型环境,截图依赖仍需事先安装。

    ✨ Manage local products in one place

    Browse connected products, arrange work, and follow progress through their complete cycle history.

    CategoryDetails
    Product centerSearch, filter and switch connected local products, with separate journals, usage, logs and artifacts. Viewing a product never starts a model.
    Existing projectsComplete run archives enter as read-only sources. Explicit takeover is available when ownership and compatibility are established. Source-only directories can be references, not resumable product contexts.
    Work queueNew explorations and product continuations use a persistent queue with one managed execution slot. Each request owns its full continuous loop and cleanup; the queue does not switch products at every cycle boundary.
    Stop and protectionPause and Stop all revoke earlier unlaunched start authorizations. An observed original P1 block pauses subsequent dispatch. Preparation failures, attention states and stop results remain visible, and restart does not replay uncertain work automatically.
    Complete journalsContinuous product rounds remain separate from pre-product exploration. Older rounds load retained details on demand. Usage covers the selected product and period, with missing or partial records kept explicit.
    Artifacts and interactionDocuments, checks and screenshots retain source identity. Supported products offer explicit preview and capture actions, with previews on a separate local origin. Refresh preserves keyboard focus in product menus and queue actions.
    Upgrade and setupStart the center from the updated framework checkout; older runtime copies are not upgraded or taken over automatically. Windows execution requires an explicitly configured WSL distribution, user and existing model environment. Capture dependencies must already be installed.
  5. v1.6.1v1.6.1 – Governance & Runtime Reliability2026-09-23 · 2026-09-23 05:00 UTC
    查看更新说明

    v1.6.1 – Governance & Runtime Reliability / 治理与运行可靠性修复 (2026-09-23)

    ✨ 保留人工决策,修复项目与运行边界

    本次更新加强 P1 问题保护,并修复项目登记、历史归属、macOS 暂停和本地预览中的可靠性问题。

    类别详细内容
    P1 问题保护模型须保留运行前已有 P1 条目及说明,可以上报新的未解决问题,不能新增已勾选条目。违规时尝试保存原稿供审查,恢复共识并暂停;日志或存档失败不再阻断恢复。
    项目登记并发创建和失败清理共用操作锁,失败仅撤回自己的登记,避免覆盖其他成功操作。
    历史与成果归属按稳定产品身份关联历史和成果,支持明确的目录迁移;同一路径上的新产品不会继承旧产品成果,缺少可靠证据的旧记录保持未关联。
    macOS 暂停暂停前核验服务归属,查询或卸载失败明确返回,避免误停其他安装或错误报告成功。
    本地静态预览限制隐藏、凭据、非网页资源及越界访问,校验请求来源,并为探活和停止接口验证控制令牌。
    双语说明README、人工问题处理步骤和看板暂停提示与实际行为一致,保留原有真实产品展示。
    操作与边界人工编辑共识前应停止运行并完成待处理的中断恢复。周期前后比较不能追回检查间新增后彻底删除的内容;共识恢复不撤销产品文件或外部操作,也不提供完整执行沙箱或实时预算硬停。

    ✨ Preserve human decisions and repair runtime boundaries

    This update strengthens P1 issue protection and fixes project registration, history ownership, macOS pause and local preview reliability.

    CategoryDetails
    P1 issue protectionAgents must preserve pre-cycle P1 entries and descriptions. They can report new unresolved blockers but cannot introduce checked-off ones. Violations attempt to retain the rejected draft, restore consensus and pause; logging or archival failures do not block recovery.
    Project registrationConcurrent operations and failure cleanup share an operation lock. A failed operation removes only its own registration rather than overwriting another successful update.
    History and artifact ownershipStable product identity connects history and artifacts across explicit relocation. A new product at the same path does not inherit its predecessor's artifacts; legacy records without reliable evidence remain unassociated.
    macOS pauseService ownership is checked before pause, and query or unload failures are reported instead of stopping another installation or claiming success.
    Local static previewsHidden, credential, non-web and out-of-root resources are restricted. Requests validate their origin, and health/stop controls require the control token.
    Bilingual guidanceREADME claims, human issue-handling instructions and Dashboard pause labels match the supported behavior, with the existing real-product gallery preserved.
    Operation and limitsStop the loop and complete pending interrupted-cycle recovery before editing consensus. Boundary comparisons cannot recover content introduced and completely removed between checks. Consensus restoration does not undo product files or external actions, and this release adds no complete execution sandbox or live budget cutoff.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Autonomous Company

    Autonomous Company was formerly Auto-Company. For existing installations, follow the one-time v3 migration guide before starting.

    An AI company framework for continuous autonomous work

    Powered by Agentic Workflows, this project provides 14 AI agent role definitions, each drawing on an expert's approach to its domain. The team can research products, make decisions, and write code autonomously within human-configured goals, permissions, and budgets. Deployment, publication, and marketing depend on the tools and authorization available; continuous operation depends on services and model availability.

    Powered by Claude Code (default) and Codex CLI on macOS + Windows/WSL, with a local dashboard on both hosts.

    Optional Cursor and OpenAI-compatible adapters require explicit configuration. See the adapter guide for their capabilities and limits.

    macOS Windows WSL Codex CLI Claude Code License: MIT

    v2.2.0: A refined Dashboard with continuous work journals, smoother navigation and improved mobile layouts.


    🎬 Dashboard and Product Preview

    ScopeFence · work timeline

    Interface demo using recorded work; unavailable runtime fields use sample values. Click an image to view it at full size. Capture sources and reproduction.

    ✨ What Is This?

    You start a loop. Each cycle reads the shared work summary, decides what to do, forms a team as needed, executes, updates the summary, and waits before the next cycle. Team creation depends on the model and engine capabilities; errors, budget limits, or a pause request can stop continuation.

    daemon (launchd / systemd --user, auto-restart on crash)
      └── scripts/core/auto-loop.sh (continuous loop)
            ├── reads PROMPT.md + consensus.md
            ├── LLM CLI call (Codex CLI / Claude Code)
            │   ├── reads CLAUDE.md (charter + guardrails)
            │   ├── reads .claude/skills/team/SKILL.md (teaming method)
            │   ├── forms an Agent Team as needed
            │   ├── executes: research, coding, deploy, marketing
            │   └── updates memories/consensus.md (work summary)
            ├── failure handling: rate-limit wait / circuit breaker / consensus rollback
            └── sleep -> next cycle
    

    Each cycle is an independent CLI call. memories/consensus.md is the main work summary loaded for the next cycle. Product files, repositories, configuration, identity records, logs, and usage data also persist across cycles.

    🗂️ Product Center

    The local Product Center brings explicitly connected product runs into one catalog. Switching products changes only what you are viewing; importing an existing run starts as read-only and never starts a model by itself.

    CapabilityWhat it does
    Product catalogSearch and open connected products while keeping each product's identity, history, usage and recorded outcomes separate.
    Safe importConnect an existing run or source for read-only review first; incompatible or incomplete sources stay unavailable for execution.
    Explicit work requestsContinue a product or prepare a new exploration only after you submit a request. Viewing and refreshing do not create work.
    Parallel workRun up to four projects at once by default; adjust the limit or choose unlimited. Each project retains its place until its continuous loop and cleanup finish.
    Batch creation and templatesCreate groups with different models, reasoning levels and project counts. Save configurations as templates; queued work keeps the choices made when submitted.
    Faster browsingA compact catalog, preview choices and consistent work reports make products easier to find and follow. Open a product from its row, with keyboard support throughout.
    Visible recoveryPreparation, failures, protective pauses and uncertain states remain visible after reload so you can review them before retrying or resuming the queue.

    Start it from the repository, then open http://127.0.0.1:8810/center:

    # macOS / WSL
    make center
    
    # Windows PowerShell
    .\scripts\windows\center-win.ps1
    

    See the Product Center guide for source registration, execution-domain setup, queue controls and recovery behavior.

    🧩 Generated Applications

    The example catalog contains 22 independently runnable public examples, including 14 newly completed products and selected historical work. Each entry provides startup instructions, limitations and provenance; new local runs continue to write into projects/.

    The examples cover professional data review, image delivery, shared meals, travel pacing and family creation. Published copies preserve the original product direction while refining components and repairing real interactions; original reports and unsuccessful conclusions are not rewritten for the showcase.

    Frontend work uses the B design baseline adapted from Anthropic, followed by a dedicated finishing pass once the core flow works. The pass preserves the product’s identity and improves components, copy and responsive behavior. The refinement study and redesign comparison retain their original evidence and limits.

    🚀 Where To Start (By Platform)

    🌐 Languages and Documentation

    The product center's Settings separates the interface language from the default language for new work. The interface choice controls the center, product-detail labels and local help pages. Its initial default follows your computer's display language: Chinese uses zh-CN; other languages use en. WSL uses the Windows display language when available.

    Choose the default product language separately in Settings and confirm it when creating new work. An existing product keeps its starting language across AI iterations, pauses and restarts; changing the interface or new-work defaults does not translate its records. The center stores these preferences independently. make language LANGUAGE=en and python scripts/core/localization.py set --language en configure lower-level standalone loops in their checkout; they do not change saved center preferences. See the language guide for these separate settings and product-cycle boundaries.

    All bundled skills are written in English; their user-facing work follows the product's language. Commands, identifiers, protocol headings and raw tool errors retain their original form. Customized source instructions, existing products, logs and consensus history are preserved; changing language does not translate them retroactively.

    GuideEnglish中文
    Repository indexIndex索引
    Windows + WSLSetup guide安装指南
    Company rulesCharter公司章程
    Engine adaptersAdapter guide引擎适配器
    Usage and budgetsGovernance guide用量与预算治理
    Operations and troubleshootingCommon tasks and errors常见操作与排错

    👥 Team Lineup (14 Roles)

    This is not "you are a generic developer". It is "you are DHH" style role prompting with real expert mental models.

    LayerRoleExpert PersonaCore Strength
    StrategyCEOJeff BezosPR/FAQ, flywheel thinking, Day 1 mindset
    CTOWerner VogelsDesign for failure, API-first architecture
    InversionCharlie MungerInversion, pre-mortems, misjudgment checklist
    ProductProduct DesignDon NormanAffordance, mental models, human-centered design
    UI DesignMatias DuarteTask-led layouts, typography and consistent components
    Interaction DesignAlan CooperGoal-directed design, persona-driven decisions
    EngineeringFull-StackDHHConvention over configuration, majestic monolith
    QAJames BachExploratory testing, testing is not checking
    DevOps/SREKelsey HightowerAutomation first, reliability discipline
    BusinessMarketingSeth GodinPurple cow, permission marketing, smallest viable audience
    OperationsPaul GrahamDo things that do not scale, ramen profitability
    SalesAaron RossPredictable revenue, funnel systems
    CFOPatrick CampbellValue-based pricing, unit economics
    IntelligenceResearch AnalystBen ThompsonAggregation theory, value chain analysis

    Plus 30+ reusable skills (deep research, scraping, financial modeling, SEO, security audit, UX audit, etc.).

    🍎 macOS Quick Start

    # Prerequisites:
    # - macOS
    # - Codex CLI or Claude Code installed and authenticated
    # - Python 3.10+ (python3), Git, and make available
    # - Available model quota
    
    # Clone
    git clone https://github.com/MaxMiksa/Autonomous-Company.git
    cd Autonomous-Company
    
    # Foreground run with Claude Code (default, live output)
    make start
    
    # Or foreground run with Codex CLI
    ENGINE=codex make start
    
    # Alternatively, install and start the daemon for your chosen engine
    make install
    # Codex instead of the default Claude:
    ENGINE=codex make install
    

    🪟 Windows (WSL) Quick Start

    # Prerequisites:
    # - Windows 10/11 + WSL2 (Ubuntu), with systemd --user available
    # - Codex CLI or Claude Code installed and authenticated inside WSL
    # - Python 3.10+ (python3), Git, and make available inside WSL
    # - Python 3.10+ (python) on Windows for the PowerShell dashboard entry
    # - Available model quota
    
    # Clone
    git clone https://github.com/MaxMiksa/Autonomous-Company.git
    cd Autonomous-Company
    
    # Start (daemon mode via PowerShell, default engine = claude)
    .\scripts\windows\start-win.ps1
    
    # Switch engine explicitly
    .\scripts\windows\start-win.ps1 -Engine codex
    
    # Status
    .\scripts\windows\status-win.ps1
    
    # Stop
    .\scripts\windows\stop-win.ps1
    

    For monitoring, dashboard, and autostart commands, see the Windows + WSL Setup Guide.

    ⌨️ Command Quick Reference (By Platform)

    TaskmacOS / WSL (Terminal)Windows (PowerShell)
    Startmake start.\scripts\windows\start-win.ps1
    Statusmake status.\scripts\windows\status-win.ps1
    Live logsmake monitor.\scripts\windows\monitor-win.ps1
    Last cycle outputmake last.\scripts\windows\last-win.ps1
    Cycle summarymake cycles.\scripts\windows\cycles-win.ps1
    StopForeground: make stop; daemon: make pause.\scripts\windows\stop-win.ps1
    Product center and details (http://127.0.0.1:8810/center)make dashboard.\scripts\windows\dashboard-win.ps1
    Product centermake center.\scripts\windows\center-win.ps1
    Install daemonmake installAuto-installed/started by start-win.ps1
    Uninstall daemonmake uninstallwsl -d Ubuntu --cd <repo_wsl_path> bash -lc 'make uninstall'
    Pause daemonmake pausewsl -d Ubuntu --cd <repo_wsl_path> bash -lc 'make pause'
    Resume daemonmake resumewsl -d Ubuntu --cd <repo_wsl_path> bash -lc 'make resume'

    In daemon mode, make stop alone can trigger an automatic restart. Use make pause to keep the daemon stopped, then make resume to continue.

    macOS Sleep Prevention (macOS Only)

    macOS screen lock usually does not kill processes, but system sleep can pause work. For long runs:

    make start-awake   # Start loop and keep system awake until loop exits
    
    # If loop is already running (after make start):
    make awake         # Attach caffeinate to PID in .auto-loop.pid
    

    Notes:

    • Both commands depend on built-in caffeinate
    • make awake exits automatically when target PID exits

    📚 More Info

    🏗️ Architecture & Technology Stack (5-Layer Architecture)

    Autonomous-Company is not a simple LLM API wrapper, but a highly decoupled Multi-Agent System (MAS). Its technical architecture is divided into 5 distinct layers:

    ┌────────────────────────────────────────────────────────────┐
    │ 5. Observability & HITL (Human-In-The-Loop) Layer          │
    │    [ Dashboard ]  [ File-based Steering (consensus.md) ]   │
    ├────────────────────────────────────────────────────────────┤
    │ 4. Workflow Routing & Teaming Layer                        │
    │    [ Role-based Teaming ]  [ Prompt Workflow Guidance ]   │
    ├────────────────────────────────────────────────────────────┤
    │ 3. Agentic Models & Cognition Layer                        │
    │    [ 14 Expert Personas ]  [ 30+ Skill Arsenal ]           │
    ├────────────────────────────────────────────────────────────┤
    │ 2. Orchestration & State Machine Layer                     │
    │    [ Auto-Loop ]  [ Persistent State ]  [ Resilience ]    │
    ├────────────────────────────────────────────────────────────┤
    │ 1. Execution Engine & Infrastructure Layer                 │
    │    [ Engine Adapters ]  [ Cross-Platform Daemon ]        │
    └────────────────────────────────────────────────────────────┘
    

    Layer 5: Observability & HITL (Human-In-The-Loop)

    • File-based Steering: After stopping the current run, edit Next Action in memories/consensus.md for the next task, or Human Overrides for continuing constraints, then start or resume. Editing during a cycle can conflict with the model's updates and recovery; it does not guarantee an immediate change of direction.
    • Logs & Dashboard: logs/ saves engine-emitted output after known credential redaction, together with per-cycle results and available usage records. Output detail depends on the engine; complete reasoning traces are not guaranteed. dashboard/ organizes current and historical cycle reports and results, alongside runtime controls, status, usage, budgets, and logs. It does not track individual agents' activity.

    Layer 4: Workflow Routing & Teaming

    • Role-based Teaming: The team skill recommends selecting 2-5 relevant roles from 14 definitions for the current task. Actual sub-agent creation and concurrency depend on the executing model and engine; these are not 14 permanent workers or a fixed-size scheduler.
    • Workflow Guidance: PROMPT.md asks the team to move from ideation to validation and then implementation. These are prompt instructions, not an enforced business state machine; the third engine cycle does not guarantee a completed or deployed product.

    Layer 3: Agentic Models & Cognition

    • Expert Personas Injection: Instead of generic prompts, it injects specific mental models of historical figures/industry leaders (e.g., Bezos's "Working Backwards", Munger's "Checklists", DHH's "Majestic Monolith") into .claude/agents/, giving decisions extreme business and engineering depth.
    • Skill Arsenal: A pluggable system located in .claude/skills/ (e.g., frontend-design, security-audit). Specific methodologies are encapsulated as tools that any awakened Agent can "temporarily load".
    • Behavioral Rules: CLAUDE.md instructs agents not to delete repositories or force-push, among other rules. The framework also checks specific runtime and configuration boundaries; prompt rules do not block arbitrary commands or provide an operating-system sandbox.

    Layer 2: Orchestration & State Machine

    • The Auto-Loop: scripts/core/auto-loop.sh schedules repeated CLI calls, waits, and failure handling. It can continue while services, model access, budgets, and runtime checks permit.
    • Consensus Memory: memories/consensus.md carries the natural-language work summary between calls. Structured product identity, usage, configuration, and recovery records are stored separately; the summary is not the entire runtime state.
    • Resilience & Recovery: Built-in circuit breakers (cooldown triggered by consecutive errors), rate-limit backoff (auto-sleep on 429 errors), and consensus recovery after failed cycles. Human Overrides, .autonomous-company.local, and the framework's root .gitignore have targeted protection. Product code changes and external side effects are not automatically rolled back.

    Layer 1: Execution Engine & Infrastructure

    • Engine Adapters: The main entrypoints use Claude Code (default) or Codex CLI. Optional Cursor and OpenAI-compatible adapters require explicit opt-in and configuration; their tools and team capabilities differ. See the adapter guide.
    • Cross-Platform Daemon: macOS uses launchd for auto-start and crash recovery; Windows/WSL runs via systemd --user inside a WSL container, controlled and kept alive externally via PowerShell.
    • Sandbox Boundary: Currently relies on underlying CLI configurations (like Codex's danger-full-access or Claude's bypassPermissions). System-level operations occur directly in the host environment (or WSL container).

    🔄 Operating Model

    Default Workflow Guidance

    The prompt recommends the following progression. These labels describe work stages, which may span multiple engine cycles; they are not a completion deadline or an enforced state machine.

    CycleAction
    Cycle 1Brainstorm: each agent proposes ideas, rank top 3
    Cycle 2Validate #1: Munger pre-mortem + Thompson market check + Campbell economics -> GO / NO-GO
    Cycle 3+GO -> create repo, build, and deploy when authorized. NO-GO -> move to the next idea. The prompt asks for implementation rather than discussion-only cycles

    Six Standard Workflows

    These are suggested role collaboration chains; the executing model selects the actual work and participants.

    #WorkflowCollaboration Chain
    1New Product EvaluationResearch -> CEO -> Munger -> Product -> CTO -> CFO
    2Feature DevelopmentInteraction -> UI -> Full-stack -> QA -> DevOps
    3Product LaunchQA -> DevOps -> Marketing -> Sales -> Ops -> CEO
    4Pricing and MonetizationResearch -> CFO -> Sales -> Munger -> CEO
    5Weekly ReviewOps -> Sales -> CFO -> QA -> CEO
    6Opportunity DiscoveryResearch -> CEO -> Munger -> CFO

    🧭 Steering

    To change direction, stop the foreground run with make stop, pause a macOS/WSL daemon with make pause, or use the Windows stop command below. Wait until the run has stopped before editing, then start or resume it.

    MethodAction
    Change directionAfter stopping, edit "Next Action" in memories/consensus.md; use "Human Overrides" for continuing constraints
    Pausemake pause (macOS/WSL daemon mode) or .\scripts\windows\stop-win.ps1 (Windows entry)
    Resumemake resume
    Review outputsCheck docs/*/ for artifacts generated by agents

    Agents may report unresolved P1 blockers, but must preserve existing P1 entries and cannot add checked-off ones. Resolve blockers only after stopping and completing pending recovery; see P1 issues and human edits.

    🛡️ Safety Guardrails

    CLAUDE.md gives agents the following behavioral rules. They complement specific framework checks, but are not a general command-denial mechanism or a guarantee that every agent action is blocked when it violates a rule:

    • Do not delete GitHub repos (gh repo delete)
    • Do not delete Cloudflare projects (wrangler delete)
    • Do not delete system directories (~/.ssh/, ~/.config/, etc.)
    • Do not perform illegal activity
    • Do not leak credentials into public repositories
    • Do not force push to main/master
    • Create all new projects under projects/

    ⚙️ Configuration

    Environment variable overrides:

    ENGINE=claude make start                   # Default engine; optional adapters: see adapter guide
    ENGINE=codex make start                    # Switch to codex
    MODEL=sonnet make start                    # Optional model override
    CLAUDE_PERMISSION_MODE=bypassPermissions make start  # Claude permission mode
    LOOP_INTERVAL=60 make start                # 60s interval (default 30)
    CYCLE_TIMEOUT_SECONDS=3600 make start      # 1h cycle timeout (default 1800)
    MAX_CONSECUTIVE_ERRORS=3 make start        # Circuit-breaker threshold (default 5)
    CODEX_SANDBOX_MODE=workspace-write make start  # Optional sandbox override
    CLAUDE_BIN=/usr/local/bin/claude make start     # Optional Claude binary override
    CODEX_BIN=/usr/local/bin/codex make start       # Optional Codex binary override
    

    Windows start-win.ps1 writes the same values into .auto-loop.env:

    .\scripts\windows\start-win.ps1 -Engine claude -ClaudePermissionMode bypassPermissions
    .\scripts\windows\start-win.ps1 -Engine codex -SandboxMode workspace-write
    # Backward compatibility:
    .\scripts\windows\start-win.ps1 -Engine codex -CodexSandboxMode workspace-write
    

    No automatic engine fallback is performed. If the selected engine is missing, startup fails fast.

    📁 Project Structure

    autonomous-company/
    ├── CLAUDE.md              # Company charter (mission + guardrails + team + workflows)
    ├── PROMPT.md              # Per-cycle execution prompt (convergence rules)
    ├── Makefile               # Common command entry
    ├── INDEX.md               # script index + responsibility table
    ├── dashboard/             # Local web status dashboard (macOS: make dashboard, Windows: dashboard-win.ps1)
    ├── scripts/
    │   ├── core/              # Core loop and control scripts (auto-loop/monitor/stop)
    │   ├── windows/           # Windows entry/guardian/autostart scripts
    │   ├── wsl/               # WSL systemd --user daemon scripts
    │   └── macos/             # macOS launchd daemon scripts
    ├── memories/
    │   └── consensus.md       # Shared handoff memory across cycles
    ├── docs/                  # Agent outputs (14 folders + Windows guide)
    ├── projects/              # Workspace for generated projects
    ├── logs/                  # Loop logs
    └── .claude/
        ├── agents/            # 14 agent definitions (expert personas)
        ├── skills/            # 30+ reusable skills
        └── settings.json      # Permissions + Agent Teams switch
    

    📦 Dependencies

    DependencyNotes
    Claude Code / Codex CLISupported CLI engines (default: Claude)
    Optional engine adaptersCursor and OpenAI-compatible; explicit opt-in required, see adapter guide
    macOS or Windows + WSL2 (Ubuntu)macOS uses launchd; Windows uses WSL execution core
    Python 3.10+Required: python3 on macOS/WSL; also python on Windows for the PowerShell dashboard and local language commands
    gitRepository checkout and product repository management
    nodeRuntime for npm-installed CLI tools
    makeStart/stop/monitor command entry (WSL/macOS)
    jqRecommended for log processing
    ghOptional, GitHub CLI
    wranglerOptional, Cloudflare CLI

    ❓ FAQ

    1) WSL .sh fails with ^M / bad interpreter

    • Cause: CRLF line endings in shell scripts
    • Fix:
      • Keep LF rules in .gitattributes
      • Run git config core.autocrlf false && git config core.eol lf

    2) WSL says codex/claude command not found

    • Cause: CLI installed on Windows only, missing in WSL
    • Fix: install node and your chosen CLI inside WSL (@openai/codex or Claude Code)

    3) Claude waits for permission and cycles appear blocked

    • Cause: strict permission mode in Claude CLI
    • Fix: set CLAUDE_PERMISSION_MODE=bypassPermissions (or pass -ClaudePermissionMode bypassPermissions in start-win.ps1)
    • Verify: check logs/auto-loop.log for Engine: claude and PermissionMode: ...

    4) make install fails inside WSL

    • Cause: no available systemctl --user in current session
    • Fix:
      • Verify WSL systemd is enabled
      • Run systemctl --user --version
      • Re-open WSL session and retry if needed

    ⚠️ Disclaimer

    This is an experimental project:

    • Daemon mode works on both macOS and WSL: launchd on macOS, systemd --user on WSL
    • Windows entry requires WSL: PowerShell is only the control layer
    • Still under test: runs, but stability is not guaranteed
    • Costs money: each cycle consumes model quota
    • Permissions matter: default engine settings allow broad local actions without routine approval prompts. Review engine permissions and CLAUDE.md; prompt rules alone do not provide isolation
    • No warranty: review docs/ and projects/ regularly

    Suggested rollout: start with make start (foreground), then move to daemon mode (make install on macOS/WSL, .\scripts\windows\start-win.ps1 on Windows).

    🙏 Acknowledgments

    Thanks to the contributors whose reports, fixes, and proposals have shaped Autonomous Company:

    ContributorContributionReference
    @JasonQWJEarly macOS Dashboard proposal and implementation that informed the v1.1.0 design#1
    @cnwillzmacOS Dashboard support proposal that informed the cross-platform implementation#2
    @chbndrhnnsReported the missing executable bit that prevented first startup#5
    @Sittichai9680Advanced Linux/WSL Dashboard support#9
    @allenterAdvanced cost monitoring, budget alerts, and executable script entrypoints#13, #14
    @maxgoffDocumented engines surviving Cycle timeouts and proposed full process-tree cleanupFork contribution
    @omergeigerInformed Human Overrides preservation and P1 issue gatesHuman Overrides, P1 issues
    @NicklasSandinAdvocated English documentation and an English-language workflow#21
    @mdoganexeReported and contributed fixes for systemd installation, WSL distribution selection, and locale-dependent configuration handling#27, #28

    📄 License

    The framework is distributed under the MIT License. Bundled third-party components retain their own license terms and notices.

    🤝 Contribution & Contact

    Welcome to submit Issues and Pull Requests! Any questions or suggestions? Please contact Zheyuan (Max) Kong (Carnegie Mellon University, Pittsburgh, PA).

    Zheyuan (Max) Kong: [email protected] | [email protected] GitHub: https://github.com/MaxMiksa/Autonomous-Company