Welcome to FluxLoop
Ship Agents with Data. Scale Business.โ
๐ฏ Simulate at Scaleโ
Run thousands of realistic multi-turn scenarios in parallel. Find edge cases before production.
๐ Align to Your Standardsโ
Capture your implicit decision criteria. Turn intuition into automated evaluation.
๐ Act on Insightsโ
Reports that show what to fix and how. Analysis that drives action.
FluxLoop is an open-source toolkit for running reproducible, offline-first simulations of AI agents against dynamic scenarios. It empowers developers to rigorously test agent behavior, evaluate performance against custom criteria, and build confidence before shipping to production.
Why FluxLoop?โ
Building trustworthy AI agents requires systematic testing and evaluation. FluxLoop provides:
- Local-first simulation: Run experiments on your machine with full control
- Framework-agnostic: Works with any agent framework (LangGraph, LangChain, custom)
- Argument replay: Record complex function calls once, replay them hundreds of times
- Structured artifacts: Auditable JSON/JSONL outputs following a documented contract
Quick Startโ
Get started in minutes:
# Install packages
pip install fluxloop-cli fluxloop
# Initialize project
fluxloop init project --name my-agent
cd fluxloop/my-agent
# Generate inputs
fluxloop generate inputs --limit 50
# Run experiment
fluxloop run experiment
Documentation Structureโ
- Getting Started - Installation and setup
- Guides - Step-by-step tutorials
- SDK Reference - Python SDK documentation
- CLI Reference - Command-line tool documentation
- VSCode Extension - IDE integration guide
Core Conceptsโ
๐ฏ Decorator-Based Instrumentationโ
Add @fluxloop.agent() to your agent function:
import fluxloop
@fluxloop.agent()
def run(input_text: str) -> str:
return f"Response to: {input_text}"
๐ Input Generationโ
Generate variations using LLM or deterministic strategies:
fluxloop generate inputs --limit 100
๐งช Offline Simulationโ
Run experiments locally without cloud dependencies:
fluxloop run experiment
๐ Structured Outputโ
Every simulation produces auditable artifacts:
summary.json- Aggregate statisticstrace_summary.jsonl- Per-trace summary recordsobservations.jsonl- Observation streamtraces.jsonl- Detailed execution traces
What's Next?โ
Choose your path:
- New to FluxLoop? โ Installation
- Ready to code? โ Quick Start Guide
- Want examples? โ Guides
- Need API reference? โ SDK, CLI, VSCode
Ready to build trustworthy AI agents? Let's get started! ๐