Metadata-Version: 2.5
Name: cosens-sdk
Version: 0.8.1
Summary: CoSens Python SDK for local RSI and reusable Recipes
Project-URL: Homepage, https://cosens.ai/
Project-URL: Documentation, https://cosens.ai/docs/
Project-URL: Repository, https://github.com/PreSeen/CoSens-SDK
Project-URL: Issues, https://github.com/PreSeen/CoSens-SDK/issues
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Keywords: agents,cosens,llm,openai,recipes
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
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: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: httpx<1,>=0.27
Requires-Dist: langgraph-checkpoint-sqlite<4,>=3
Requires-Dist: langgraph<2,>=1.0
Requires-Dist: pydantic<3,>=2.7
Provides-Extra: local-rsi
Provides-Extra: test
Requires-Dist: build>=1; extra == 'test'
Requires-Dist: hatchling>=1.25; extra == 'test'
Requires-Dist: pytest>=8; extra == 'test'
Description-Content-Type: text/markdown

# CoSens Python Local RSI SDK

Install with `pip install cosens-sdk` when the package version containing this SDK is available, or `pip install ./python` from a checkout.

```python
from cosens.rsi import RSIClient

rsi = RSIClient(
    data_dir="./.rsi-python",
    config={"model": {"model": "your-model", "base_url": "http://127.0.0.1:8000/v1"}},
)
```

The host supplies a tool-calling model and sets `RSI_MODEL_API_KEY` in its environment. See the [atomic API and Hook lifecycle](docs/local-rsi.md) and the [Python Hook example](examples/05_rsi_sdk_v2.py).
