{"id":51417028,"url":"https://github.com/rpodgorny/agentcat","last_synced_at":"2026-07-04T20:30:25.339Z","repository":{"id":344258547,"uuid":"1179630137","full_name":"rpodgorny/agentcat","owner":"rpodgorny","description":"Universal stream formatter for AI coding agent output. Pipes NDJSON from Claude Code, pi.dev, Gemini CLI, and Codex CLI into rich, human-friendly terminal output.","archived":false,"fork":false,"pushed_at":"2026-04-10T08:24:35.000Z","size":118,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-30T17:05:08.097Z","etag":null,"topics":["ai","ai-agents","claude-code","cli","codex","developer-tools","formatter","gemini","ndjson","rust","terminal"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/agentcat","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpodgorny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-12T08:09:25.000Z","updated_at":"2026-04-10T08:24:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rpodgorny/agentcat","commit_stats":null,"previous_names":["rpodgorny/agentcat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rpodgorny/agentcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpodgorny%2Fagentcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpodgorny%2Fagentcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpodgorny%2Fagentcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpodgorny%2Fagentcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpodgorny","download_url":"https://codeload.github.com/rpodgorny/agentcat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpodgorny%2Fagentcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35135341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agents","claude-code","cli","codex","developer-tools","formatter","gemini","ndjson","rust","terminal"],"created_at":"2026-07-04T20:30:24.720Z","updated_at":"2026-07-04T20:30:25.331Z","avatar_url":"https://github.com/rpodgorny.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# agentcat\n\nA universal stream formatter for AI coding agent output. Pipe NDJSON streams from multiple AI agent CLIs through agentcat to get rich, human-friendly terminal output with colors, emojis, spinners, and structured formatting.\n\n## Supported agents\n\n- **Claude Code** — `claude -p ... --output-format stream-json --verbose --include-partial-messages`\n- **pi.dev** — `pi --mode json ...`\n- **Gemini CLI** — `gemini -o stream-json -p ...`\n- **Codex CLI** — `codex exec --json ...`\n- **OpenCode** — `opencode run --format json ...`\n\nThe input format is auto-detected from the first JSON line, or can be forced with `--format`.\n\n## Usage\n\n```bash\n# Claude Code\nclaude -p \"analyze src/main.rs\" --output-format stream-json --verbose --include-partial-messages | agentcat\n\n# pi.dev\npi --mode json \"refactor the code\" | agentcat\n\n# Gemini CLI\ngemini -o stream-json -p \"explain this function\" | agentcat\n\n# Codex CLI\ncodex exec --json \"write tests\" | agentcat\n\n# OpenCode\nopencode run --format json \"say hello\" | agentcat\n\n# Show extended thinking blocks\nclaude -p \"complex task\" --output-format stream-json --verbose --include-partial-messages | agentcat --show-thinking\n```\n\n## Options\n\n```\nagentcat [OPTIONS]\n\n  --show-thinking     Show extended thinking blocks\n  --no-emoji          Disable emoji output\n  --no-color          Disable ANSI color output\n  --format \u003cFORMAT\u003e   Force input format (claude|pi|gemini|codex|opencode)\n  --version           Print version\n  --help              Print help\n```\n\nThe `NO_COLOR` environment variable is also respected.\n\n## What it shows\n\n- Session info (agent type, model, session ID)\n- Streaming text responses with live updates\n- Tool execution with animated per-tool spinners and elapsed time\n- Extended thinking blocks (with `--show-thinking`)\n- Token usage, cost, and timing statistics\n- Error context and warnings\n\n## Installation\n\n### From crates.io\n\n```bash\ncargo install agentcat\n```\n\n### From source\n\n```bash\ngit clone https://github.com/rpodgorny/agentcat.git\ncd agentcat\ncargo build --release\n# binary is at target/release/agentcat\n```\n\n### Arch Linux (AUR)\n\n```bash\nyay -S agentcat-git\n```\n\n## Exit codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | Success |\n| 1 | Agent reported failure |\n| 2 | Parse error, empty stdin, or unrecognized format |\n\n## Similar projects\n\nAll known similar tools are Claude Code specific:\n\n- [claude-stream-format](https://github.com/jemmyw/claude-stream-format) — Rust CLI for formatting Claude Code JSON streams\n- [claude-clean](https://github.com/ariel-frischer/claude-clean) — Go CLI with multiple output styles (boxed, compact, minimal, plain)\n- [format-claude-stream](https://github.com/Khan/format-claude-stream) — TypeScript CLI by Khan Academy, also usable as a library\n- [claude-stream-json-parser](https://github.com/shibuido/claude-stream-json-parser) — Rust library and CLI for parsing Claude Code stream-json output\n\nagentcat is the only tool we know of that supports multiple agent formats (Claude Code, pi.dev, Gemini CLI, Codex, OpenCode) under a single unified interface.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpodgorny%2Fagentcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpodgorny%2Fagentcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpodgorny%2Fagentcat/lists"}