Skip to content

Stubb 0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 17:33
· 7 commits to main since this release
6a91366

The first stable release of Stubb, a Rust library for embedding coding agents in your application.

Highlights

  • One API for four kinds of agent. Claude Code, OpenAI Codex and Pi through their native protocols, and any Agent Client Protocol agent through stubb::providers::acp, all behind the stubb::Provider trait.
  • Sessions and streaming. Start, resume, fork and list sessions, read stored history, and stream messages, tool activity and turn events.
  • Permission requests. Forward an agent's tool permission prompts to your users and answer them asynchronously, with each provider's own approval and sandbox settings.
  • Agent controls. Change model, effort and permissions mid-session, steer a running turn or queue follow-ups, send images, compact context, and follow subagents and background tasks.
  • Discovery. Probe which agents are installed and signed in, show their name and logo, and update them with their own updaters.

Upgrading

  • From 0.1.0-rc.2: no code changes. From 0.1.0-rc.1: follow the 0.1.0-rc.2 table first.
  • From now on, 0.1.x versions only add to the API; breaking changes wait for 0.2.0 (versioning rules). Stored event JSON is versioned by session::EVENT_FORMAT.

Install

Stubb needs Rust 1.99 or newer and a Tokio runtime; each provider is a Cargo feature (claude, codex, pi, acp), all on by default. See the README and the API reference.

Full changelog · v0.1.0-rc.2...v0.1.0