Python SDK for Skaldic AI
Project description
skaldic-sdk
Python SDK for Skaldic AI
Installation
pip install skaldic-sdk
Components
| Package | Status | Description |
|---|---|---|
skaldic.traust |
Available | Task-Based Access Control (TBAC) for AI agents |
skaldic.odin |
Coming soon | — |
skaldic.huginn |
Coming soon | — |
skaldic.muninn |
Coming soon | — |
skaldic.runes |
Coming soon | — |
Quick start — Traust
Traust enforces task-scoped, policy-driven access control for AI agents. The agent declares its intent upfront; the gateway issues a capability token and audits every tool call against it.
from skaldic.traust import AgentSession, TaskManifest, User
manifest = TaskManifest(
task_type="summarise_document",
agent_id="agent-summariser-v1",
delegating_user_id="user-123",
requested_tools=["read_document", "call_llm"],
requested_resources=[{"type": "document", "id": "doc_abc"}],
)
user = User(id="user-123", roles=["analyst"], data_scope="own")
async with await AgentSession.open(
gateway_url="http://localhost:8000",
api_key="your-api-key",
manifest=manifest,
user=user,
) as session:
result = await session.call("read_document", "read", {"id": "doc_abc"})
Denials surface as typed exceptions — SessionDeniedError, ToolDeniedError, EscalationPendingError, SessionExpiredError, GatewayError.
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
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 skaldic_sdk-0.1.0.tar.gz.
File metadata
- Download URL: skaldic_sdk-0.1.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b79acdaf9c4327ec3c5f4b1776372a027e34726c1e3e9e0697f782f8dd73489
|
|
| MD5 |
eea7d819cd731ed35056e34de8fa7a3f
|
|
| BLAKE2b-256 |
431cb1a468e558406ba21c45a7c12bd6596cfd1d76f1d5434a48ad166ef2ccc7
|
File details
Details for the file skaldic_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: skaldic_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b12492ad5edcb3defe31ae5842f4e0ffbd43b0d0d65f816bd7d2d3d5163749
|
|
| MD5 |
ade1cb61626fc31fcc48a737cf003e81
|
|
| BLAKE2b-256 |
22bd15569ae6990130c4c4cb87ea2a9b36c13e92e771760dc71443b584aaf124
|