Metadata-Version: 2.4
Name: swiss-ai-hub-api
Version: 0.291.5
Summary: Swiss AI Hub REST API, WebSocket gateway, and MCP server (FastAPI) for the Swiss AI Agent Protocol.
Author: Joel Barmettler, Marius Högger, Michèle Fundneider, Thomas Mannhart, Noah Hermann
Author-email: Joel Barmettler <joel.barmettler@bbv.ch>, Marius Högger <marius.hoegger@bbv.ch>, Michèle Fundneider <michele.fundneider@bbv.ch>, Thomas Mannhart <thomas.mannhart@bbv.ch>, Noah Hermann <noah.hermann@bbv.ch>
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Dist: swiss-ai-hub-core==0.291.5
Requires-Dist: azure-identity>=1.19.0
Requires-Dist: azure-mgmt-cosmosdb>=9.7.0
Requires-Dist: azure-mgmt-resource>=23.2.0
Requires-Dist: uvicorn[standard]>=0.34.0
Requires-Dist: gunicorn>=23.0.0
Requires-Dist: httpx>=0.28.1
Requires-Dist: cryptography>=44.0.0
Requires-Dist: pyjwt>=2.10.1
Requires-Dist: llama-index-embeddings-text-embeddings-inference>=0.4.2
Requires-Dist: python-multipart>=0.0.20
Requires-Dist: stringcase>=1.2.0
Requires-Dist: pydub>=0.25.1
Requires-Dist: audioop-lts>=0.2.1
Requires-Dist: fastmcp>=2.11.2
Requires-Dist: opentelemetry-instrumentation-fastapi>=0.60b1
Requires-Dist: starlette>=1.0.1
Requires-Dist: swiss-ai-hub-jambo>=0.5.0
Requires-Python: >=3.13, <3.14
Project-URL: Homepage, https://github.com/bbvch-ai/aihub-core
Project-URL: Repository, https://github.com/bbvch-ai/aihub-core
Project-URL: Documentation, https://bbvch-ai.github.io/aihub-core/
Project-URL: Issues, https://github.com/bbvch-ai/aihub-core/issues
Description-Content-Type: text/markdown

# Swiss AI Hub API

REST API, WebSocket gateway, and MCP server for the [Swiss AI Hub](https://github.com/bbvch-ai/aihub-core) platform.
Built on FastAPI, it bridges frontends and external clients to Swiss AI Hub services via the Swiss AI Agent Protocol.

- **Dynamic endpoints** — agent and process endpoints are registered at runtime from NATS discovery, not hardcoded.
- **Real-time** — WebSocket and OpenAI-compatible SSE streaming of agent display events.
- **Importable** — mount any subset of controllers on an `ApiRunner` to build your own API.

## Installation

```bash
pip install swiss-ai-hub-api
```

This pulls in [`swiss-ai-hub-core`](https://pypi.org/project/swiss-ai-hub-core/).

## Usage

```python
from swiss_ai_hub.api.routes.agent import AgentController
```

## Links

- Source & issues: https://github.com/bbvch-ai/aihub-core
- Documentation: https://bbvch-ai.github.io/aihub-core/

## License

Apache-2.0
