OpenAgentID documentation
Source referencesPackage entries

openagentid-sdk (Python)

OpenAgent SDK — identity, authentication, and Agent Capability Token verification for autonomous agents.

Purpose

OpenAgent SDK — identity, authentication, and Agent Capability Token verification for autonomous agents.

Read the unified sdks guide.

Source contract

FieldValue
Packageopenagentid-sdk
Version0.1.0
LanguagePython
Runtime floor>=3.10
Manifestopenagent-sdk/sdks/python/pyproject.toml
DistributionSource package; registry publication not verified

Manifest SHA-256: c836b6deba20c34dd194d3f947b6b0a4341be4b6a8fb9d948ac97991432355bf. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.

Integration

Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.

Features and optional dependencies

{
  "fastapi": [
    "fastapi>=0.110",
    "starlette>=0.37"
  ],
  "dev": [
    "pytest>=8",
    "pytest-asyncio>=0.23"
  ]
}

Exported entry points

The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.

openagent-sdk/sdks/python/src/openagent_sdk/__init__.py

Source SHA-256: b31669f5be90840ce26203143ac644952bf3bf2f1413ef602ab7fef3585910e4.

from openagent_sdk import Verifier, Scope
from .act import (
    ALGORITHM_ED25519,
    FORMAT_VERSION,
    MAX_ACT_BYTES,
    ActClaims,
    ActEnvelope,
    Verifier,
    decode_unverified,
    verify,
    verify_builder,
)
from .agent import Agent, Session
from .errors import (
    ActError,
    AudienceMismatch,
    ClaimsDecode,
    ConfigError,
    EnvelopeDecode,
    Expired,
    IssuerMismatch,
    MalformedScope,
    MalformedSignature,
    MissingScope,
    NotYetValid,
    OpenAgentError,
    SignatureInvalid,
    TooLarge,
    UnsupportedAlgorithm,
    UnsupportedVersion,
)
from .keys import (
    AgentKeys,
    from_env,
    from_seed,
    from_seed_file,
    from_seed_hex,
    generate,
    save_seed,
    seed_to_hex,
)
from .scope import Scope
__all__ = [
    "ALGORITHM_ED25519",
    "FORMAT_VERSION",
    "MAX_ACT_BYTES",
    "ActClaims",
    "ActEnvelope",
    "ActError",
    "Agent",
    "AgentKeys",
    "AudienceMismatch",
    "ClaimsDecode",
    "ConfigError",
    "EnvelopeDecode",
    "Expired",
    "IssuerMismatch",
    "MalformedScope",
    "MalformedSignature",
    "MissingScope",
    "NotYetValid",
    "OpenAgentError",
    "Scope",
    "Session",
    "SignatureInvalid",
    "TooLarge",
    "UnsupportedAlgorithm",
    "UnsupportedVersion",
    "Verifier",
    "decode_unverified",
    "from_env",
    "from_seed",
    "from_seed_file",
    "from_seed_hex",
    "generate",
    "save_seed",
    "seed_to_hex",
    "verify",
    "verify_builder",
    "__version__",
]

On this page