Praxis
A Go library for orchestrating LLM agents with the guardrails built into the kernel — typed invocation state machine, policy hooks at every sensitive boundary, budget enforcement and mandatory telemetry.
As of September 2026.
How it works
Context
Most agent libraries are thin wrappers over a provider's HTTP API. That is the right shape for calling a model, and the wrong shape for a team that has to answer for what the agent did, what it cost and who authorised it.
Problem
Governance added on top of an orchestration library is governance that can be bypassed. If policy checks, budgets and telemetry live in application code, every new call site is a chance to forget one, and there is no framework-level guarantee to point at during an audit.
Role
Maintainer.
Decisions
Guardrails in the kernel, not in the applicationGuardrails and policy enforcement
A typed invocation state machine with policy hooks and filter chains at every security-sensitive boundary, plus four-dimensional budget enforcement and a typed error taxonomy. The cost is overhead that a simple API call does not need — the README says so plainly and points at the thin SDKs for anyone who wants that instead.
Provider-agnostic LLM interfaceAgent orchestration
Model access sits behind an interface, so the runtime is not bound to one vendor.
Telemetry is mandatoryLLM observability and tracing
OpenTelemetry is not an optional integration but a framework guarantee, so every invocation is traceable without the application opting in. Optional per-call identity signing sits alongside it.
Details
Results
- Apache 2.0, published on pkg.go.dev with CI on the repository.
- The README states what the library is not for, which is the honest way to ship an opinionated runtime.
The kernel enforces budgets in four dimensions — wall-clock time, LLM tokens, tool-call count and estimated cost — and a breach ends the invocation.
you can check this: praxis
OpenTelemetry spans are a framework guarantee, emitted for every invocation without the application opting in.
you can check this: praxis
Released under Apache 2.0 and published on pkg.go.dev, with CI on the repository.
you can check this: praxis