Flue is a TypeScript framework for building the next generation of agents
Source: Hacker News
Agent = Model + Harness
It’s the architecture that makes coding agents like Claude Code and Codex so powerful. They can plan, gather context, write files, spawn sub‑agents, adopt roles, and problem‑solve. These agents are more than just chatbots. Why isn’t every agent built like this?
Flue is a framework for the next generation of agents.
Flue’s programmable agent harness can represent any autonomous agent or workflow, from simple chatbots to entire coding platforms. Connect your favorite remote sandbox, or use the built‑in zero‑config virtual sandbox to give your agent a place to work through any task.
When you’re ready to ship, Flue bundles your agents into an HTTP server that you can deploy anywhere. Or skip the server and run your agents directly from the CLI—perfect for local tasks and CI.
Modern Agent Architecture
| # | Layer | Capabilities |
|---|---|---|
| 01 | Model | tokens, tools, prompts |
| 02 | Harness | skills, memory, sessions |
| 03 | Sandbox | bash, security, network |
| 04 | Filesystem | read, write, grep, glob |
Build your own AI issue triage in 22 lines of TypeScript
Replace existing solutions such as Dosu, Greptile, CodeRabbit with a concise, custom implementation built on Flue’s building blocks.
Why choose Flue?
- Full‑stack control – you own the agent, the harness, and the sandbox.
- Programmable interface – intuitive APIs let you compose smarter agents.
- Self‑hosted – avoid renting third‑party agents that are generic and hard to adapt to your product, data, customers, or workflows.
Start connecting the pieces together and build a more powerful, autonomous agent today.