flue
ActiveDescription
Flue is an Astro-native toolkit for building AI agent applications, providing streaming, tool use, and structured output helpers for Astro endpoints.
Key Features
- Built by the Astro team, a renowned open-source group
- Secure code execution providing isolated environments for AI agents
- Reproducible runs with consistent environments for easy debugging
- TypeScript-first with seamless Node ecosystem integration
- Observable with built-in execution logs and artifact capture
Use Cases
Categories
Quick Start
# Install
npm install flue
# Launch a sandbox from Node
import { Flue } from "flue"
const sb = await Flue.create()
const result = await sb.exec("node -e 'console.log(2+2)'")
console.log(result.stdout) // "4"
await sb.close()