§01 · Open source · AI agent infrastructure
The control plane for agents that call LLMs in production.
Intercept every model request. Validate tenant identity. Enforce policy. Prepare memory context — at the proxy, not in application glue code.
# bring up the phase-1 stack$ git clone https://github.com/Rick1330/ibex-harness.git$ cd ibex-harness && make upibex-proxy | listening on :8080ibex-auth | grpc on :50051postgres | ready for connectionsredis | ready ✓$ curl -s localhost:8080/v1/models
§02 · CAPABILITIES
[01] INGRESS_PROXY
OpenAI-compatible proxy
Drop-in ingress for chat completions. Validate agents and org scope on every request before traffic reaches your model provider.
[02] TENANT_AUTH
Tenant auth + rate limits
gRPC auth validation, per-org Redis sliding windows, and defense-in-depth isolation so agents cannot cross tenant boundaries.
[03] MEMORY_PATH
Memory-ready request path
Phase 1 ships the proxy and auth foundation. Memory injection, context assembly, and drift detection land on the same ingress.
[04] TELEMETRY
Observable by default
Structured logs, Prometheus metrics, and OpenTelemetry traces across proxy boundaries — built for operators running agents at scale.
§03 · REQUEST PATH
Every LLM call passes through one gate.
Identity, policy, and tracing happen before the provider sees a token — one ingress, four decisive steps.
# inbound request$ POST /v1/chat/completionsX-IBEX-Agent-ID: 7f3a9c21-…Authorization: Bearer ibex_…# pipelineauth.ValidateAgent (gRPC) 2.1msratelimit.Check (Redis) 0.8msproxy.forward (upstream) 12.4ms✓ status 200 · duration 17.4ms
Agent request
Your agent calls the proxy with OpenAI-compatible headers and an org-scoped token.
Validate + limit
Auth verifies the token and agent. Redis enforces per-org rate limits before work continues.
Assemble context
Phase 2+ injects memory and directives on the same path — no glue code in your agent.
Forward + trace
The proxy forwards to your LLM provider and emits a full request trace for operators.
§04 · LOCAL STACK
Run the harness on your machine.
Clone the monorepo, apply migrations, and bring up the Phase 1 compose stack for proxy, auth, Postgres, and Redis. No hosted account required.
- Proxy on :8080
- Auth gRPC on :50051
- Postgres with RLS — Redis for rate limits
- Prometheus + OTel exporters wired
# compose the phase-1 stack$ make db-migrate && make db-seed$ docker compose -f infra/compose/docker-compose.yml upibex-proxy | Listening on :8080ibex-auth | grpc on :50051postgres | ready for connectionsredis | Ready to accept connections ✓# Hit the proxy$ curl -s localhost:8080/v1/models | jq .
P99 PROXY BUDGET
< 20ms
OPEN SOURCE LICENSE
MIT
TENANT ISOLATION MODEL
RLS
PROXY + AUTH SERVICES
Go
// READY WHEN YOU ARE
Put agent memory
at the proxy.
Read the docs, explore benchmarks, and follow the roadmap for memory and context assembly.