> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boxd.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Flue

> The agent harness framework from the maker of Astro. Every Flue agent gets its own Linux VM through the boxd connector.

<img src="https://mintcdn.com/azin/psRZbQh2QwMUVL3U/images/boxd-x-flue.png?fit=max&auto=format&n=psRZbQh2QwMUVL3U&q=85&s=d77b2a590b41a1dca0fb520546bb8982" alt="boxd.sh and Flue, the agent harness framework" width="2400" height="1640" data-path="images/boxd-x-flue.png" />

[Flue](https://flueframework.com) is the agent harness framework from [Fred K. Schott](https://github.com/FredKSchott), known from [Astro](https://astro.build). It feels like Claude Code, but fully headless and programmable in TypeScript. Flue agents can opt into a full sandbox, and the boxd connector gives each agent its own Linux VM:

```typescript theme={"theme":"github-dark"}
import { Compute } from '@boxd-sh/sdk';
import { boxd } from './connectors/boxd';

const c = new Compute({ apiKey: process.env.BOXD_API_KEY });
const box = await c.box.create({ name: 'my-agent' });
const agent = await init({ sandbox: boxd(box), model: 'anthropic/claude-sonnet-4-6' });
const session = await agent.session();
```

You own the machine's lifecycle through the [TypeScript SDK](/reference/typescript-sdk), and the connector adapts it to Flue's sandbox interface. The [connector](https://github.com/withastro/flue/blob/main/connectors/sandbox--boxd.md) is written so a coding agent can install it into your Flue project, and Flue's own docs cover it under [sandboxes](https://github.com/withastro/flue/blob/main/apps/docs/src/content/docs/ecosystem/sandboxes/boxd.md).
