Getting Started
Quick Start Guide
Get up and running with SkillRouter in under 5 minutes. This guide will walk you through installation, authentication, and your first skill execution.
1
Install the SDK
Choose your preferred language and install the official SDK.
Terminal
pip install skillrouter3
Make Your First Request
Initialize the client and execute your first skill. This example discovers and executes an email skill.
main.py
from skillrouter import SkillRouter
# Initialize with your API key
sr = SkillRouter(api_key="sk_live_...")
# Discover the best skill for a task
skill = sr.discover("send an email to user@example.com")
print(f"Found skill: {skill.name}")
# Execute the skill
result = sr.execute(
skill_id=skill.id,
params={
"to": "user@example.com",
"subject": "Hello from SkillRouter",
"body": "This email was sent by an AI agent!"
}
)
print(f"Success: {result.success}")
print(f"Latency: {result.latency_ms}ms")