# withastro/flue

The sandbox agent framework.

Repository: https://github.com/withastro/flue
Canonical: https://ross.abutalabs.com/products/flue
Homepage: https://www.flueframework.com
Language: TypeScript
License: Apache-2.0
License Family: permissive
Last push: 2026-08-08T10:07:09+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 14
- inputs: {"age_days": 207, "days_push": 25, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8039, forks 472 (observed 2026-08-28T04:10:12.049049+00:00)

## What it is
Flue is an open-source TypeScript framework for building autonomous AI agents using a React-like hooks API ('use agent' directive, useModel, useTool, useSandbox). It provides durable sessions, sandboxed execution environments, tools, skills, subagents, and deploys to Node.js, Cloudflare Workers, or other runtimes.

## Use cases
- build autonomous coding agents in typescript
- create ai agents that run tools in a sandbox
- deploy durable ai agents to cloudflare workers
- build multi-agent systems with subagent delegation
- connect ai agents to slack or discord
- run llm agents with durable session recovery
- give agents filesystem and shell access safely

## When to choose
- you want a code-first, hooks-based framework for autonomous agents in TypeScript
- you need durable, resumable agent sessions that survive failures and restarts
- you want sandboxed execution (local, container, or cloud providers like E2B/Modal) for agent actions
- you plan to deploy agents to Node.js, Cloudflare Workers, or CI environments
- you want built-in support for tools, skills, subagents, and MCP servers

## When to avoid
- you only need simple chatbot-style LLM API calls without autonomy or tool use
- your stack is Python-based (e.g., LangChain, CrewAI ecosystems)
- you need a no-code or low-code agent builder
- you require a mature, long-proven framework — Flue is young and evolving rapidly

## Facets
- artifact type: framework
- maturity: active
- function: agent-framework, llm-inference, mcp, cli, web-framework, sdk, workflow-automation
- domain: large-language-models, developer-tools, backend
- platform: cloud, cli, cross-platform, serverless
- tags: agent-harness, hooks-api, durable-sessions, subagents, skills, sandboxed-execution, multi-agent, cloudflare-workers, vite, sandbox, ai-agents, automation, nodejs, typescript, docker

## Member repositories
- withastro/flue (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:12.049049+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:31:29.548412+00:00, confidence not recorded.
  - readme: https://github.com/withastro/flue (fetched 2026-08-28T04:10:12.049049+00:00, sha f66b16164f6f)
  - homepage: https://www.flueframework.com (fetched 2026-08-29T08:29:37.447607+00:00, sha 261549d0478f)
  - site_page: https://flueframework.com/docs/guide/getting-started (fetched 2026-08-29T08:29:37.456648+00:00, sha 2f94fee0afb6)
  - site_page: https://flueframework.com/docs/reference/agent-api (fetched 2026-08-29T08:29:37.458702+00:00, sha 421337a59b6f)
  - site_page: https://flueframework.com/docs/cli/overview (fetched 2026-08-29T08:29:37.461896+00:00, sha a7559d6f3d25)
  - site_page: https://flueframework.com/docs/sdk/overview (fetched 2026-08-29T08:29:37.463474+00:00, sha 5d0983232a52)
  - site_page: https://flueframework.com/docs/ecosystem (fetched 2026-08-29T08:29:37.465140+00:00, sha a57d7d01cf73)
  - site_page: https://flueframework.com/docs/guide/sandboxes (fetched 2026-08-29T08:29:37.466577+00:00, sha 16f6ff36a9bf)
  - site_page: https://flueframework.com/docs/ecosystem/deploy/cloudflare (fetched 2026-08-29T08:29:37.468351+00:00, sha 5d5303fcb995)
  - site_page: https://flueframework.com/docs/ecosystem/channels/slack (fetched 2026-08-29T08:29:37.470622+00:00, sha 41c52ad74234)
- Data as of 2026-08-30T08:39:29.467469+00:00.
