You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rig is a minimal TypeScript agent harness providing typed input/output schemas, prompt intents, and Copilot SDK runtime for declarative multi-agent workflows with sub-agent delegation and built-in repair/steering addons.
Individual File Summaries
File
Summary
./skills/rig/rig.ts
Core runtime implementing typed schemas (s.), prompt builders (p.), agent definitions, and the Copilot SDK integration for running agents with configurable models and sub-agent delegation.
./skills/rig/globals.ts
Ambient workflow context helpers exporting call, pipeline, and parallel functions that automatically delegate to the active workflow run, enabling readable agent orchestration without explicit context threading.
./scripts/run-sample.test.ts
Test runner for rig samples using a stub Copilot SDK client that generates shape-conforming output, validating sample code structure and execution within time limits.
./src/engines/copilot.test.ts
Unit tests for the Copilot SDK engine covering agent invocation, schema validation, tool integration, and error handling with mocked Copilot SDK sessions.
./src/rig.test.ts
Comprehensive unit tests for agent definitions, input/output validation, prompt intent resolution, schema helpers, and the repair addon using vitest framework.
./skills/rig/samples/02-review-git-diff.md
Sample agent that reviews git diffs, extracting changed files and line counts to provide focused code review feedback on modifications.
./skills/rig/engines/anthropic.ts
Anthropic API engine implementation providing AgentFactory with streaming support, token counting, and cached Anthropic client initialization.
./skills/rig/engines/pi.ts
Pi API engine implementation wrapping the Pi SDK with factory pattern, configurable system messages, and streaming support.
./skills/rig/SKILL.md
Compact skill entry point and reference documenting the rig API including schema helpers, prompt intents, agent definitions, and workflows with links to focused references.
./src/launcher.test.ts
Tests for the rig launcher covering program loading, stdin/stdout handling, model parameter parsing, typecheck mode, and engine configuration from environment variables.
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
The threat detection results could not be parsed.
Review the workflow run logs for details.
Global Summary
Rig is a minimal TypeScript agent harness providing typed input/output schemas, prompt intents, and Copilot SDK runtime for declarative multi-agent workflows with sub-agent delegation and built-in repair/steering addons.
Individual File Summaries