Orvix turns one product request into an on-demand AI engineering agency. It plans the project, creates the specialist agents it needs, lets them coordinate through a shared ledger, runs their work in parallel branches, reviews their PR-style submissions, and keeps expanding the team when the mission changes.
- What Orvix Is
- Why This Exists
- What Orvix Builds
- Core System Concepts
- Architecture
- Mission Lifecycle
- Setup
- Alibaba Cloud Deployment
- Environment
- API Examples
- Repository Layout
- Documentation Map
- Contributing
- License
Instead of a fixed chatbot or a static list of roles, Orvix behaves like a living software organization:
MasterMind directs the mission → Strategy Weaver designs the team → specialists build in parallel → Critic Council reviews → the owner can interrupt mid-flight to redirect or request new work.
User mission
-> MasterMind analysis
-> Orvix Map (locked build contract)
-> dynamic agent organization
-> parallel implementation branches
-> Orvix Book coordination
-> Critic Council reviews
-> runtime acceptance
-> final delivery brief
The goal isn't to make one AI assistant pretend to be many roles. It's to build an agent runtime that organizes itself around the work: decompose the mission, create agents on demand, negotiate through a shared ledger, resolve conflicts, review code, and produce a working output.
Most coding agents are single-threaded — they receive a request, produce code, and maybe revise it. Orvix explores a different model: software delivery as an autonomous agent society, built on four ideas:
| Idea | What it means |
|---|---|
| Self-organization | MasterMind and Strategy Weaver decide which agents the mission needs — nobody templates the roster in advance |
| Self-expansion | The owner channel lets MasterMind route follow-up work or hire a brand-new specialist mid-mission |
| Parallel execution | Independent agents work at the same time through a dependency-aware scheduler, not in turns |
| Shared organizational memory | Agents coordinate through the Orvix Book instead of one giant shared prompt |
The user asks for an outcome; Orvix forms the temporary engineering company needed to deliver it.
Orvix takes high-level software missions, in plain English:
Build a SaaS CRM with auth, dashboard, contacts and notes.
Build a small playable 2D web game in React.
Build a weather dashboard with search, favorites and error states.
For each mission, Orvix creates a dedicated workspace under .orvix/workspaces/<missionId>/,
scaffolds a project, runs agents against real files, opens internal PR-style work items,
reviews them, merges approved branches, and runs build/acceptance checks before finalizing the
mission.
MasterMind is the mission director. It reads the user request, watches the mission, resolves conflicts, routes owner instructions, and decides when the project is ready for release — not a fixed script, but one driven by live mission state, Orvix Book context, PR/task status, runtime failures, owner requests, and Qwen reasoning output.
The Orvix Map is the locked build contract for the mission. It defines:
|
|
Every agent, reviewer, and acceptance gate reads from the same map — nobody invents an incompatible version of the product.
The Orvix Book is the shared coordination ledger. Agents post questions, answers, assumptions, contracts, handoffs, conflicts, review notes, and owner instructions to it — and each agent receives only a filtered slice of the Book when it starts a session. This is effectively Orvix's agentic loop: agents continuously influence each other through structured messages, not just the original user prompt.
Strategy Weaver designs the agent society for the mission — a small team for a small project, a larger organization for a complex product. Agents are encouraged to own vertical slices where possible: a complete capability or surface end-to-end, rather than artificial frontend/backend/style fragments that create unnecessary dependency chains.
Critic Council reviews PR-style work against the Orvix Map — seeing the diff and the current branch file contents, so it's never fooled by a small diff or already-merged work. It can approve, request changes, reject markdown-only implementation work, flag missing source evidence, and route concrete revision requirements back to the responsible agent.
The human owner can steer a running mission from the cockpit through the owner channel:
make the UI more premium and dark
@frontend-manager switch the dashboard to black and white
@critic-council review the auth flow more strictly
Owner messages enter the Orvix Book as first-class entries from owner.
MasterMind is always aware of them. Direct @agent-id mentions route to that agent and can
reopen work; unaddressed instructions go through MasterMind triage. If no current agent fits
the request, MasterMind creates a new specialist for it.
Orvix has two runtimes:
| Runtime | Role |
|---|---|
apps/api |
The actual Orvix runtime: planning, scheduling, Qwen calls, Orvix Map, Orvix Book, git workspaces, reviews, acceptance checks |
apps/cli |
The cockpit: SetupWizard, mission launcher, planning console, execution cockpit, activity tabs, owner prompt bar |
The CLI never calls Qwen directly and never mutates git — it talks to the API only over REST and Server-Sent Events, which is what makes the cloud split meaningful:
Local CLI = cockpit
Alibaba Cloud = agent society runtime (the API)
Qwen Cloud = model reasoning and tool-call generation
📖 Full module map, design principles, and the mission-lifecycle sequence diagram:
docs/architecture/ — also available as a
4-page PDF.
| 1 |
Planning — a streamed pipeline: research → planning council → scaffold choice → MasterMind
analysis → Orvix Map draft/review/lock → Strategy Weaver organization design → Critic Council
rubric. The CLI shows every stage live. → |
| 2 |
Execution — a continuous work pool, not fixed waves: revisions, signal handling, PR
reviews, agent executions, and build gates all run concurrently. Agents run multi-turn Qwen
sessions with real tools ( |
| 3 |
Collaboration — dependency notes, file-ownership checks, merge-conflict routing, reviewer
revision loops, and a MasterMind wake-up pass that rescues blocked work every scheduling
round, not only when the whole pool goes idle. → |
| 4 |
Review — every PR-style work item is validated by Critic Council against the Orvix Map and the branch's real file contents. |
| 5 |
Runtime acceptance — once required PRs are approved, Orvix builds the generated project for real and checks whether the shipped output actually satisfies the mission. |
| 6 |
Debrief — MasterMind writes a versioned mission brief: what was built, how to run it, key files, owner to-dos, and next steps. |
Where generated projects live on disk
.orvix/
workspaces/
<missionId>/
repo/ generated project repository
.git/ mission git repo
<project files> app/site/API/game created by agents
runs/
<missionId>/ mission state, events, Book, signals, turns
| Runtime choice | Where these folders live |
|---|---|
| Local runtime | Your machine, inside the Orvix repo you started the API from |
| Alibaba Cloud runtime | The ECS server — the API running there owns the agent tools, git workspace, build checks, and generated files. Your local CLI is only the cockpit. |
Mission snapshots live separately under .orvix/runs/<missionId>/, so a restarted API can
resume a mission from disk.
Prerequisites: Node.js 20+, npm, git, and an Alibaba Cloud Model Studio / DashScope API key (Qwen Cloud) for live Qwen mode.
git clone https://github.com/abbasmir12/orvix.git orvix
cd orvix
cp .env.example .env # set DASHSCOPE_API_KEY
npm install
npm run build
npm run start:api # terminal 1
npm run dev # terminal 2 — launches the cockpitThe SetupWizard offers:
| Mode | Purpose |
|---|---|
| Demo cockpit | Scripted local replay, no Qwen calls |
| Local runtime | CLI connects to http://localhost:8787 |
| Alibaba Cloud runtime | CLI connects to a deployed Orvix API |
📖 Full setup guide: docs/SETUP.md
To run Orvix as a remote agent runtime, deploy the Orvix API to an Alibaba Cloud ECS instance and point the CLI at it from anywhere:
# on the ECS instance
git clone https://github.com/abbasmir12/orvix.git orvix && cd orvix
cp .env.example .env # set DASHSCOPE_API_KEY, QWEN_BASE_URL, ORVIX_API_TOKEN
npm install && npm run build && npm run start:apicurl http://<ecs-public-ip>:8787/health{ "service": "orvix-api", "status": "ok", "provider": "Alibaba Cloud ready", "qwen": "configured" }From your laptop, run the CLI, choose Alibaba Cloud runtime, and paste the API URL + the
same ORVIX_API_TOKEN:
your laptop = the cockpit
Alibaba Cloud = the Orvix runtime
Qwen Cloud = model reasoning
📖 Full walkthrough (ECS provisioning, security groups, TLS): docs/SETUP.md §6 ·
📄 Submission proof, with direct code-file links: docs/DEPLOYMENT.md
Minimum live configuration:
DASHSCOPE_API_KEY=...
QWEN_BASE_URL=https://dashscope-intl.aliyuncs.com/compatible-mode/v1
QWEN_MODEL=qwen-plus
ORVIX_API_TOKEN=<long-random-secret> # required once the API is publicThe CLI authenticates with Authorization: Bearer <ORVIX_API_TOKEN>.
📖 Full reference (every variable, every default): docs/env-reference/
# Create a live Qwen-backed mission
curl -X POST http://localhost:8787/missions \
-H "Content-Type: application/json" \
-d '{"mission":"Build a SaaS CRM with auth, dashboard, contacts and notes","mode":"qwen"}'
# Inspect state
curl http://localhost:8787/missions/<mission_id>
curl http://localhost:8787/missions/<mission_id>/metrics
curl http://localhost:8787/missions/<mission_id>/book
# Post an owner instruction mid-mission
curl -X POST http://localhost:8787/missions/<mission_id>/owner \
-H "Content-Type: application/json" \
-d '{"message":"make the dashboard darker and more premium"}'apps/
api/ Orvix runtime API
cli/ Ink/React terminal cockpit
packages/
core/ shared types, simulation state, run store
qwen/ Qwen Cloud (DashScope) client, prompts, tool schemas
workspace/ git workspace, worktrees, file tools, scaffold helpers
docs/
architecture/ system architecture, diagrams, submission PDF
orvix-map/ locked mission blueprint
orvix-book/ shared agent ledger
planning/ planning pipeline
collaboration/ negotiation and conflict handling
owner-channel/ human-in-the-loop steering
cli/ CLI cockpit guide
env-reference/ environment variables
SETUP.md local and Alibaba Cloud setup
DEPLOYMENT.md submission-facing Alibaba Cloud / Qwen Cloud proof
| Topic | Link |
|---|---|
| Architecture | docs/architecture/ |
| Deployment proof | docs/DEPLOYMENT.md |
| Setup | docs/SETUP.md |
| CLI | docs/cli/ |
| Orvix Map | docs/orvix-map/ |
| Orvix Book | docs/orvix-book/ |
| Planning | docs/planning/ |
| Collaboration | docs/collaboration/ |
| Owner Channel | docs/owner-channel/ |
| Environment | docs/env-reference/ |
Orvix is early, and we genuinely value the people who take the time to file an issue, suggest an idea, or open a PR — this project gets better because someone else looked at it and cared enough to speak up. That said: the repo is currently locked to its submitted state for hackathon judging, so issues and PRs will start getting reviewed and merged once the judging period ends. Star or watch the repo if you'd like to be notified when it opens up.
