Skip to content

Latest commit

 

History

History
129 lines (92 loc) · 6.88 KB

File metadata and controls

129 lines (92 loc) · 6.88 KB

Org Studio: Org design for AI agents

Stop assigning tasks to your AI agents. Give them a mission, domain boundaries, and a feedback loop — they'll figure out the rest.

Org Studio — Home dashboard, team management, project roadmap

What Is Org Studio?

Org Studio is an opinionated management layer for teams of OpenClaw/Hermes agents. Instead of prompting agents session by session, you define team structure, culture, domain boundaries, and a roadmap — then let the system run. Agents work autonomously, ship versions, and improve over time through a persistent feedback loop.

Works with OpenClaw and Hermes Agent out of the box. Extensible to any agent runtime via the AgentRuntime interface.

The shift: Stop managing agents. Start designing your org.

Features

  • Team topology — Teammates, roles, domain boundaries (Owns/Defers), domains
  • Mission & Values — Shared context auto-synced to every agent via ORG.md
  • Task board — Simple kanban: backlog → in-progress → done by default. Review is opt-in (for irreversible, cross-domain, or mission-level work). Planning + QA are optional lanes when needed.
  • Performance metrics — Delivery stats (cycle time, first-pass quality, clean streaks) auto-computed
  • Performance dashboard — Full /performance page with team health, quality scorecards, cultural alignment, coaching insights, weekly digests, and CSV export
  • Coaching insights — Auto-generated coaching from metric patterns — agents see their performance trends and improvement suggestions every session
  • Weekly team digest — Auto-generated summary delivered to Telegram or viewed in-app
  • Agent comparison — Sortable table with SVG sparklines and CSV export
  • Kudos & Flags — Value-tagged feedback that shapes agent behavior via Operating Principles
  • Vision cycles — Agent proposes roadmap, tasks auto-create, work executes. Humans set direction; agents deliver.
  • Continuous delivery by default — Agents ship reversible work in their owned domain directly to done. Human-in-loop only for blockers, irreversible decisions, and cross-domain changes.
  • Start/Stop — One toggle per project controls run-gating. Agents only get dispatched for started projects.
  • Pure event-driven — Zero polling, zero crons. Tasks trigger agents instantly. No idle cost.
  • Real-time sync — WebSocket pushes to browser and agents. ORG.md updates in 500ms.
  • Cross-runtime @mentions — Agents tag each other in task comments; notifications route to the correct runtime automatically.

Quick Start

git clone https://github.com/ToomeSauce/org-studio.git
cd org-studio
npm install
cp .env.example .env.local
npm run build
node server.mjs
# → http://localhost:4501

Works without a database (file-backed). Optional PostgreSQL for production.

Learn More

How It Works

For Humans

  1. Define team structure: add teammates (human or agent), set roles and domain boundaries (Owns / Defers)
  2. Write a vision doc for each project (North Star + Roadmap) and set the approval horizon (how far ahead agents can ship without asking)
  3. Click Start on a project → agents pull from backlog and deliver autonomously
  4. Agents self-flag needsReview when work is irreversible, cross-domain, or mission-level — those land in the review lane
  5. Routine work flows straight to done — the commit is the record
  6. Click Stop anytime to pause a project; Start to resume

For Agents

  1. Read ORG.md at session start: mission, values, domains, team structure, performance feedback
  2. Read assigned task and related context
  3. Execute within Owns/Defers boundaries
  4. Default: move to done when shipped. Set needsReview: true only when the change is irreversible, cross-domain, mission-level, or security-sensitive.
  5. Next session: read updated ORG.md (new feedback if performance changed)

The feedback loop is the core: agents improve over time because they literally read their kudos/flags at the start of every session.

Opinions

  1. Agents are teammates. Same team page, same org chart. They're not tools.
  2. Culture scales. Define values once; agents internalize them. Beats longer prompts.
  3. Autonomy needs structure. Clear Owns/Defers boundaries → better decisions than no guardrails.
  4. Your job is design, not management. Tune the system; don't micro-manage tasks.
  5. Idle agents cost nothing. No work? No API call. Scheduler checks before touching LLM.

API & Integration

Multi-Runtime Support

Org Studio connects to multiple agent runtimes simultaneously via a runtime abstraction layer. Each runtime implements discover(), send(), and health().

Built-in runtimes:

  • OpenClaw — WebSocket RPC, event-driven scheduling, ORG.md auto-sync, vision cycles
  • Hermes Agent — HTTP OpenAI-compatible API, profile-based agents, task dispatch

Set GATEWAY_URL for OpenClaw, HERMES_URL for Hermes in .env.local. See Configuration.

Custom runtimes: Implement the AgentRuntime interface (see src/lib/runtimes/types.ts) and register in the registry.

REST API

Org Studio exposes a REST API. Any agent that can make HTTP calls can participate:

  • GET /api/store — Fetch org data (team, tasks, projects)
  • POST /api/store — Mutate (add task, move to done, add comment, etc.)
  • GET /api/vision/{id}/doc — Fetch vision markdown
  • POST /api/roadmap/{projectId} — Agent proposes versioned roadmap
  • GET /api/kudos?agentId=X — Fetch performance feedback
  • GET /api/stats/{agentId} — Compute 30-day delivery metrics

See the org-studio-api skill for the complete API reference with examples.

Stack

  • Frontend: Next.js 16 + React 19 + TypeScript + Tailwind CSS v4
  • Server: Custom Node.js server with WebSocket
  • Storage: Local JSON (default) or PostgreSQL (production)
  • Real-time: WebSocket push, zero client polling
  • No database required. Works standalone. Optional Postgres for scaling.

Contributing

See CONTRIBUTING.md for development setup, testing, and contribution guidelines.

License

MIT