AI-NATIVE ENGINEERING TEAM · ATTENTION MANAGEMENT · BUN + SQLITE

Guard Your Attention at the Front Desk.
Run an AI-Native Team in the Workshop.

Stop babysitting isolated terminal tabs or scanning raw agent logs. CrewDesk pairs a Personal Assistant that triages blockers and surfaces only high-leverage decisions with an AI-native engineering loop — mixing oma, Claude Code, pi, and omp over one ACP rail, with @ Cite live previews, Rewind/Replay knob-tuning, and Auto-Tune eval regression gates.

curl -fsSL https://raw.githubusercontent.com/Chengchcc/crewdesk/master/scripts/install.sh | OMA_VERSION=rc sh
Quick Start User Guide →
crewdesk — Today · Chat · Requirements · 4-Harness Team · Workflow DAG · Git Wiki
4 Coding Harnesses (oma · Claude · pi · omp)
7 Domain Resource URIs (@ Cite & Live Previews)
11 Role-Scoped Slash Skills over Product MCP
0 Silent Writes (Propose ≠ Save + Eval Gate)

PRODUCT MODEL · TWO CORE PILLARS

Attention Management Meets an AI-Native Loop

Scaling from one coding agent to an engineering team breaks human attention first — not token limits. CrewDesk treats operator attention as a scarce resource while closing the loop from chat execution to self-improving evaluations.

PILLAR 01 · ATTENTION MANAGEMENT

Spend Attention Only on Irreducible Decisions

Keep noisy tool output, worker back-and-forth, and raw telemetry out of your way — surface only goals, approvals, and verified deliveries.

    PILLAR 02 · AI-NATIVE ENGINEERING LOOP

    Operate, Replay, Evaluate & Auto-Tune in One Loop

    Every resource is addressable by URI, editable via chat proposals, replayable with knob overrides, and guarded by versioned regression suites.

      ORGANIZATIONAL BOUNDARY IN CODE

      The PA + Worker Team Model

      Putting chat, planning, shell execution, and git writes inside one omnipotent loop lets one misunderstanding silently mutate your repository. CrewDesk enforces a hard tool-layer boundary between the front desk and isolated workshops.

      OPERATOR You (Web / Lark) Goals · Approvals · Merge
      FRONT DESK Personal Assistant (PA) No bash · No repo writes
      CODER Isolated Git Copy agent/<runId> · Claude / oma
      REVIEWER Two-Agent Delivery Gate Independent audit · pi / oma
      GIT WIKI Compiled Knowledge Source-cited pages in git
      ROLE 01 · OPERATOR

      You (Human)

      Own the team roster, permissions, irreversible approvals, and final merge & acceptance decisions across Web and Lark.

      HARD BOUNDARY

      Agents can propose new projects, workflows, or member configs — nothing is saved or merged without your explicit confirmation.

      ROLE 02 · FRONT DESK

      Personal Assistant (PA)

      Protects your attention: clarifies intent, tracks real goals as Requirements, dispatches workers, answers worker blockers from Wiki, and compiles lessons.

      HARD BOUNDARY

      Physically has zero execution tools (bash, read, write, edit, eval). Cannot silently hack your codebase — any repo work must be dispatched.

      ROLE 03 · ISOLATED WORKSHOPS

      Specialist Workers

      Coder, Reviewer, and Researcher execute inside isolated child sessions and git copies using any harness (oma, Claude Code, pi, omp) with per-agent SOUL.md & MCPs.

      HARD BOUNDARY

      project_push only pushes agent/<runId> branches (pushing main/master is rejected); deny_write_paths & deny_commands block escape.

      LIVE PRODUCT SURFACES

      One Ledger, Every Surface in Sync

      Web Console, Lark/Feishu IM bot, Oma TUI, and in-browser Coding worktree terminals all project the same canonical SQLite ledger.

      Today Inbox
      Today Inbox

      CONTROL PLANE VIA CHAT

      Operate the Console with Skills + Product MCP

      Every resource editor embeds a live PA side-panel. Type / to invoke role-scoped progressive skills backed by per-Run Product MCP servers with single-Run bearer tokens revoked on settle.

      PROPOSE ≠ SAVE

      Agents never silently overwrite team configs, project bindings, or workflow DAGs. Every mutation returns a field-by-field Proposal Card: Adopt to form → Review diff → Explicit Save.

      SYSTEM INVARIANTS & GUARDRAILS

      Built for Long-Term Integrity, Not Demo Magic

      Single-operator self-hosted architecture: minimal domain ontology, atomic commits, isolated one-shot child processes, and fail-closed security boundaries.

      6 ENGINEERING INVARIANTS

      How Reliability Holds Under Concurrency

        SINGLE-OPERATOR SECURITY MODEL

        Enforced Runtime Guardrails

          STACK Bun 1.4 TypeScript 6 Elysia HTTP + WS SQLite + Drizzle ORM Next.js 15 App Router Agent Client Protocol (ACP) Agent Host Protocol (AHP) bubblewrap Sandbox

          ZERO-INFRA SELF-HOSTING

          Up and Running in Two Minutes

          No Docker Compose sprawl, no Postgres, no Redis. Code and state live in separate directories so upgrades never touch your data.

          Install oma + prebuilt backend & web bundle
          curl -fsSL https://raw.githubusercontent.com/Chengchcc/crewdesk/master/scripts/install.sh | OMA_VERSION=rc sh
          oma gateway up        # foreground; use `oma gateway up -d` for background

          Open http://127.0.0.1:3001/login and sign in with the password printed by oma gateway up (stored 0600 in ~/.oma/gateway-secrets.json).

          oma gateway up -d Start backend + web in background, returns once healthy
          oma gateway status Show installed version, process health, and login password
          oma gateway down Stop background gateway
          oma update Upgrade CLI and gateway bundle together (--check to inspect)
          oma -p "Summarize docs/architecture/README.md" Run a standalone one-shot CLI prompt with oma
          Clone, install, and start backend (:3000) + web (:3001)
          git clone https://github.com/Chengchcc/crewdesk.git
          cd crewdesk
          bun install
          export ANTHROPIC_API_KEY=sk-ant-...   # or OpenAI / DeepSeek / Groq / OpenRouter
          bun run dev

          Requires Bun ≥ 1.3.14, ripgrep, bubblewrap, and openssl. Built-in providers: Anthropic, OpenAI, DeepSeek, Groq, OpenRouter, plus custom endpoints in ~/.oma/models.yml.