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
Metadata
Release files for swiss-ai-hub-core 0.291.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swiss_ai_hub_core-0.291.5.tar.gz | 556.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swiss_ai_hub_core-0.291.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / swiss_ai_hub_core-0.291.5.tar.gz
| Download URL | swiss_ai_hub_core-0.291.5.tar.gz |
|---|---|
| Size | 556.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74dade78011420214dd9aaa83b826816b89baf11d236146b08bf260efe00c16d
|
|
BLAKE2b-256 checksum How to use checksums |
bd4aa4cd28be9b5cf727132857bdba53d169bbf25c111f95b1bca6b4e8758b20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / swiss_ai_hub_core-0.291.5-py3-none-any.whl
| Download URL | swiss_ai_hub_core-0.291.5-py3-none-any.whl |
|---|---|
| Size | 944.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2918f65392248b5a9a4e3ae6e0a8a96624514340c9ed2a1dea35700087a10a18
|
|
BLAKE2b-256 checksum How to use checksums |
5fe1ce4273a0fac0618433c5ad9be3557728b9be1dfdac7087ee4ab40dc44867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|