Skip to main content

AgentsTV

PyPI version License: MIT Python 3.10+

Turn your AI coding agent sessions into a Twitch-style pixel art live stream.

Your Claude Code sessions are already generating thousands of events. AgentsTV turns them into something you can actually watch -- pixel art characters coding in real-time, simulated Twitch chat reacting to what the agent does, esports-style narration, and a Master Control Room when you're running multiple sessions.

AgentsTV session view

AgentsTV dashboard

Quick Start

pip install agentstv
agentstv

That's it. The dashboard auto-discovers your Claude Code session logs and opens in your browser.

Add AI Chat (optional)

AgentsTV can use a local LLM via Ollama for viewer chat, narrator commentary, and interactive Q&A:

ollama pull qwen3:14b
agentstv --llm ollama --ollama-model qwen3:14b

Without Ollama, everything works -- viewer chat uses built-in fallback messages.

Hardware Model Notes
Desktop GPU (12GB+ VRAM) qwen3:14b Best overall
MacBook / Laptop qwen3:8b Good balance of quality and speed
Low VRAM / older GPU phi4-mini Lightweight, surprisingly capable

Also supports OpenAI and Anthropic as cloud LLM providers. Configure via CLI flags or the in-app settings panel.

Features

  • Pixel art webcam -- Procedurally generated coding scenes with idle animations, desk decorations, weather effects, and event reactions (error shakes, completion confetti, spawn rings, thinking bubbles)
  • Viewer chat -- Simulated Twitch chat where LLM-generated viewers react to what the agent is doing
  • Interactive chat -- Ask questions about what the agent is working on and get context-aware answers
  • Narrator bot -- Esports-style play-by-play commentary on agent activity
  • Auto stream titles -- Generated from recent activity (e.g. Coding / Python / main)
  • Master Control Room -- Multi-monitor view aggregating all active sessions with status LEDs and alert lights
  • Session replay -- Play back completed sessions with seek, speed control (0.5x-8x), and full event recreation
  • Clip recording -- Record and download WebM clips of interesting moments
  • OBS overlay -- Browser Source page at /overlay.html for compositing over your stream
  • Sound effects -- Keystrokes, error buzzer, completion chime, chat pops
  • Public mode -- --public flag scrubs API keys, tokens, paths, and secrets server-side before sharing
  • Dark / light theme, keyboard shortcuts (? to view), search and sort, stream alert toasts

Usage

agentstv                         # Launch (opens browser)
agentstv --port 8420             # Custom port (default: 8420)
agentstv --host 0.0.0.0         # Bind to all interfaces (LAN access)
agentstv --public                # Redact secrets for public sharing
agentstv --low-power             # Reduce LLM batch sizes for laptops
agentstv --no-browser            # Don't auto-open browser

Session logs are discovered from ~/.claude/projects/. Override with AGENTSTV_DATA_DIR=/path/to/logs.

Supported Formats

  • Claude Code JSONL transcripts (full support)
  • Codex CLI session logs (experimental)
  • Gemini CLI session logs (experimental)

About

The idea started as a simple TUI to replay Claude Code session logs. I built the first version, went to bed, and woke up wanting something completely different: a Twitch-style live dashboard with pixel art characters, LLM-powered chat, and streaming overlays. The full web app was built and published in about 12 hours.

Built with Claude Code. I made the architectural decisions and directed the implementation across Python, JavaScript, HTML, and CSS.

Contributing

Contributions are welcome! AgentsTV is MIT-licensed and open to PRs.

git clone https://github.com/andrewle8/AgentsTV.git
cd AgentsTV
pip install -e .
agentstv --no-browser

Areas where help is especially welcome:

  • Additional agent format parsers (Copilot CLI, Aider, etc.)
  • Custom pixel art themes and character skins
  • Mobile layout improvements
  • OBS overlay enhancements

License

MIT

Metadata

Release files for agentstv 0.7.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentstv 0.7.4
File Size Uploaded Provenance
agentstv-0.7.4.tar.gz 530.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agentstv 0.7.4
File Interpreter ABI Platform
agentstv-0.7.4-py3-none-any.whl Python 3 none any Details

Total release size: 632.1 kB

Release files / agentstv-0.7.4.tar.gz

Download URL agentstv-0.7.4.tar.gz
Size 530.2 kB
Tags Source
SHA-256 checksum
How to use checksums
af6033eb6dfda55d5617c3480ac472898789baf9646967b2fe920fd3abb6939c
BLAKE2b-256 checksum
How to use checksums
a683de6ed7b35dca134ff72fb328bfd28e2c67b5119a7fed285623d71775567c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / agentstv-0.7.4-py3-none-any.whl

Download URL agentstv-0.7.4-py3-none-any.whl
Size 102.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
992431885fa9d4bba8da24ee2e1bd83e9516d032055b686ad96a064217581e08
BLAKE2b-256 checksum
How to use checksums
41961eab6bd34c2b61ee94f7ae03459f087191d4b0480f171dde735780d81171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for agentstv 0.7.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page