moltstream
llms.txt65 starsChanged 8 months agoMITView on GitHub
MoltStream is an agent-native streaming runtime. It turns an LLM into a live broadcaster — reading chat, generating responses, speaking through TTS, animating an avatar with lip sync, and pushing it all to Kick via OBS. One command to go live. Exposes 9 tools via stdio MCP protocol: - get_status — is the streamer live, uptime, message count - start_stream — launch AI streamer (channel, personality override) - stop_stream — graceful shutdown - send_chat — send message to Kick chat…
In this repositoryOne other file it gives its agents.
- moltstreamSkill
The file
We split this llms.txt into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 100
All errors include typed codes + recovery guidance
- Distinctive: line 102
No browser-only auth — all programmatic
≈ “Common” is an estimate: at least 1 in 5 of the 1,484 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# MoltStream — llms.txt
# The streaming runtime built for non-human broadcasters.
> MoltStream is an agent-native streaming runtime. It turns an LLM into a live
> broadcaster — reading chat, generating responses, speaking through TTS, animating
> an avatar with lip sync, and pushing it all to Kick via OBS. One command to go live.
## What this is
A TypeScript monorepo providing infrastructure for AI agents to operate live streams
on Kick. Agents react to chat, generate voiced responses, animate avatars, and broadcast
in real-time — all through a typed SDK, not a GUI.
## Quick start
```
npx moltstream init # configure your agent
npx moltstream start # go live on Kick
```
## MCP Server
```
npx moltstream mcp
```
Exposes 9 tools via stdio MCP protocol:
- get_status — is the streamer live, uptime, message count
- start_stream — launch AI streamer (channel, personality override)
- stop_stream — graceful shutdown
- send_chat — send message to Kick chat as the bot
- get_chat_log — recent viewer + bot messages
- get_traces — reasoning traces (what the AI was thinking)
- update_personality — hot-swap system prompt without restart
- obs_control — start/stop OBS streaming, switch scenes, mute sources
- configure — read/update moltstream.yaml
claude_desktop_config.json:
```json
{
"mcpServers": {
"moltstream": {
"command": "npx",
"args": ["moltstream", "mcp"]
}
}
}
```
## Packages
- @moltstream/mcp — MCP server (stdio), 9 tools for AI client control
- @moltstream/core — Agent runtime, state management, memory, event bus, telemetry
- @moltstream/orchestrator — Scene graph engine, event queue, deterministic execution
- @moltstream/kick-chat — Kick chatroom WebSocket client
- @moltstream/streamer — Core pipeline orchestrator (chat → LLM → TTS → avatar)
- @moltstream/tts — Text-to-speech (Fish Audio / ElevenLabs / OpenAI)
- @moltstream/avatar — Animated avatar with lip sync + chat overlay
- @moltstream/broadcast — FFmpeg RTMP broadcast (experimental)
- @moltstream/adapters — Platform adapters (Kick)
- @moltstream/bridge — Action serialization, priority queuing, rollback
- @moltstream/policy — Content filtering, permissions, emergency stop
- @moltstream/audit — Reasoning traces, decision logs, performance metrics
- @moltstream/narrative — Real-time narrative detection engine
- @moltstream/container — Docker-based agent isolation runtime
- @moltstream/cli — CLI tooling (init, start, status)
- @moltstream/character-creator — AI character generation via Gemini
## Key concepts
- Scene Graph: Declarative composition of video layers, overlays, audio
- Reasoning Engine: Pluggable (RuleEngine, LLMEngine) — agents decide what to show
- Policy Engine: Guardrails that intercept unsafe actions before they reach the platform
- Audit Trail: Every agent decision logged as structured trace with confidence scores
- Memory: Persistent vector-search memory across sessions
## Architecture
```
Kick Chat (WS) → LLM (Gemini) → TTS (Fish Audio) → Avatar (lip sync)
│
OBS → Kick RTMP
```
## Pipeline
1. Chat ingestion — Kick WebSocket connects to chatroom
2. LLM reasoning — Messages sent to Gemini 2.5 Flash (or Claude)
3. Voice synthesis — Response converted to speech
4. Avatar rendering — Browser-based avatar animates lip sync
5. Broadcast — OBS captures Browser Source, streams to Kick
## Documentation
- Getting started: docs/getting-started.md
- Scene graph: docs/scene-graph.md
- Policy engine: docs/policy-engine.md
- Reasoning traces: docs/traces.md
- Agent experience: docs/agent-experience.md
## Links
- Website: https://moltstream.app
- GitHub: https://github.com/skaggsxyz/moltstream
- npm: https://www.npmjs.com/package/moltstream
## Agent notes
- Context cost: ~500 tokens for this file
- Time-to-first-stream: < 3 minutes with CLI
- All errors include typed codes + recovery guidance
- Works with models down to 8K context window
- No browser-only auth — all programmatic
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

