Skip to main content

ory-agent-framework

Ory Agent Security for the Microsoft Agent Framework (the successor to AutoGen + Semantic Kernel).

Gates every function/tool call through Ory Permissions via function middleware, traces invocations, and propagates the user → agent identity — built on ory-argus.

pip install ory-agent-framework
from ory_agent_framework import ory_function_middleware

agent = chat_client.create_agent(
    instructions="…",
    tools=[search, send_email],
    middleware=[ory_function_middleware()],
)

In enforce mode (ORY_PERMISSION_MODE=enforce) a denied call sets the result to the denial and terminates without invoking the function. In observe mode (default) the function runs and a permission.observe_deny span is recorded.

Credentials come from the shared ~/.config/ory-agent-plugins/config.json.

Download files

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

Source Distribution

ory_agent_framework-0.14.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

ory_agent_framework-0.14.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file ory_agent_framework-0.14.0.tar.gz.

File metadata

  • Download URL: ory_agent_framework-0.14.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ory_agent_framework-0.14.0.tar.gz
Algorithm Hash digest
SHA256 3018a1b5f5fcac45082fe3864270ccf61cb84c72713ecf57a1d7e5c4c59ff863
MD5 a220e6c4e10df5b321c8b4b8d386616a
BLAKE2b-256 f5a1defb2f2e8850490cfe389dd14949f48e0508a4ac646bc9657c50e8a5b8b4

See more details on using hashes here.

File details

Details for the file ory_agent_framework-0.14.0-py3-none-any.whl.

File metadata

  • Download URL: ory_agent_framework-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ory_agent_framework-0.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32482225356d9af16ce31f1273b3b77f9146e45cb86308be5324e58e4c9269ba
MD5 188207b81eb4cfddd44eab6d2395867d
BLAKE2b-256 91ac6efbbce47b3ed06f5e737ece80f6ba976a5682fefeaf7b8c616614bf32c5

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

This release

0.14.0 This release

2 files

0.13.9

2 files

0.11.1

1 file

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