1.0 Beta — Read the announcement

The Open Agent Framework

Build durable AI agents with Flue's programmable TypeScript harness. Write once, deploy anywhere, use any LLM.

agents/triage.ts
'use agent'; // yes, really ;)

import { useModel, usePersistentState, useSandbox, useSkill, useTool } from '@flue/runtime';
import { local } from '@flue/runtime/node';
import { replyToIssue } from '../tools/github.ts';
import triage from '../skills/triage/SKILL.md';

export function IssueTriage() {
  // Define your agent useing hooks.
  // Dynamically compose together different capabilities.
  useModel('anthropic/claude-sonnet-5-0');
  useTool(replyToIssue);
  useSkill(triage);
  // Store data on each agent, and update your
  // agent capabilities as your state changes.
  const [isSandbox, setSandbox] = usePersistentState('isSandbox', false);
  if (isSandbox) {
    useSandbox(local());
  }
  // Return your agent instructions. Flue handles the rest.
  return `Triage a bug report end-to-end ...`;
}

Powered by Pi, the open agent harness.

Flue is powered by Pi, the trusted agent harness used by OpenClaw and millions worldwide. Pi gives you the tools you need to unlock real agent autonomy, moving beyond simple chatbots.

Pi is the core of our open tech stack including Durable Streams, Vite, and a flexible Sandbox API. Deploy Flue anywhere with confidence.

Flue agent architecture An isometric agent harness powered by Pi, stacked above the Flue runtime. RUNTIME SANDBOX · DATABASE · DEPLOYMENT HARNESS SESSIONS · TOOLS · SKILLS

Durability. Recovery. It's all handled for you.

Agents can’t die when the server goes down. Flue records every session in a durable stream, then safely resumes interrupted work when the runtime comes back online. Run one agent or a multi-agent swarm on the same durable foundation.

  • Accepted work is never lost
  • Interrupted sessions resume automatically
  • Clients reconnect without starting over
0 agents online