← Catalog

@nidvue/teamwork

Nidvue Teamwork - an autonomous, self-governing agent company for pi: CEO-led decomposition, parallel lanes, two-stage review, hash-chained audit ledger and layered role-owned tests. Python 3.11+, stdlib only.

Skill

Install

Install with PiG

pig install npm:@nidvue/teamwork

Install with Pi

pi install npm:@nidvue/teamwork
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/Nidvue/Teamwork/main/assets/social-preview.png",
  "skills": [
    "./skills"
  ],
  "prompts": [
    "./prompts"
  ],
  "extensions": [
    "./extensions"
  ]
}

README

Written by the package's publisher, shown as published in version 1.7.0 (README.md). PiG does not review it.

Teamwork banner: three connected nodes and the pitch 'One prompt in. A whole company of agents out.' Nidvue

Nidvue Teamwork

One prompt in. A whole company of agents out.

Nidvue Teamwork is **a skill for your coding agent** - not a standalone application. Install it like any other skill (one clone, no package manager), then ask your agent for the team:

CI status License: AGPL-3.0-or-later Python 3.11 to 3.13 Skill: one clone to install PRs welcome GitHub stars

Animated terminal: one git clone installs the skill, one request that names the skill starts the company, and the loop gate reports CONTINUE until every acceptance criterion is verified.

Nidvue Teamwork is a skill for your coding agent - not a standalone application. Install it like any other skill (one clone, no package manager), then ask your agent for the team:

> use the tw skill: Build a URL shortener with a CLI, tests and docs

That prompt becomes a team of AI agents that plans, builds, tests and independently reviews its own work until every acceptance criterion has executed evidence. The agent host supplies the LLM API, and every agent's model is configured independently (teamwork model set <agent>): a strong model for the Reviewer, a cheap one for the mechanical lanes. The engine (teamwork.py, stdlib only) ships inside the skill; installing it as a package is optional.

  • Developed by AI agents, for AI agents. This repository is built by its own team: reviewed tasks in Archive, the learning loop in Evolution, and all but two commits (a merge and a dependabot bump) by a role mailbox.
  • One prompt in, a whole company out. The 30-second quickstart is the whole install.
  • It improves from its own failures. A failure becomes a lesson, a lesson becomes a skill, and a skill reaches the core only after two cuts; its own verdict is confounded, because the first adoption changed the metrics and the classifier together (Evolution 9.2).

What makes it different

DifferentiatorWhat it isProof
Skill-firstOne clone into the directory your agent scans; no package manager.Installation
One parent, one boardOne manager and one queue per role; any role scales.How it works
Evidence or UNVERIFIEDdone needs a recorded command @revision -> result.Operations
Reviewer-only mergeThe author self-checks, a different role reviews, a pass lands.How it works
Layered testsEach role designs, builds and runs its own layer.Features
Tamper-evident ledgerEvery mutation is hash-chained and exportable.Operations

Five more ship inside the skill - engine commands, no plugin, no daemon:

CapabilityWhat you getCommand
Memory that persistsCaptured at each lane exit, promoted to long-term, shared per role, verified against cited revisions.teamwork memory
Live agent stateEvery instance's state, task, time and progress, plus recent lanes; a stable --json feed the bundled widget renders.teamwork status
Real parallel lanesswarm run sizes the wave from the work, dispatches it and returns; each lane is detached.teamwork swarm run
Agents that talkA prioritised mailbox in the next packet; urgent preempts it and pauses its task.teamwork message send
Token economyA measured startup read against a 104 KiB cap, a memory index and read-by-id commands.teamwork harness budget

Install the skill

Clone the skill into the directory your agent host scans - no daemon, no hosted service, nothing to build:

# project-local: plain files in your repository, not a nested git repo
mkdir -p .agents/skills
git clone --depth 1 https://github.com/Nidvue/Teamwork.git .agents/skills/tw
rm -rf .agents/skills/tw/.git

Prefer a user-level install (~/.agents/skills/tw), a package manager (npm install @nidvue/teamwork) or the optional engine wheel? Installation compares all four channels, their commands and their requirements. Dropping the nested .git is deliberate: the skill must be committed as plain files, not a gitlink.

30-second quickstart

# 1. create the project and install the skill into it (one clone, nothing to
#    build; drop the nested .git so the skill is committed as plain files, not a
#    submodule)
$ mkdir my-project && cd my-project
$ mkdir -p .agents/skills && git clone --depth 1 https://github.com/Nidvue/Teamwork.git .agents/skills/tw && rm -rf .agents/skills/tw/.git

# 2. ask your agent for the team, from the project root
> use the tw skill: Build a URL shortener with a CLI, tests and docs

The CEO writes AGENTS.md, staffs the roster, freezes the interfaces, records the acceptance criteria and opens the lanes. The hidden, gitignored workspace appears at .pi/Teamwork/Teams/<Team>/; project output is committed. Read the full walkthrough in Quickstart.

What you get

  • 16 role charters - the 15-role org plus a Team Leader per feature, each with its own memory and queue.
  • A two-stage quality gate - author self-check, then independent review; only the Reviewer merges.
  • Parallel lanes, no plugin - swarm run sizes each wave from the work.
  • Built-in memory and a mailbox - role-shared memory, a ctx:// tree and a prioritised agent-to-agent queue.
  • Live state - status and its JSON feed, plus the bundled status widget.
  • Layered tests - one owner per layer, gaps shown by tests plan.
  • Token-true budget - harness budget measures the startup read; trim it, never raise the cap.
  • Automatic model routing, off by default - teamwork model auto detects the agent host and plans the strong model for the decision lanes and the economy one for the mechanical lanes. The model the user configured is kept until an explicit demand switches it: model auto --apply --allow-switch --reason '<who asked>'.
  • File ownership - task add --files 'src/a.py,docs/Team/' declares paths a lane owns; preflight warns on any other path.
  • Portable - CPython 3.11-3.13 on Linux, macOS and Windows; stdlib only.

Documentation

PageRead it for
Documentation homeThe docs site index.
InstallationInstall channels, requirements, uninstall.
QuickstartBootstrap a team and run the CEO loop.
For agentsThe install-and-drive routine.
Usage patternsThe recurring jobs, as transcripts.
OperationsSlots, memory, live state, the mailbox, the ledger.
How it worksThe loop, the gate, the workspace tree.
FeaturesEvery capability, and what the gate refuses.
ArchitecturePackage layout, resource resolution, workspace format.
CLI referenceEvery command and flag, in records, review, workflow and audit.
AlternativesHow this compares with others.
RoadmapWhat is shipped, current, and not planned.
ReleasesWhat a release publishes.
CI pipelineRun the pipeline locally.

Contributing, security and license

  • Contributing - work on your own branch, run pytest -q and ruff check, open a PR; a Reviewer - never the author - merges it. Read CONTRIBUTING.md and the code of conduct.
  • Security - report privately via GitHub security advisories; see SECURITY.md.
  • License - AGPL-3.0-or-later, copyright (C) 2026 Nidvue (NOTICE). The strong copyleft is deliberate: the audit guarantees should survive modification.
  • No personal data, no local leakage - scripts/privacy_scan.py fails the build on names, emails, home paths, credentials or agent-host state.

Star history chart for Teamwork