flue
The sandbox agent framework.
Learn to monitor and debug agent execution in Flue using event callbacks subscribeEvent and setEventCallback for comprehensive insight into your agent's lifecycle.
Orchestrating Multiple Agents in Flue: Task Sessions and Parent-Child Relationships ExplainedMaster orchestrating multiple agents in Flue with task sessions and parent-child relationships. Build complex, parallel multi-agent workflows with isolated sessions and secure communication.
Configuring Multiple Model Providers with Provider-Specific Settings in FlueConfigure multiple LLM model providers with Flue's registerProvider and configureProvider. Route traffic to local Ollama, custom gateways, or Cloudflare Workers AI without rebuilding.
Mounting Cloudflare R2 Buckets as Read-Only Knowledge Base Filesystems with FlueMount Cloudflare R2 buckets as read-only knowledge base filesystems with Flue. Combine SQLite Durable Objects and R2 binding for tool-based search operations.
Handling Errors, Timeouts, and Retries in Flue Agent OperationsLearn how to handle errors timeouts and retries in Flue agent operations withastro/flue. Discover FlueError hierarchy AbortSignal and automatic retries for LLM calls.
How to Integrate the Daytona Connector for Full Linux Container Sandboxes in FlueIntegrate the Daytona connector with Flue to run commands in isolated Linux containers. Enhance your agent's capabilities beyond the default Bash environment today.
Configuring Build Targets for Node.js and Cloudflare Workers Deployment in FlueConfigure build targets for Node.js and Cloudflare Workers with Flue using the --target flag. Deploy identical agent code to both runtimes effortlessly. Learn how now.
Organizing Flue Agents: .flue Directory Layout vs Root-Level LayoutDiscover Flue's agent organization options: master `.flue` directory layout versus root-level `agents` and `roles` folders. Optimize your project structure effortlessly.
Implementing Custom Session Stores for Persistent Conversation State in FlueLearn to implement custom session stores in Flue to persist conversation state across server restarts. Override save load and delete methods with the SessionStore interface.
Using Valibot Schemas for Validating and Typing Agent Responses in FlueLeverage Valibot schemas in Flue to validate and type LLM agent responses, ensuring robust and predictable outputs. Convert schemas to tool definitions and parse responses with safeParse for typed validation.
Implementing Server-Sent Events Streaming for Real-Time Agent Output in FlueImplement Server-Sent Events streaming in Flue for real-time LLM output monitoring. Stream agent events and results over HTTP, eliminating the need for polling and enhancing your application's responsiveness.
Using the Flue Local Sandbox in CI/CD Environments with Host Filesystem AccessUnlock Flue local sandbox capabilities in CI/CD. Access host filesystem directly, read repo files, and write artifacts with Node.js fs/promises API, eliminating virtual layer overhead.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →