| .agents/skills/rig/engines/anthropic.ts |
Engine adapter integrating the Anthropic SDK with the rig harness for running agents via Claude models. |
| .agents/skills/rig/engines/codex.ts |
Engine adapter for OpenAI Codex SDK integration with the rig agent harness. |
| .agents/skills/rig/engines/gemini.ts |
Engine adapter that spawns a Gemini subprocess and bridges it to the rig runtime over stdio. |
| .agents/skills/rig/engines/pi.ts |
Engine adapter connecting the Pi agent runtime to rig's typed agent interface. |
| .agents/skills/rig/engines/utils.ts |
Shared utility helpers for converting rig Tool schemas into provider-compatible object schemas. |
| .agents/skills/rig/globals.ts |
Ambient module-level helpers (call, pipeline, parallel) that delegate to the active workflow context. |
| .agents/skills/rig/rig.ts |
Core rig runtime: typed agent construction, prompt intents, Copilot SDK engine, launcher CLI. |
| scripts/haiku.integration.test.ts |
Integration test that spawns a real Copilot Haiku session and verifies end-to-end agent output. |
| scripts/run-sample.test.ts |
Sample runner that executes all rig sample programs with a stub Copilot SDK for dry-run verification. |
| skills/rig/engines/anthropic.ts |
Source copy of the Anthropic engine adapter used by the skill. |
| skills/rig/engines/codex.ts |
Source copy of the Codex engine adapter used by the skill. |
| skills/rig/engines/gemini.ts |
Source copy of the Gemini engine adapter used by the skill. |
| skills/rig/engines/pi.ts |
Source copy of the Pi engine adapter used by the skill. |
| skills/rig/engines/utils.ts |
Source copy of the engine utility helpers used by the skill. |
| skills/rig/globals.ts |
Source copy of ambient workflow context helpers used by the skill. |
| skills/rig/rig.ts |
Canonical source of the rig core runtime (3000+ lines): schemas, prompt intents, agent factory, addons, launcher. |
| src/engines/anthropic.test.ts |
Vitest unit tests for the Anthropic engine adapter, covering prompt construction and response parsing. |
| src/engines/codex.test.ts |
Vitest unit tests for the Codex engine adapter. |
| src/engines/copilot.test.ts |
Vitest unit tests for the Copilot SDK engine, covering session creation and sendAndWait behavior. |
| src/engines/gemini.test.ts |
Vitest unit tests for the Gemini engine adapter. |
Global Summary
Rig is a minimal TypeScript multi-agent harness providing declarative agent construction with typed input/output schemas, prompt intents, sub-agent delegation, and a Copilot SDK runtime. The repository contains the core runtime, multiple engine adapters (Anthropic, Codex, Gemini, Pi, Copilot), ambient workflow context helpers, 50+ sample agents, and a comprehensive vitest test suite.
Individual File Summaries