The sandbox agent framework.
Not another SDK. Build autonomous agents with Flue's programmable TypeScript harness.
…The first agents were built with raw LLM API calls. This worked for simple chatbots and scripted tasks, but not much else.
Agents like Claude Code and Codex broke the mold. These were real agents. Autonomous. You give them a task — not a pre-defined series of steps — and trust them to complete it using the context and tools that you provide.
Flue unlocks this new architecture for agents. Its built-in TypeScript harness gives any model the context and environment it needs for truly autonomous work: sessions, tools, skills, instructions, filesystem access, and a secure sandbox to run in. Run your agents locally via CLI or deploy them to your hosted runtime of choice.
Build agents that can safely take action, maintain continuity, and connect to the systems where work already happens.
| Package | Description |
|---|---|
@flue/runtime |
Runtime: harness, sessions, tools, sandbox |
@flue/vite |
Vite plugin: vite dev / vite build for Node and Cloudflare |
@flue/cli |
CLI (flue binary): local runs, blueprints, offline docs |
@flue/sdk |
Client SDK for consuming deployed agent conversations |
@flue/opentelemetry |
OpenTelemetry tracing adapter |
@flue/postgres |
Postgres persistence adapter |
useAgentFinish is skipped after a restart: a response interrupted during the finish hook settles as success
Local sandbox: a child that ignores SIGTERM survives an exec() timeout, because the SIGKILL fallback is cancelled when the shell exits
dispatch() drops host metadata on a kind: "user" delivered message
@flue/react: expose bounded history (limit, before, loadOlder) in useFlueAgent
`appendDelta` splits a live message into several text parts when a provider interleaves reasoning and text deltas
e2b blueprint: exec throws on non-zero exit instead of returning exitCode
Upstash Redis and Upstash Box Support
@flue/runtime: import @modelcontextprotocol/client on the first MCP connection, not at start-up
`observe()` cancels and reopens the stream when a subscriber throws
LINE