Developer Tools

Flue is a TypeScript framework for building the next generation of agents

Build advanced AI agents with 22 lines of TypeScript—deploy anywhere

Deep Dive

Flue is a new TypeScript framework designed to build the next generation of autonomous AI agents. Unlike traditional SDKs, Flue provides a programmable 'harness' that mirrors the architecture behind tools like Claude Code and Codex. Developers get access to a sandboxed filesystem, bash shell, skill-based workflows, session memory, and fine-grained control over model tokens and prompts. Agents can read, write, grep, glob files, run bash commands, call sub-agents, and adopt roles—all while the developer retains absolute control over sensitive decisions like committing code or posting comments.

The framework supports any remote sandbox or its built-in zero-config virtual sandbox. Agents can be shipped as an HTTP server for production or run directly from the CLI for local tasks and CI pipelines. A full GitHub issue triage agent takes just 22 lines of TypeScript, demonstrating how Flue can replace purpose-built tools like Dosu, Greptile, and CodeRabbit. With Flue, you own the entire stack: model, harness, and sandbox. It offers a flexible, developer-first alternative to renting generic AI tools that struggle to fit specific products, data, and workflows.

Key Points
  • Build a complete autonomous agent in just 22 lines of TypeScript, including GitHub issue triage
  • Agents run as both CLI tools and HTTP servers, deployable anywhere with zero-config sandboxing
  • Fine-grained control over tokens, shell commands, and environment variables — developers own the full stack

Why It Matters

Flue gives developers complete ownership of autonomous agents, replacing generic AI tools with custom, workflow-specific solutions.