Skip to content

[rig-summarizer] Daily file summary — 2026-08-27 #494

Description

@github-actions

Global Summary

This repository implements Rig, a minimal TypeScript multi-agent harness. The core runtime (skills/rig/rig.ts) provides declarative agent construction with typed input/output schemas, prompt intents, and a Copilot SDK engine. Additional engine adapters (Anthropic, Codex, Gemini, Pi) extend support to multiple LLM providers, while src/ holds unit tests and scripts/ contains integration test runners and sample scaffolding.

Individual File Summaries

File Summary
.agents/skills/rig/engines/anthropic.ts Implements the Anthropic engine adapter for Rig, translating Rig agent requests into Anthropic SDK API calls using beta tool-use features.
.agents/skills/rig/engines/codex.ts Provides a Codex (OpenAI) engine adapter that bridges Rig agent calls to the @openai/codex-sdk thread API.
.agents/skills/rig/engines/gemini.ts Implements a Gemini engine adapter that spawns a subprocess and communicates via stdio to support Google Gemini models.
.agents/skills/rig/engines/pi.ts Wraps the Pi AI agent SDK to expose a Rig-compatible AgentFactory for the Pi provider.
.agents/skills/rig/engines/utils.ts Shared utility for converting Rig tool definitions into JSON Schema object format expected by LLM APIs.
.agents/skills/rig/globals.ts Exposes ambient workflow context helpers (call, pipeline, parallel) as module-level functions via rig/globals.
.agents/skills/rig/rig.ts Mirror/snapshot of the core Rig runtime used by the .agents layer, identical in purpose to skills/rig/rig.ts.
scripts/haiku.integration.test.ts Integration test that spawns the Rig launcher as a subprocess and validates real end-to-end agent execution against a live model.
scripts/run-sample.test.ts Vitest-based sample runner that stubs the Copilot SDK client and synthesizes shape-conforming output to validate all sample programs.
skills/rig/engines/anthropic.ts Canonical source for the Anthropic engine adapter (same implementation as the .agents mirror).
skills/rig/engines/codex.ts Canonical source for the Codex engine adapter.
skills/rig/engines/gemini.ts Canonical source for the Gemini engine adapter that spawns the Gemini CLI subprocess.
skills/rig/engines/pi.ts Canonical source for the Pi AI engine adapter.
skills/rig/engines/utils.ts Canonical source for shared tool-schema utility helpers.
skills/rig/globals.ts Canonical source for ambient workflow context module exports.
skills/rig/rig.ts The main Rig harness: defines agent, workflow, s.* schema helpers, p.* prompt intents, copilotEngine, and the launcher CLI entry-point.
src/engines/anthropic.test.ts Unit tests for the Anthropic engine adapter using vitest mocks.
src/engines/codex.test.ts Unit tests for the Codex engine adapter using vitest mocks.
src/engines/copilot.test.ts Unit tests for the Copilot SDK engine, covering session creation, sendAndWait, and disconnect flows.

Generated by Daily Rig File Summarizer · sonnet46 55.5 AIC · ⌖ 8.1 AIC · ⊞ 4.3K ·

  • expires on Sep 3, 2026, 7:02 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions