Running in under five minutes
Clone the repo, run one command, and reach a measured, revertible optimization outcome — no configuration required to start.
Get the code
1. Clone the repository
git clone https://github.com/ManojVihari/Fluxen.git
cd FluxenRun it
2. Deploy with Docker
One command brings up all four services — Postgres, Redis, the combined gateway/control binary, and the dashboard. Every setting has a working default: no .env file to create, no API key to set before it boots, no encryption key to generate by hand.
docker compose up --buildPrefer running the Go/Node processes yourself for local development instead of Docker? See Run locally, without Docker in the README.
First run
3. Complete the setup wizard
Open the dashboard
Create your organization and owner account
Add a provider credential
Connect your app
4. Point your existing client at Fluxen
Create an application and generate a key
Change two lines in your code
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:8080/v1",
api_key="fx_live_...",
)
client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello, Fluxen!"}],
)See it work
5. Watch traffic and opportunities appear
Usage, cost, and model mix show up in Application Detail within a few minutes. Once traffic clears the minimum volume floor, detectors start surfacing real, evidence-backed opportunities in Optimizations. Want to see it immediately instead of waiting for real traffic? Run docker compose exec fluxen fluxenctl seed --demo to seed a realistic demo application and see the whole loop end to end.
Reference
Guides
Self-hosting guide
docs/self-hosting.md in the repo.Concepts
docs/concepts.md.Provider setup
docs/providers.md.Reference
API reference
A hand-maintained reference for the control API lives in docs/api-reference.md in the repository. An OpenAPI-generated reference is on the roadmap but not yet built.