AgentOps SDK for teams shipping AI agents
Project description
Run Centra SDK
AgentOps for teams shipping AI agents. Instrument your Python agent in minutes and inspect every run, tool call, model call, cost, and error in the Run Centra dashboard.
Install
pip install runcentra
Quick start
from runcentra import Agent, tool, RunContext
@tool(name="say_hello", scopes=["io.write"], risk_level="read_only")
def say_hello(ctx: RunContext, name: str) -> str:
return f"Hello, {name}!"
agent = Agent(
id="hello-agent",
name="Hello Agent",
version="0.1.0",
model="gpt-4.1-mini",
tools=[say_hello],
)
@agent.task
def run(ctx: RunContext, input: dict) -> dict:
greeting = say_hello(ctx, input["name"])
return {"greeting": greeting}
if __name__ == "__main__":
agent.run({"name": "world"})
Docs
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 runcentra-0.1.0.tar.gz.
File metadata
- Download URL: runcentra-0.1.0.tar.gz
- Upload date:
- Size: 42.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aba6976878480b5d1ec4f993ced13f96d04f35cbed6c35c9bcd9a28048fec26
|
|
| MD5 |
d179826b444cdc56f63921ee653c0e6b
|
|
| BLAKE2b-256 |
98e940f23b8c15497d04842e473e1c56d0dbc1a35d0c8e9920f80e3422deb4c4
|
Provenance
The following attestation bundles were made for runcentra-0.1.0.tar.gz:
Publisher:
publish-sdk.yml on bkalyankumar/runcentra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runcentra-0.1.0.tar.gz -
Subject digest:
9aba6976878480b5d1ec4f993ced13f96d04f35cbed6c35c9bcd9a28048fec26 - Sigstore transparency entry: 1684100861
- Sigstore integration time:
-
Permalink:
bkalyankumar/runcentra@f4f5a403788f08cb93a05c08558015aa690fc359 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bkalyankumar
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk.yml@f4f5a403788f08cb93a05c08558015aa690fc359 -
Trigger Event:
push
-
Statement type:
File details
Details for the file runcentra-0.1.0-py3-none-any.whl.
File metadata
- Download URL: runcentra-0.1.0-py3-none-any.whl
- Upload date:
- Size: 30.7 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 |
4f74c9171f62a1ed73ccf77471168d47215f22a0f1c9638a76d85164bf9b3b10
|
|
| MD5 |
ff0381274adbc21598c2395ea045554b
|
|
| BLAKE2b-256 |
a85fef4ef5498c8a9917b511f0841148f88f265d155c7e856651ec8125dfc7c5
|
Provenance
The following attestation bundles were made for runcentra-0.1.0-py3-none-any.whl:
Publisher:
publish-sdk.yml on bkalyankumar/runcentra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runcentra-0.1.0-py3-none-any.whl -
Subject digest:
4f74c9171f62a1ed73ccf77471168d47215f22a0f1c9638a76d85164bf9b3b10 - Sigstore transparency entry: 1684101327
- Sigstore integration time:
-
Permalink:
bkalyankumar/runcentra@f4f5a403788f08cb93a05c08558015aa690fc359 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bkalyankumar
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk.yml@f4f5a403788f08cb93a05c08558015aa690fc359 -
Trigger Event:
push
-
Statement type: