Skip to main content

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:

  1. Update Version: Bump version = "X.Y.Z" in pyproject.toml.
  2. Commit: Commit your changes.
  3. Tag & Push:
    git tag vX.Y.Z
    git push origin master --tags
    
  4. Publish: The GitHub Action .github/workflows/pypi-publish.yml will 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:

  1. Go to pypi.org > Manage > Publishing.
  2. Add a new "GitHub" publisher.
  3. Set the repository name (Sachin-NLtechnologies/agentos-sdk), workflow filename (pypi-publish.yml), and environment name (pypi).
  4. (No API tokens required to be stored in GitHub Secrets!)

Metadata

Release files for nl-agentos-sdk 0.3.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nl-agentos-sdk 0.3.16
File Size Uploaded Provenance Actions
nl_agentos_sdk-0.3.16.tar.gz 36.3 kB With provenance Details for nl_agentos_sdk-0.3.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nl-agentos-sdk 0.3.16
File Interpreter ABI Platform Actions
nl_agentos_sdk-0.3.16-py3-none-any.whl Python 3 none any Details for nl_agentos_sdk-0.3.16-py3-none-any.whl

Total release size: 93.5 kB

Release files / nl_agentos_sdk-0.3.16.tar.gz

Download URL nl_agentos_sdk-0.3.16.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7a2dc8721794726d5d2f7db94b6bb52707f7f794faea919a3e900268a7d14f2c
BLAKE2b-256 checksum
How to use checksums
6fb8eb652c19b13016e6780d6ae1ade67ef23dd9fef00fd0a8cfe8cf11c55707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

Release files / nl_agentos_sdk-0.3.16-py3-none-any.whl

Download URL nl_agentos_sdk-0.3.16-py3-none-any.whl
Size 57.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45856b70b9483230c511528f56fd7cddc2865b197abe6f743f9488b23f2cb486
BLAKE2b-256 checksum
How to use checksums
66e7e464ba75221146c57927c29364937d2d30a9c515a1f1e46acf06b06a8099
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

Security for nl-agentos-sdk 0.3.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nl_agentos_sdk-0.3.16.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.16 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page