agents-united 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +52 -5
  2. package/package.json +10 -4
package/README.md CHANGED
@@ -7,10 +7,11 @@
7
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
8
  [![Tests: Vitest](https://img.shields.io/badge/tests-1000%2B%20passing-brightgreen.svg)](https://vitest.dev/)
9
9
  [![TypeScript: Strict](https://img.shields.io/badge/TypeScript-Strict-blue.svg)](https://www.typescriptlang.org/)
10
+ [![Socket Badge](https://badge.socket.dev/npm/package/agents-united/latest)](https://badge.socket.dev/npm/package/agents-united/latest)
10
11
 
11
- ### The universal package manager for AI agents.
12
+ ### Expert AI agent teams on your preferred platform.
12
13
 
13
- Install a curated team of AI agents once, then use it from your assistant of choice. Agents United ships **orchestrators** (team leads), **sub-agents** (specialists), **skills** (runbooks and playbooks), and **guardrails**, and translates them into the folders each assistant expects.
14
+ Agents United is the package manager for **expert AI agent teams**. Install a curated team once — **orchestrators** (team leads), **sub-agents** (specialists), **skills** (runbooks and playbooks) and **guardrails** — and run it in the **AI agent harness** you already use. Each team is wired as a **delegation graph**: the lead plans with you, specialists work in parallel, and nothing ships until it has been verified.
14
15
 
15
16
  | Assistant | Status | Where the team lands |
16
17
  | :--- | :--- | :--- |
@@ -19,12 +20,24 @@ Install a curated team of AI agents once, then use it from your assistant of cho
19
20
  | **Cline** (CLI and VS Code extension) | ✅ Supported | `.cline/` plus `.agents/plugins/<bundle>/` |
20
21
  | Cursor, OpenCode, Codex / `AGENTS.md` readers | 🚧 Under development | Shown as unavailable in the wizard, and `--fanout` refuses them |
21
22
 
22
- **In numbers:** 34 bundles · 59 agents (9 orchestrators + 50 sub-agents) · 188 skills (119 domain skills + 69 workflow playbooks) · 8 department domains.
23
+ **In numbers:** 34 bundles (including the `full` suite) · 59 agents (9 orchestrators + 50 sub-agents) · 188 skills (119 domain skills + 69 workflow playbooks) · 8 department domains.
24
+
25
+ ---
26
+
27
+ ## ✨ Why Agents United
28
+
29
+ | | |
30
+ | :--- | :--- |
31
+ | **🧩 Built for your harness** | Every AI agent harness (Claude Code, Cline, Antigravity) has its own tools, hooks, plugin format and orchestration primitives. Agents United is moving each one to a **native package authored from that vendor's own documentation** ([ADR 0025](./docs/adr/0025-native-host-packages-and-host-docs-library.md)), so agents use the harness's full toolset instead of a translated subset. |
32
+ | **🕸️ Graph-engineered teams** | Orchestrator → specialist **delegation graphs**: a planning dialogue, a written delegation map, parallel fan-out, one structured hand-back per specialist, a single synthesis point and verification gates. Multi-agent orchestration you can read, audit and rerun. |
33
+ | **🪶 Context engineering by default** | Every department installs as a lean **Essentials** bundle. When the work needs more, the orchestrator names the exact addon and offers to install it, so your context window carries only what the project needs. |
34
+ | **🛡️ Guardrails that don't move** | A locked **Contract Floor** (identity, scope, output contract, safety) stays identical on every harness, on top of built-in git guardrails, secret scanning and test-first discipline. |
23
35
 
24
36
  ---
25
37
 
26
38
  ## 📑 Contents
27
39
 
40
+ - [Why Agents United](#-why-agents-united)
28
41
  - [Quick Start](#-quick-start)
29
42
  - [How It Works](#-how-it-works)
30
43
  - [Supported Assistants](#-supported-assistants)
@@ -114,6 +127,9 @@ You keep a small context footprint, the orchestrator picks the right addon, and
114
127
 
115
128
  ### One library, every assistant
116
129
 
130
+ > [!NOTE]
131
+ > **Where this is heading.** Translation is being replaced by *creation*: a shared Contract Floor plus a **native package per harness**, authored from each vendor's documentation and installed by plain copying — no LLM runs on your machine. The rollout is incremental (Claude Code first); this section describes how installs work today. Design: [ADR 0025](./docs/adr/0025-native-host-packages-and-host-docs-library.md), [Plan 032](./plans/032-native-host-packages.md).
132
+
117
133
  `.agents/` is the **main library**, the one folder you edit, tracked by the `agents-united.json` lockfile. Antigravity reads it directly. Other assistants cannot, so Agents United writes **translated copies** in their own folders and keeps them in sync.
118
134
 
119
135
  - **Edit only `.agents/`.** Translated copies are machine-managed and are rewritten on every `agents update`.
@@ -129,7 +145,7 @@ Features that cannot cross over one-to-one are **declared, not faked**. Every ga
129
145
 
130
146
  ### Orchestrators plan, specialists do
131
147
 
132
- Every department has a **lead orchestrator** that talks to you, plans, and delegates to **sub-agents**. Each specialist follows the same layout: role, a **Skill Consultation Map** (which skill to open for which kind of work), protocol, safety rules, and report format. Code samples and best-practice detail live in the skills, so roles stay short.
148
+ Every department has a **lead orchestrator** that talks to you, plans, and delegates to **sub-agents**. This is what we call **graph engineering**: align with you, plan a delegation map, fan out to specialists in parallel, collect one structured hand-back from each, then synthesize once and verify before delivery. Each specialist follows the same layout: role, a **Skill Consultation Map** (which skill to open for which kind of work), protocol, safety rules, and report format. Code samples and best-practice detail live in the skills, so roles stay short.
133
149
 
134
150
  | Tier | Bundles | How the orchestrator behaves |
135
151
  | :--- | :--- | :--- |
@@ -140,6 +156,8 @@ Every department has a **lead orchestrator** that talks to you, plans, and deleg
140
156
 
141
157
  ## 🤖 Supported Assistants
142
158
 
159
+ Agents United calls the tool that runs the agent loop an **AI agent harness**. Teams are packaged for each harness's own conventions:
160
+
143
161
  | Assistant | What Agents United writes | How to launch a team |
144
162
  | :--- | :--- | :--- |
145
163
  | **Claude Code** | Agents in `.claude/agents/`, skills in `.claude/skills/` (including each skill's `references/` and `scripts/` folders), rules in `.claude/rules/`, and a guard hook | `agents start <bundle> --host claude` (also `--bg`, `--teams`, `--plugin`) |
@@ -472,6 +490,19 @@ QA Automation Lead (Playwright E2E) + Compliance GRC Specialist (FTC / GDPR / CA
472
490
 
473
491
  ---
474
492
 
493
+ ### Build your own organization bundle
494
+
495
+ Organization (Tier-2) bundles are the most open area for contributors. The registry keeps one deliberate template for them: **`mock-organization-under-construction`** in [`registry/bundles.json`](./registry/bundles.json). It is not a real team and is not counted in the bundle total above; it exists to show the shape of an organization bundle and to exercise the CLI's under-construction gate in tests.
496
+
497
+ - Copy its entry and set `tier: "organization"`, a `status` (`under-construction` while you build, then `experimental`), `orchestrator`, `agents` and `skills`.
498
+ - Add `prerequisites` (`requiredMcps`, packages, environment variables) and `modes` (`operational`, `limited-operational`, `brainstorming`), as `digital-agency` does.
499
+ - Opt into the planning loop with `planningLoop` (`mode: "subagent-first"` plus a consultation budget) and add `personaAliases` if your team has named personas.
500
+ - Try it: `agents add mock-organization-under-construction --allow-under-construction --mode brainstorming --dry-run` resolves the bundle without writing anything. Drop `--allow-under-construction` to watch the gate block it.
501
+
502
+ Keep the fixture in place while you work; the CLI tests rely on it (`tests/prerequisites.test.ts`). Follow [`docs/skill-intake.md`](./docs/skill-intake.md) for any skills your team adds.
503
+
504
+ ---
505
+
475
506
  ## 🔌 MCP Servers
476
507
 
477
508
  Agents United never installs or configures MCP servers for you, and never writes credentials into projected files. Roles list the servers they use by name, and the assistant's own MCP configuration supplies the connection.
@@ -531,6 +562,20 @@ npm run typecheck # build plus type-check of source and tests
531
562
  - **Test-driven:** write failing tests in `tests/` first. Tests are deterministic (no arbitrary sleeps) and run in four tiers, from unit tests to full catalog audits.
532
563
  - **Open work:** the Essentials-only guard for `agents add domain:<dept>` and the public GitHub Pages site are tracked in [`ROADMAP.md`](./ROADMAP.md).
533
564
 
565
+ ### Host docs library and host updates
566
+
567
+ Each harness has a documentation library under [`host-library/`](./host-library) (not shipped in the npm package): the vendor's machine-readable `llms.txt` index, changelog, curated page snapshots and a lockfile of content hashes. Authoring a native agent, skill, hook or plugin for a harness starts there, never from memory. The library feeds the [Host Primitive Matrix](./docs/host-primitive-matrix.md).
568
+
569
+ ```bash
570
+ npm run hostlib:check # changelog first: what did each harness ship since the last sync?
571
+ npm run hostlib:refresh -- --host claude --types hook,tools --advance-changelog
572
+ npm run hostlib:verify # snapshots still match their lockfile hashes
573
+ npm run hostlib:audit -- <dir> # security audit for a quarantined upstream skill folder
574
+ npm run hostlib:provenance # pin each third-party skill to its upstream repo, path and commit
575
+ ```
576
+
577
+ The `host-update-sync` maintainer skill (`.claude/skills/`) turns a new upstream release into an adaptation-plan PR against `dev`. Refreshed docs snapshots and upstream skills only enter the repo after a security audit (prompt-injection, obfuscation and risky-script scan, plus a read-only review), which runs before the licence check below. Details: [ADR 0025](./docs/adr/0025-native-host-packages-and-host-docs-library.md).
578
+
534
579
  ### Adding or adapting a skill
535
580
 
536
581
  Follow the checklist in [`docs/skill-intake.md`](./docs/skill-intake.md). In short:
@@ -588,7 +633,9 @@ Commit messages follow **Conventional Commits**. `feat:` and `fix:` drive releas
588
633
  | [`docs/skill-intake.md`](./docs/skill-intake.md) | The checklist for adding any new skill, including licence tiers |
589
634
  | [`docs/guard-testing.md`](./docs/guard-testing.md) | How to prove the guard hook actually fires |
590
635
  | [`docs/creation-engine.md`](./docs/creation-engine.md) | The Semantic Core and per-host creation engine behind Claude projection |
591
- | [`docs/adr/`](./docs/adr) | Architecture decision records (0001 to 0024) |
636
+ | [`docs/adr/0025-native-host-packages-and-host-docs-library.md`](./docs/adr/0025-native-host-packages-and-host-docs-library.md) | Native host packages, the host docs library, and the changelog-driven update workflow |
637
+ | [`host-library/`](./host-library) | Per-harness documentation snapshots, changelog baselines, and lockfiles |
638
+ | [`docs/adr/`](./docs/adr) | Architecture decision records (0001 to 0025) |
592
639
  | [`plans/`](./plans) | Numbered implementation plans and their status ([index](./plans/README.md)) |
593
640
  | [`PROJECT.md`](./PROJECT.md), [`CONTEXT.md`](./CONTEXT.md), [`ROADMAP.md`](./ROADMAP.md), [`CHANGELOG.md`](./CHANGELOG.md) | Project overview, domain glossary, roadmap, and release notes |
594
641
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agents-united",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "The universal package manager for AI agents.",
5
5
  "main": "./dist/cli.js",
6
6
  "bin": {
@@ -16,11 +16,17 @@
16
16
  "pretest": "npm run build",
17
17
  "dev": "tsup --watch",
18
18
  "start": "node dist/cli.js",
19
- "test": "vitest run",
19
+ "test": "vitest run --testTimeout=30000 --hookTimeout=30000",
20
20
  "test:evals": "vitest run tests/e2e-evals/",
21
21
  "test:watch": "vitest",
22
- "typecheck": "npm run build && tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
23
- "lint": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json"
22
+ "typecheck": "npm run build && tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsc -p scripts/hostlib/tsconfig.json",
23
+ "lint": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsc -p scripts/hostlib/tsconfig.json",
24
+ "hostlib:check": "node scripts/hostlib/cli.ts check",
25
+ "hostlib:refresh": "node scripts/hostlib/cli.ts refresh",
26
+ "hostlib:ingest": "node scripts/hostlib/cli.ts ingest",
27
+ "hostlib:verify": "node scripts/hostlib/cli.ts verify",
28
+ "hostlib:audit": "node scripts/hostlib/cli.ts audit",
29
+ "hostlib:provenance": "node scripts/hostlib/cli.ts provenance"
24
30
  },
25
31
  "keywords": [
26
32
  "antigravity",