invoking-cli-agents

Community

Orchestrate CLI agents from Python.

AuthorScottRBK
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Programmatically invoke and orchestrate CLI coding agents (Claude Code, OpenCode) from Python, enabling multi-agent collaboration, streaming outputs, and session continuity.

Core Features & Use Cases

  • Orchestrate multiple CLI agents from Python, with a unified interface for execute and stream.
  • Manage session resumption via session_id for multi-step workflows.
  • Apply tool scoping (Claude Code only) to restrict agent capabilities and track costs.
  • Example workflow: orchestrate a planning step followed by execution and streaming results.

Quick Start

Instantiate agents via AgentShell and call execute() or stream() to coordinate a CLI agent.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: invoking-cli-agents
Download link: https://github.com/ScottRBK/agent-shell/archive/main.zip#invoking-cli-agents

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.