flue

Active
GitHub TypeScript Apache-2.0

Description

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

💡 Provide a sandbox for agents in TypeScript / Node projects
💡 Safely run AI-generated code in CI
💡 Provide a consistent environment for multi-step agent tasks
💡 Build reproducible AI coding workflows

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (8.1k stars)
  • Permissive open-source license (Apache-2.0)
  • Responsive to issues, low backlog

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()

Related Projects

Arrow

3.7k · TypeScript
Normal A

Arrow is the first UI framework for the agentic era, tiny and performant with built-in WASM sandboxes for safe code execution, purpose-built for building AI agent interfaces.

typescriptuiwasm +1
  • · Tiny and blazing-fast reactive UI runtime built on JavaScript modules, template literals, and DOM primitives
  • · Built-in WASM sandbox via QuickJS for safe code execution isolated from the host window realm
  • · Full SSR and hydration support with `@arrow-js/ssr` and `@arrow-js/hydrate` packages

BaseAI

1.3k · TypeScript
Stale C

BaseAI is a serverless AI agent framework for web developers, enabling local-first agentic pipes, tools, and memory with one-command serverless deployment for rapid AI agent application delivery.

typescriptserverlessweb +1
  • · Serverless AI agent framework for web developers, TypeScript-first
  • · Local-first agentic pipes development experience with one-command serverless deployment
  • · Built-in memory (RAG) and tool integration with customizable system prompts and model params