Skip to content

Flowstate SDK

The Flowstate SDK instruments your own production, customer-facing LLM applications — the AI features you ship to your users — and sends their AI usage to Flowstate for attribution, spend reconciliation, and governance, alongside the usage the Flowstate Agent captures from developer tools.

Where the agent measures AI use by your team, the SDK measures AI use by your product.

What it captures

Per request: model, token counts, latency, status, cost, and the application/feature you tag it with — so your production AI spend lands in the same ledger as everything else in Flowstate.

Languages

SDKs are available for:

  • Go
  • JavaScript / TypeScript (Node.js)
  • .NET
  • Python

Each wraps the official provider clients (OpenAI, Anthropic, and others) and emits telemetry over OpenTelemetry, so it drops into an existing OTel pipeline if you already run one.

Get started

Full reference documentation is coming soon. To start instrumenting your production workloads, contact your Flowstate representative or reach us at support@flowstate.inc.

Flowstate Documentation