Metadata-Version: 2.4
Name: kapsl
Version: 0.1.0
Summary: Python SDK for the Kapsl agent runtime
Author-email: kapsl <kapsl.xyz@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://kapsl.xyz
Project-URL: Repository, https://github.com/kapsl-xyz/python-sdk
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.28
Dynamic: license-file

# kapsl

Python SDK for the [Kapsl](https://kapsl.xyz) agent runtime.

## Install

```bash
pip install kapsl
```

## Quick start

```python
from kapsl import Agent, tool, Client

@tool
def search(query: str) -> str:
    """Search the web."""
    return f"results for {query}"

agent = Agent(
    name="researcher",
    model="claude-sonnet-4-20250514",
    system="You are a research assistant.",
    tools=[search],
)

client = Client()
client.deploy(agent)

run = client.run("researcher", "What is Kapsl?")
print(run.wait())
```

## Requirements

- Python 3.10+
- A running Kapsl daemon (`kapsl start`)
