← Discover
GitHub · withastro/flue↑ +126 today

TypeScript framework for AI agents

Developed by the Astro team, Flue stands out as a TypeScript-based sandbox agent framework. This structure allows developers to create artificial intelligence agents in secure and isolated environments.

Updates

  • September 29, 2026: Stars 8,374 → 8,393, latest release @flue/cli@2.2.2 (September 28, 2026).
  • September 27, 2026: Stars 8,295 → 8,374, latest release @flue/cli@2.1.1 (September 23, 2026).
  • September 19, 2026: Stars 8,255 → 8,295, latest release @flue/cli@2.1.0 (September 18, 2026).
  • September 17, 2026: Stars 8,244 → 8,255, latest release @flue/cli@2.0.8 (September 16, 2026).

What you get

  • Creating programmable and headless agents based on TypeScript.
  • Fast and scalable working environment with virtual sandbox.
  • Versatile deployment across Node.js, Cloudflare, and CI/CD processes.

Installation

Node.js Development Server
flue dev --target node
Compilation
flue build --target node          # Node.js server (single bundled .mjs)
flue build --target cloudflare    # Cloudflare Workers + Durable Objects

Running it

Running the Hello World Workflow
flue run hello --target node \
  --payload '{"text": "Hello world", "language": "French"}'

If you don't write code

Paste this into your AI agent (Claude Code · Codex · Antigravity)

I want to develop an artificial intelligence agent using the Flue framework. How can I define a workflow using TypeScript in my project? Specifically, how can I configure the model with the createAgent function and interact with my agent with session.prompt? Using a simple 'hello-world' example, can you explain step by step how I can start an agent at runtime and get results?

Repository: https://github.com/withastro/flue. Follow the official instructions in the README of this repository for setup and execution.

Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.

Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.

Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.

Related dictionary terms

Who it is forIt is suitable for software developers who want to develop their own autonomous artificial intelligence agents with TypeScript and run them on different platforms.
LicenseApache-2.0

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-06-06: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.