Validated companion code for articles on mpiv.ai/blog covering AI agent gateways, observability, and evaluation pipelines.
Each subdirectory corresponds to one published article. Examples that call hosted services require your own credentials and current provider model IDs. Import, schema, shell, and local utility behavior is tested without making external calls.
Validated against Langfuse 4.14, OpenTelemetry 1.43, Anthropic 0.116, OpenAI 2.45, and LiteLLM proxy image v1.90.2 on 2026-07-14. The lockfile and Dependabot preserve that version trail.
| Article | Subdirectory | Status |
|---|---|---|
| LiteLLM proxy setup | litellm-proxy-setup/ |
Validated configuration and operational scripts |
| Production agent observability | production-agent-observability/ |
Current OpenTelemetry and Langfuse v4 examples |
| Agent eval pipelines | agent-eval-pipelines/ |
Current Langfuse v4 and Anthropic examples |
| LiteLLM vs OpenRouter | litellm-vs-openrouter/ |
Article index, no code yet |
| Langfuse vs Braintrust | langfuse-vs-braintrust/ |
Article index, no code yet |
Requirements: Python 3.11+, uv, and ShellCheck.
uv sync --locked --all-extras --dev
uv run ruff check .
uv run ruff format --check .
uv run pytest --cov=. --cov-report=term-missing
shellcheck litellm-proxy-setup/*.sh
uv run pip-audit- One subdirectory per article. Subdirectory name is the article slug (truncated where useful).
- Each subdirectory has its own
README.mdlinking back to the article and explaining how to run the code. - Hosted-service examples require accounts, credentials, and model IDs chosen by the operator.
- Placeholder values are deliberate and fail closed when required environment variables are absent.
- Container images and Python dependencies are versioned. Review upstream release notes before updating them.
- License: MIT unless a subdirectory specifies otherwise.
This repository is one part of Michael Isaac's public agent engineering collection:
- claude-code-ops-audit, audit methods and DuckDB analysis
- claude-code-loop-patterns, tested controls for agent loops
- mpiv.ai open-source research, the collection index
See CONTRIBUTING.md for contribution scope and SECURITY.md for private vulnerability reporting.
MIT. See LICENSE.
