Web — langstage¶
The web stage: a chat workspace for your LangGraph agent with real-time streaming, a workspace file browser, scheduled runs, and a canvas for visualizations. React frontend, FastAPI backend.
Quickstart¶
pip install langstage
langstage run --demo # keyless echo agent
langstage run --agent my_agent.py:graph # your agent
langstage run --agent my_agent.py:graph --port 8080 --theme dark --title "My Agent"
From Python:
from langstage import CoworkApp
app = CoworkApp(
agent=your_langgraph_agent, # any LangGraph CompiledGraph
workspace="./workspace",
title="My Agent",
)
app.run()
What it looks like¶
write_todos calls.
Highlights¶
- Streaming chat with inline tool-call visualization (args, results, duration, status).
- Starter prompts — one-click suggestion chips on the empty state to get going fast.
- Rich inline content — HTML, Plotly, images, DataFrames, PDFs, JSON.
- Canvas panel — a persistent report surface; opt in by attaching
CanvasMiddlewareto your agent. - File browser, task tracking, human-in-the-loop approval dialogs.
- Scheduled runs on cron expressions — with one-click presets for common cadences (hourly, daily, weekdays) so you don't have to write raw cron.
- Theming (light/dark/auto), optional HTTP Basic Auth, custom branding.
See Configuration for the full set of
flags, env vars, and langstage.toml keys.