← back to projects
flagship project

AgentOps

language: Python · FastAPIhardware: Cloud / Containerstatus: Active — 80% test coverage enforced in CI

motivation

Most agent frameworks pick one shape — a fixed pipeline, or a DAG, or a free-form router — and force every request through it. I wanted one substrate that could serve all three shapes honestly, because the shape of a request often is not known until you see the request.

what it does

A FastAPI backend with three entry points sharing one substrate: a deterministic FSM pipeline for single-turn requests, a DAG workflow engine that runs independent steps concurrently, and a supervisor/router that decomposes a goal into subtasks dispatched to named agents. Every agent reachable from the router is also invocable as a workflow step, so a full support-pipeline run can be one node inside a larger graph.

technical detail

The persistence and rate-limiting layers are written against protocols with both an in-memory and a Redis-backed implementation behind the same interface, so a single-process deployment and a horizontally-scaled one share the exact same code path. CI runs against a real Redis service container, not a mock, so the Redis-backed paths are actually exercised on every push — 30 tests, 80% coverage enforced.

technology used

Python
FastAPI
Redis
OpenTelemetry
Prometheus
Pytest
Docker Compose