Withastro/flue: The sandbox agent framework
Flue is an experimental TypeScript framework for building autonomous AI agents, designed to operate without human intervention and deploy across various environments. It uses a virtual sandbox powered by just-bash for efficiency, supporting deployment on platforms like Cloudflare and GitHub Actions. Agents are configured primarily through Markdown files, with minimal code required for execution.
- ▪Flue is a runtime-agnostic framework for building AI agents, similar to Astro or Next.js but for agent-based applications.
- ▪The framework uses virtual sandboxes by default, making agents faster, cheaper, and more scalable than container-based alternatives.
- ▪Agents can be triggered via webhooks and use Markdown for defining skills, context, and behavior, with support for typed, schema-validated outputs.
- ▪Flue supports integration with third-party services and tools through connectors and can run in environments like Node.js, Cloudflare, and GitHub Actions.
- ▪Examples include a translation agent, a support agent using an R2 bucket for knowledge, and a CI-based triage agent for GitHub issues.
Opening excerpt (first ~120 words) tap to expand
Experimental — Flue is under active development. APIs may change. Looking for v0.0.x? See here. Flue Flue is The Agent Harness Framework. If you know how to use Claude Code (or OpenCode, Codex, Gemini, etc)... then you already know the basics of how to build agents with Flue. Flue is a TypeScript framework for building the next generation of agents, designed around a built-in agent harness. It's like Claude Code, but 100% headless and programmable. There's no baked-in assumption like requiring a human operator to function. No TUI. No GUI. Just TypeScript. But using Flue feels like using Claude Code. The agents you build act autonomously to solve problems and complete tasks. They require very little code to run — most of the "logic" lives in Markdown: skills, context, and AGENTS.md.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News: Newest.