Koveria SDK
Welcome to the Koveria SDK documentation! This guide will help you build compliant AI agents using Python.
What is the Koveria SDK?
The Koveria SDK is a Python library that enables you to:
- Build AI agents with a simple, declarative API
- Ensure compliance with automatic risk assessment and guardrails
- Track memory across conversations with hot and durable storage
- Monitor observability with built-in logging, metrics, and tracing
- Deploy easily to teams with integrated CI/CD workflows
Quick Example
from koveria import Agent, agent_action
class CustomerSupportAgent(Agent):
"""Handle customer support inquiries."""
@agent_action(action_type="process")
async def handle_inquiry(self, message: str) -> str:
"""Process a customer inquiry and return a response."""
response = await self.llm.complete(
messages=[
{"role": "system", "content": "You are a helpful support agent."},
{"role": "user", "content": message}
],
model="gpt-4o"
)
return response.content
# Usage
agent = CustomerSupportAgent() # Loads config from environment
result = await agent.handle_inquiry("How do I reset my password?")
print(result)
Getting Started
Choose your path:
🎓 Learning Path (Recommended for beginners)
- Getting Started - Install and configure (5 min)
- First Agent Tutorial - Build your first agent (10 min)
- Core Concepts - Understand the architecture (15 min)
🛠️ Task-Oriented Path (For experienced developers)
📚 Reference Path (Quick lookups)
- API Reference - Complete SDK documentation
- CLI Reference - Command-line tools
- Error Codes - Troubleshooting errors