Skip to main content

NovaOS Agent SDK

Python Version License PyPI Development Status

A Python client library for connecting to and communicating with AI Agents on the NovaOS platform. Speaks the Agent2Agent Protocol (A2A), spec v1.0.1 for agent-to-agent communication, and the NovaOS Execution Gateway for end-user applications.

Version lines. 2.x is the Agent2Agent (A2A) line: a breaking change from 1.x — the ACP surface (handle_acp_request, from_acp_request, the /runs handler shape) is removed and replaced by the A2A JSON-RPC surface — and it ships a migrate tool that rewrites a 1.x agent onto the A2A shell. 1.x is the final ACP line: stable, security and critical fixes only, end of life at the NovaOS ACP→A2A cutover. New agents should target 2.x; pin it as novaos-agent-sdk>=2,<3. See Versioning and support.

Published on PyPI as novaos-agent-sdk; imported as novaos_client_sdk.

Installation

pip install novaos-agent-sdk

See Getting started for the full extras table (crypto, llm, schema, otel, evaluation, migrate, grpc).

Quick start: call an agent

Under A2A the base URL identifies the agent — a Client addresses one agent, and skill_id chooses which of its skills runs.

import asyncio
from novaos_client_sdk import Client

async def main() -> None:
    async with Client(base_url="http://my-agent:8000") as client:
        task = await client.send_message("Hello, agent!", skill_id="chat")

        if task.is_terminal and task.artifacts:
            print(task.artifacts[0].text)

asyncio.run(main())

Quick start: build an agent

from novaos_client_sdk import AgentBuilder, AgentExecutionContext, SkillResult

agent = AgentBuilder(name="greeter", version="1.0.0")

@agent.skill("greet", description="Greet the caller by name")
async def greet(ctx: AgentExecutionContext, input_text: str) -> SkillResult:
    return SkillResult(output=f"Hello, {input_text or 'there'}!")

Mount agent.asgi_endpoint() on your ASGI app at A2A_JSONRPC_PATH and run it with uvicorn. See Getting started for the full snippet.

Documentation

Full documentation, including streaming, discovery, authentication, platform tools, migrating a 1.x agent, and the complete API reference, is at:

https://orbitronai-repo.github.io/novaos-agent-sdk/

Migrating a 1.x (ACP) agent

The migrate extra (pip install "novaos-agent-sdk[migrate]") ships a three-stage CLI to port a 1.x agent onto the A2A shell:

python -m novaos_client_sdk.migrate analyze ./my-agent --out ./migration-out
python -m novaos_client_sdk.migrate transform ./my-agent --plan ./migration-out/my-agent.plan.json --write
python -m novaos_client_sdk.migrate verify ./my-agent --base-url http://127.0.0.1:8001

See Migrating from 1.x and the migrate CLI reference for the full walkthrough.

Requirements

  • Python 3.12+
  • httpx>=0.24.0 — the only required runtime dependency: HTTP for the A2A JSON-RPC transport, DNS and the gateway services. The A2A wire format is NovaOS's own code (no vendor A2A library), verified against the official a2a-sdk in the test suite.

License

MIT License (see LICENSE)

Metadata

Release files for novaos-agent-sdk 2.1.0

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

Source distribution (sdist)

Source distribution for novaos-agent-sdk 2.1.0
File Size Uploaded Provenance Actions
novaos_agent_sdk-2.1.0.tar.gz 423.9 kB With provenance Details for novaos_agent_sdk-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for novaos-agent-sdk 2.1.0
File Interpreter ABI Platform Actions
novaos_agent_sdk-2.1.0-py3-none-any.whl Python 3 none any Details for novaos_agent_sdk-2.1.0-py3-none-any.whl

Total release size: 892.6 kB

Release files / novaos_agent_sdk-2.1.0.tar.gz

Download URL novaos_agent_sdk-2.1.0.tar.gz
Size 423.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a0af90ba21eb1dc5a77bd4138727ad158a97ad719c04434f9c02bfb8dd105783
BLAKE2b-256 checksum
How to use checksums
208189fd138d261bb64d90773b95e0166a7e9028d967c63c5a2b6cf787ff07df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 15, 2026.

Transparency log

Release files / novaos_agent_sdk-2.1.0-py3-none-any.whl

Download URL novaos_agent_sdk-2.1.0-py3-none-any.whl
Size 468.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9dcbaf0ab50d8731a2b127446be8ee122626287b20b57845dabbedacabdfb9bf
BLAKE2b-256 checksum
How to use checksums
ac24946aaf1961be920f4d35488c507422f3e4e4e71bcd8dbb019ece54cb8dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 15, 2026.

Transparency log

Security for novaos-agent-sdk 2.1.0

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 novaos_agent_sdk-2.1.0.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 Oct 15, 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

2.1.0 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