Official Python SDK + CLI for AgentOS
Project description
AgentOS SDK
Official Python SDK for integrating your custom AI agents with AgentOS.
Installation
pip install nl-agentos-sdk
(For private or internal usage, you can install directly from the repository using pip install git+<repo-url> or by building and sharing a wheel .whl file.)
Usage
import os
from agentos_sdk import AgentOS
def my_handler(action, payload):
print(f"Executing {action} with {payload}")
return {"success": True, "data": "Results from agent"}
client = AgentOS(url=os.getenv("AGENTOS_URL"), key=os.getenv("AGENTOS_KEY"))
manifest = {
"agent_id": "my_agent",
"version": "1.0.0",
"team": "My Team",
"capabilities": ["do_work"],
"actions": [{"label": "Do work", "action": "DO_WORK"}],
"ui_url": "http://localhost:3000"
}
client.run(manifest=manifest, handler=my_handler)
Release Checklist
This package uses PyPI Trusted Publishing via GitHub Actions. To release a new version:
- Update Version: Bump
version = "X.Y.Z"inpyproject.toml. - Commit: Commit your changes.
- Tag & Push:
git tag vX.Y.Z git push origin master --tags
- Publish: The GitHub Action
.github/workflows/pypi-publish.ymlwill automatically build the wheel and publish to PyPI using OIDC!
Initial PyPI Setup (Trusted Publishing) If you are deploying this for the first time, you must configure PyPI to trust this repository:
- Go to pypi.org > Manage > Publishing.
- Add a new "GitHub" publisher.
- Set the repository name (
Sachin-NLtechnologies/agentos-sdk), workflow filename (pypi-publish.yml), and environment name (pypi). - (No API tokens required to be stored in GitHub Secrets!)
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 nl_agentos_sdk-0.3.16.tar.gz.
File metadata
- Download URL: nl_agentos_sdk-0.3.16.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a2dc8721794726d5d2f7db94b6bb52707f7f794faea919a3e900268a7d14f2c
|
|
| MD5 |
6dcab50ed6454099b998ec49e0679f97
|
|
| BLAKE2b-256 |
6fb8eb652c19b13016e6780d6ae1ade67ef23dd9fef00fd0a8cfe8cf11c55707
|
Provenance
The following attestation bundles were made for nl_agentos_sdk-0.3.16.tar.gz:
Publisher:
pypi-publish.yml on Sachin-NLtechnologies/agentos-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nl_agentos_sdk-0.3.16.tar.gz -
Subject digest:
7a2dc8721794726d5d2f7db94b6bb52707f7f794faea919a3e900268a7d14f2c - Sigstore transparency entry: 2204898389
- Sigstore integration time:
-
Permalink:
Sachin-NLtechnologies/agentos-sdk@e3cc485a6d2c9f78994a31c3953ac7bd60ab3353 -
Branch / Tag:
refs/tags/v0.3.16 - Owner: https://github.com/Sachin-NLtechnologies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@e3cc485a6d2c9f78994a31c3953ac7bd60ab3353 -
Trigger Event:
push
-
Statement type:
File details
Details for the file nl_agentos_sdk-0.3.16-py3-none-any.whl.
File metadata
- Download URL: nl_agentos_sdk-0.3.16-py3-none-any.whl
- Upload date:
- Size: 57.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45856b70b9483230c511528f56fd7cddc2865b197abe6f743f9488b23f2cb486
|
|
| MD5 |
dda2f93e212bd148a884efe01a39bc15
|
|
| BLAKE2b-256 |
66e7e464ba75221146c57927c29364937d2d30a9c515a1f1e46acf06b06a8099
|
Provenance
The following attestation bundles were made for nl_agentos_sdk-0.3.16-py3-none-any.whl:
Publisher:
pypi-publish.yml on Sachin-NLtechnologies/agentos-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nl_agentos_sdk-0.3.16-py3-none-any.whl -
Subject digest:
45856b70b9483230c511528f56fd7cddc2865b197abe6f743f9488b23f2cb486 - Sigstore transparency entry: 2204898402
- Sigstore integration time:
-
Permalink:
Sachin-NLtechnologies/agentos-sdk@e3cc485a6d2c9f78994a31c3953ac7bd60ab3353 -
Branch / Tag:
refs/tags/v0.3.16 - Owner: https://github.com/Sachin-NLtechnologies
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@e3cc485a6d2c9f78994a31c3953ac7bd60ab3353 -
Trigger Event:
push
-
Statement type: