Metadata-Version: 2.5
Name: switchlane
Version: 0.1.0
Summary: Python SDK for Switchlane runtime agent routing
Project-URL: Homepage, https://router.troialabs.ai
Project-URL: Repository, https://github.com/troailabs/switchlane
Project-URL: Issues, https://github.com/troailabs/switchlane/issues
Author: Troia Labs
License-Expression: MIT
License-File: LICENSE
Keywords: agents,ai,mcp,multi-agent,routing
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: httpx<1,>=0.27
Requires-Dist: pydantic<3,>=2.6
Provides-Extra: test
Requires-Dist: pytest<9,>=8; extra == 'test'
Description-Content-Type: text/markdown

# Switchlane Python SDK

A typed sync and async client for the Switchlane runtime routing API.

## Install

```bash
pip install switchlane
```

## Use

```python
from switchlane import Switchlane

with Switchlane("sl_live_...") as client:
    result = client.route("Review this pull request")
    if result.meta.abstained:
        print(result.meta.abstention_reason)
    else:
        print(result.recommendations[0].agent_id)
```

This package is an API client, not an agent framework. The SDK is MIT licensed; the Switchlane server is AGPL-3.0-only.
