Skip to content

MPIsaac-Per/agentinfra-examples

Repository files navigation

Agent infrastructure examples

Agent infrastructure examples by MPIsaac Ventures

CI CodeQL OpenSSF Scorecard License: MIT

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.

Example status

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

Development

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

Conventions

  • One subdirectory per article. Subdirectory name is the article slug (truncated where useful).
  • Each subdirectory has its own README.md linking 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.

Open-source research collection

This repository is one part of Michael Isaac's public agent engineering collection:

See CONTRIBUTING.md for contribution scope and SECURITY.md for private vulnerability reporting.

License

MIT. See LICENSE.

About

Validated companion examples for AI agent gateways, observability, and evaluation pipelines.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages