Skip to main content

Ory Agent Security core for Python — authentication, per-tool authorization, tracing, and identity propagation for Agent SDK integrations. Python sibling of the TypeScript @ory/argus.

Project description

ory-argus (Python)

Ory Agent Security core for Python — the sibling of the TypeScript @ory/argus package.

It provides the shared primitives that the Ory Agent SDK integrations (LangChain, OpenAI Agents, Pydantic AI, Microsoft Agent Framework, CrewAI, LlamaIndex, Google ADK, AWS Strands, Google Antigravity) build on:

  1. Authenticate the session on startup (user PKCE login + agent OAuth2 identity).
  2. Authorize every tool call against Ory Permissions (Zanzibar-style relation checks).
  3. Trace every tool invocation as a structured span (OTLP + NDJSON).
  4. Propagate identity through the user → agent → sub-agent delegation chain.

Interop with the TypeScript core

ory-argus reads and writes the same shared config file as every TS harness plugin — ~/.config/ory-agent-plugins/config.json (XDG / %APPDATA% aware). A user who logs in via a TS coding-agent harness has those credentials transparently reused by a Python SDK integration, and vice-versa. This package never invents a second config location; use get_data_dir() / get_config_path().

Install: pip install ory-argus · Console script: ory-argus

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ory_argus-0.11.1-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file ory_argus-0.11.1-py3-none-any.whl.

File metadata

  • Download URL: ory_argus-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 61.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ory_argus-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c06fd530980ec243efd8e5726b77913c42da5283a604d890b9ff0d1c9f1f9ac
MD5 2d4b10e14efacb95b6426205cf324dff
BLAKE2b-256 0b9305b9916280b22c67f55d8b09e9df897a0e16771bb71789dc91f61151c7b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page