# ai-infra Documentation

This directory contains detailed documentation for the ai-infra library.

## Contents

### Core Modules

- [LLM Module](llm.md) - Direct model interaction
- [Agent Module](agent.md) - Tool-using agents
- [MCP Module](mcp.md) - Model Context Protocol integration

### Cross-Cutting Concerns

- [Error Handling](errors.md) - Unified error hierarchy
- [Logging](logging.md) - Structured logging utilities
- [Callbacks](callbacks.md) - Event callbacks and hooks
- [Tracing](tracing.md) - Distributed tracing support
- [Validation](validation.md) - Input/output validation

### Integration Examples

- [HITL Examples](hitl-examples.md) - Human-in-the-loop patterns
- [FastAPI Integration](fastapi-integration.md) - Web app integration
