What problem does it solve?
Integrating new AI models or services into an existing deliberation system can be a complex and error-prone process, requiring deep architectural understanding and careful implementation. This Skill provides a structured guide to streamline that integration.
Core Features & Use Cases
- CLI & HTTP Adapter Guides: Step-by-step instructions for creating both command-line and HTTP API adapters.
- Base Class Utilization: Leverage provided base classes (
BaseCLIAdapter, BaseHTTPAdapter) to handle common logic like subprocess execution, HTTP requests, and retry mechanisms.
- Configuration & Schema Updates: Learn how to correctly update system configuration (
config.yaml) and data schemas (models/schema.py) to recognize new adapters.
- Testing Patterns: Includes comprehensive guidance on writing unit, integration, and VCR-based tests to ensure robust and reliable integrations.
- Use Case: You want to add support for a new, custom fine-tuned local LLM (e.g., running on Ollama) to participate in multi-model debates within AI Counsel. This skill guides you through creating the necessary HTTP adapter and integrating it into the system.
Quick Start
To add a new command-line AI tool, create adapters/your_cli.py and implement the parse_output() method to extract the model's response.