Files
tatlock/src/agents/__init__.py
T
jpmschweitzerandClaude 4e6ca4466b Add agent interface and model implementations
Implements Phase 1: Agent abstraction layer with multiple model support

Features:
- Abstract AgentInterface base class with standard contract
- LoremTesterAgent: Full-featured mock agent with realistic behavior
  - Configurable reasoning effort levels (none to xhigh)
  - Random tool/function call generation
  - Error triggers for testing (rate_limit, context_overflow)
  - Temperature-based response variation
- TatlockAgent: Placeholder for future PydanticAI integration
- ModelRegistry: Centralized model management and discovery

Testing:
- 9 unit tests for lorem-tester agent behavior
- 9 unit tests for registry operations
- Coverage: Agent abstraction fully tested

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 19:36:53 +01:00

12 lines
326 B
Python

"""
Agent implementations for different models.
This module provides the abstraction layer between the Responses API
and the underlying LLM implementations (PydanticAI, Ollama, etc.).
"""
from src.agents.base import AgentInterface
from src.agents.registry import ModelRegistry
__all__ = ["AgentInterface", "ModelRegistry"]