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

# Flue

> Give every Flue agent its own Linux machine through the boxd connector.

![The banner shows the boxd.sh and Flue logos, with Flue described as the agent harness framework.](/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 works like Claude Code, headless and programmable in TypeScript. Flue agents can opt into a full sandbox, and the boxd connector gives each agent its own Linux machine:

```typescript
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, and the connector adapts it to Flue's sandbox interface. The connector is built against version 0.1 of `@boxd-sh/sdk`, so this sample uses that version's `Compute` client and not the `Boxd` client in the current [TypeScript SDK](/reference/typescript-sdk.md). The [connector](https://github.com/withastro/flue/blob/main/blueprints/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).
