Documentation

Everything you need to integrate SkillRouter into your AI agents. From quick starts to advanced patterns.

quickstart.py
from skillrouter import SkillRouter

# Initialize the client
sr = SkillRouter(api_key="sk_...")

# Discover the best skill for a task
skill = sr.discover("send an email to user@example.com")

# 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"Execution successful: {result.success}")
print(f"Response: {result.data}")

Need help?

Can't find what you're looking for? Our team is here to help.