Foundational shared library for the Swiss AI Hub platform: event-driven Swiss AI Agent Protocol, auth, and AI/ML utilities.
Project description
Swiss AI Hub Core
Foundational shared library for the Swiss AI Hub platform — an open-source,
self-hosted AI platform for enterprises. swiss-ai-hub-core provides the infrastructure every other Swiss AI Hub
package builds on:
- Swiss AI Agent Protocol — event-driven messaging over NATS with a strict Control Event (workflow) vs Display Event (observability) separation, hierarchical topic scoping, publishers/subscribers, and RPC.
- Authentication & authorization — identity models, Keycloak/OIDC handlers, and a hierarchical permission engine.
- AI/ML utilities — retrieval, reranking, guards, memory, document parsing, and the Form duality system.
Installation
pip install swiss-ai-hub-core
Usage
from swiss_ai_hub.core.events.agent import StartEvent, ChunkEvent
from swiss_ai_hub.core.form import Form
swiss_ai_hub is a
native namespace package. Other
distributions (swiss-ai-hub-agent, swiss-ai-hub-api, …) contribute sibling modules under the same swiss_ai_hub.*
namespace.
Links
- Source & issues: https://github.com/bbvch-ai/aihub-core
- Documentation: https://bbvch-ai.github.io/aihub-core/
License
Apache-2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swiss_ai_hub_core-0.291.5.tar.gz.
File metadata
- Download URL: swiss_ai_hub_core-0.291.5.tar.gz
- Upload date:
- Size: 556.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74dade78011420214dd9aaa83b826816b89baf11d236146b08bf260efe00c16d
|
|
| MD5 |
6a8c0af630c31dbd6c931bb83b1147ca
|
|
| BLAKE2b-256 |
bd4aa4cd28be9b5cf727132857bdba53d169bbf25c111f95b1bca6b4e8758b20
|
File details
Details for the file swiss_ai_hub_core-0.291.5-py3-none-any.whl.
File metadata
- Download URL: swiss_ai_hub_core-0.291.5-py3-none-any.whl
- Upload date:
- Size: 944.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2918f65392248b5a9a4e3ae6e0a8a96624514340c9ed2a1dea35700087a10a18
|
|
| MD5 |
0ff487de6d8b91856e8bbe00b72b1939
|
|
| BLAKE2b-256 |
5fe1ce4273a0fac0618433c5ad9be3557728b9be1dfdac7087ee4ab40dc44867
|