Skip to content

feat: multi-agent macroeconomics data pipeline example#6

Open
apetta wants to merge 3 commits intomainfrom
feat/macro-agent-example
Open

feat: multi-agent macroeconomics data pipeline example#6
apetta wants to merge 3 commits intomainfrom
feat/macro-agent-example

Conversation

@apetta
Copy link
Copy Markdown
Contributor

@apetta apetta commented Feb 25, 2026

Summary

New macro-agent example — a multi-agent pipeline that downloads the World Bank WDI dataset (~76MB, 401K rows), extracts economic indicators via specialized subagents, and builds a formatted Excel dashboard.

  • Orchestrator → Miner → Modeler pipeline with sandboxed agent-xlsx CLI calls via @anthropic-ai/sandbox-runtime (Apple Seatbelt on macOS, bubblewrap on Linux)
  • Reusable skills provider (src/lib/skills/) that lazy-loads agent-xlsx CLI docs from GitHub into InMemoryFs, so agents discover commands from skill references instead of hardcoded prompts
  • Single generic tool design — all agents share one AgentXlsx passthrough tool rather than per-subcommand typed tools, avoiding schema drift as the CLI evolves
  • Preflight check fails fast if agent-xlsx is not on PATH
  • Comprehensive README covering architecture, sandbox model, skills provider, and design decisions

Orchestrator-miner-modeler pipeline that downloads World Bank WDI data,
extracts indicators via agent-xlsx, and builds a formatted Dashboard.xlsx.
Includes sandboxed execution via @anthropic-ai/sandbox-runtime.
Add a reusable skills provider module (src/lib/skills/) that bridges the
agentskills.io ecosystem with zeitlich agents via InMemoryFs lazy files.
Skills are fetched from GitHub on first read and cached thereafter.

Integrate the agent-xlsx skill into all three macro-agent workflows
(orchestrator, miner, modeler) so agents discover CLI commands, flags,
and patterns from the skill reference rather than hardcoded prompts.

Key changes:
- src/lib/skills/: types, catalog builder, lazy mount + load-skill command
- Macro-agent prompts de-hardcoded: agents derive titles, years, columns,
  and layout from the data rather than from prescriptive system prompts
- All sandbox/ path prefixes removed from prompts (tool runs from sandbox)
- Tool description trimmed to structural info (skill owns command reference)
- Remove redundant Dashboard.xlsx copy-to-root from start.ts
Add comprehensive documentation covering architecture, sandbox design,
skills provider, and key design decisions. Add assertAgentXlsxInstalled
preflight in the worker to fail fast if the CLI is missing from PATH.
@apetta apetta requested a review from Stereobit February 25, 2026 20:49
@Stereobit
Copy link
Copy Markdown
Contributor

@apetta, we could try to update this to the latest zeitlich version, lots of the features needed are now built in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants