module-development
SKILL.md
Module Development Guide
Creating a New Module
Step 1: Choose Protocol
Determine which protocol your module implements:
- Tool: Agent capability (filesystem, bash, web, database)
- Provider: LLM backend (Anthropic, OpenAI, Ollama)
- Context: Conversation state management (simple, persistent)
- Orchestrator: Execution loop strategy (basic, streaming, events)
- Hook: Lifecycle observer (logging, approval, redaction)
Step 2: Implement Protocol
from typing import Any
from amplifier_core import ModuleCoordinator, ToolResult