Centurian Python SDK — thin MCP wrapper for AI agents. Auto-registers, instruments tool calls, attributes cost. Implements ADR-017 SDK perf primitives: local rule cache + per-action OPA decision cache + durable sqlite-backed event queue + async batched MCP calls. Owner: Connect agent (T12 W3-W5).
Project description
centurian-sdk (Python)
Thin MCP wrapper for AI agents. See docs/prd/v4.1/Centurian_Solo_Developer_Experience.md.
Install (local, side-by-side with the monorepo)
pnpm does not manage Python packages. Install directly:
pip install -e ./packages/sdk-python
# or, from a template directory:
pip install -e ../../packages/sdk-python
Use
from centurian import Agent
agent = Agent(name="my-agent", purpose="Answer questions about my docs")
@agent.tool
def search_docs(query: str) -> str:
return run_my_search(query)
agent.run()
Reads CENTURIAN_TOKEN, CENTURIAN_MCP_URL, CENTURIAN_ORG_ID,
CENTURIAN_OWNER_USER_ID, CENTURIAN_QUEUE_PATH from env.
Day-1 status: real MCP calls are stubbed; the public API surface is locked so templates and customer code written today survive the T2 transport swap.
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 centurian_sdk-0.1.0b2.tar.gz.
File metadata
- Download URL: centurian_sdk-0.1.0b2.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aec0250748012b020afec3621daf1f75f1de1e3a7b30199227c22bc5b8c31461
|
|
| MD5 |
b45fe76fd934010b689a532cc9a9ab01
|
|
| BLAKE2b-256 |
b1d0aa6861b34a5a750b73d83ccf2c0de3859d7b41309c183980b9bfd9acf181
|
Provenance
The following attestation bundles were made for centurian_sdk-0.1.0b2.tar.gz:
Publisher:
release.yml on omniviewai/Centurian
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
centurian_sdk-0.1.0b2.tar.gz -
Subject digest:
aec0250748012b020afec3621daf1f75f1de1e3a7b30199227c22bc5b8c31461 - Sigstore transparency entry: 1401901045
- Sigstore integration time:
-
Permalink:
omniviewai/Centurian@2ec1d2528fe8bc0077bccb0e5fd75d2fdeadeb4f -
Branch / Tag:
refs/tags/v0.1.0-beta.2 - Owner: https://github.com/omniviewai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2ec1d2528fe8bc0077bccb0e5fd75d2fdeadeb4f -
Trigger Event:
push
-
Statement type:
File details
Details for the file centurian_sdk-0.1.0b2-py3-none-any.whl.
File metadata
- Download URL: centurian_sdk-0.1.0b2-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11115ee0639f956730d2ca5f72b64fb0a13b52b420f60e5270c9e2ea491a166e
|
|
| MD5 |
e51f6db839b91b61c9ac9814cfca278c
|
|
| BLAKE2b-256 |
90fc3113d1f182ca57c0f93b97b539b0cbefd35112b9da65204a472405e15457
|
Provenance
The following attestation bundles were made for centurian_sdk-0.1.0b2-py3-none-any.whl:
Publisher:
release.yml on omniviewai/Centurian
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
centurian_sdk-0.1.0b2-py3-none-any.whl -
Subject digest:
11115ee0639f956730d2ca5f72b64fb0a13b52b420f60e5270c9e2ea491a166e - Sigstore transparency entry: 1401901178
- Sigstore integration time:
-
Permalink:
omniviewai/Centurian@2ec1d2528fe8bc0077bccb0e5fd75d2fdeadeb4f -
Branch / Tag:
refs/tags/v0.1.0-beta.2 - Owner: https://github.com/omniviewai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2ec1d2528fe8bc0077bccb0e5fd75d2fdeadeb4f -
Trigger Event:
push
-
Statement type: