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, records 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 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 activity event 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-1.0.0.tar.gz (4.5 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-1.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ory_agent_framework-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1c084a83439dfe1b29c9600d1e8526b2c24d47655c35b9c93ff2c2e0470fb3ad
MD5 74ff846c3d55b54cc8bc0e42b1d205ae
BLAKE2b-256 7a7b4a254e5174d80bfa7588e6312d0c9ab1967bbd82e2ae0b40f5141692ad3e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ory_agent_framework-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b72edf728e03a84ca51bf895a24d52ee02ba5c6a23897e1ab9b065ac311d5b0
MD5 2a8362bb2e69fe0485d4086cf6021bdd
BLAKE2b-256 73e5e9dc754cce2e7fdc1d59a261fdc495a79099cb1d4b552af89d1c62d65c2e

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.0

2 files

1.0.1

2 files

This release

1.0.0 This release

2 files

0.14.0

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