Scoopfeeds — Intelligent news, curated.
computer-science

Flue is a TypeScript framework for building the next generation of agents

Hacker News · May 2, 2026, 5:32 PM

Key takeaways

  • Build powerful, autonomous agents with Flue's programmable Type Script harness.
  • They can plan, gather context, write files, spawn subagents, adopt roles, and problem-solve.
  • Flue is a framework for the next generation of agents.

The Agent Harness Framework Not another SDK. Build powerful, autonomous agents with Flue's programmable Type Script harness. Write once, deploy anywhere.

agents/triage.ts flue run triage POST /agents/triage/:id export default async function ({ init, payload, env }) { // Initialize a new agent. // Provide a hosted sandbox, or use Flue's built-in virtual sandbox. const agent = await init({ model: 'anthropic/claude-sonnet-4-6' }); const session = await agent.session(); // Call skills as reusable workflows with structured output: const triage = await session.skill('triage', { args: { issueNumber: payload.issueNumber }, result: v.object({ fixApplied: v.boolean() }), }); // Keep track of work in the session, just like Claude Code or Codex: const comment = await session.prompt('Write a GitHub comment summarizing the triage.'); // Keep absolute control over the agent's most critical decisions: if (triage.fixApplied) { await session.shell('git add -A git commit --file -', { stdin: `fix: ${triage.summary}` }); } // Protect your sensitive tokens and API keys with fine-grained control: await session.shell(`gh issue comment ${Number(payload.issueNumber)} --body-file -`, { stdin: comment, env: { GITHUB_TOKEN: env.GITHUB_TOKEN }, }); } Agent = Model + Harness It's the architecture that makes coding agents like Claude Code and Codex so powerful. They can plan, gather context, write files, spawn subagents, adopt roles, and problem-solve. These agents are more than just chatbots. Why isnt every agent built like this?

Flue is a framework for the next generation of agents. Flue's programmable agent harness is able to represent any autonomous agent or workflow, from simple chatbots to entire coding platforms. Connect your favorite remote sandbox, or use our built-in zero-config virtual sandbox to give your agent a place to work through any task.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop