Analysis updated 2026-05-18
Automate Claude Code tasks from a script instead of the interactive terminal.
Build a custom tool or agent that chains multiple Claude prompts together.
Capture Claude's responses as structured JSON for further processing.
Reuse an existing Claude login and session state without calling the API directly.
| dexhorthy/shannon | placenl2026/best-of-algorithmic-trading | erezshahaf/lore | |
|---|---|---|---|
| Stars | 204 | 204 | 208 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 1/5 | 3/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires the Claude CLI, tmux, and Bun installed, plus an existing Claude login.
Shannon is a command-line tool and code library that lets you drive an interactive Claude Code session programmatically and capture the output as structured data. Normally, Claude Code is designed for interactive use in a terminal, you type prompts and read responses. Shannon solves the problem of using Claude Code from scripts, automated workflows, or your own applications without calling the Anthropic API directly. It works by starting a real Claude session inside tmux, a tool for managing terminal sessions in the background, then sending your prompt to that session and reading Claude's on-disk transcript file to capture the responses. Because it drives the actual Claude CLI rather than calling the API itself, it reuses your existing Claude login and any session state or context that comes with it. You would use this if you want to automate Claude Code tasks from a script, integrate Claude into a custom tool, or build agents that chain multiple Claude prompts together while receiving structured output. It outputs responses in streaming line-by-line JSON format, single-object JSON, or plain text. It can be used as a command-line tool or imported as a library. It requires the Claude CLI, tmux, and Bun to be installed on your machine. Built with TypeScript.
A command-line tool and library that drives Claude Code sessions from scripts and captures the output as structured data.
Mainly TypeScript. The stack also includes TypeScript, Bun, tmux.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.