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.1.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.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ory_agent_framework-1.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 3d32eb6276fa019231948340bdd2149060dbdecc04897e4935b3143a7a8cd0db
MD5 53c06514b555c10b08be4df659b099c8
BLAKE2b-256 038d8a457ae6274db5140f6845eec1b8358e54c38d40d5634b8d497c0d0fe82c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ory_agent_framework-1.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfa1a055a71ad783d30a37c710cd748292e0e67464774da1bf81fb8096403ccc
MD5 f81a7f6fe5ea71f188bae6994d2f6bab
BLAKE2b-256 cce1e484aeae8899beb8e118b3a6b1436c1cec45c26af14572206c1fcf81586b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.1

2 files

1.0.0

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