ory-strands
Ory Agent Security for AWS Strands Agents.
Authorizes every tool call against Ory Permissions via Strands' tool-invocation hooks,
records invocation activity, and propagates user → agent identity — built on
ory-argus.
pip install ory-strands
from strands import Agent
from ory_strands import OryHooks
agent = Agent(model=..., tools=[search, send_email], hooks=[OryHooks()])
OryHooks subscribes to BeforeToolCallEvent (authorize) and
AfterToolCallEvent (activity log). In enforce mode a
denied tool is cancelled — Strands returns the denial as an error tool result and the
tool never runs. In observe mode (default) the tool runs and a permission.observe_deny
activity event is recorded.
Credentials come from the shared ~/.config/ory-agent-plugins/config.json, so a login from
any Ory harness or ory-argus login is reused automatically. See
docs/sdk-integrations.md.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ory_strands-1.0.1.tar.gz.
File metadata
- Download URL: ory_strands-1.0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aedabc83453cf8ce844526e741fb0e54a1166bb5a3d47347a4f5698340000f73
|
|
| MD5 |
b75500cbc7abdfa768ff4374ff26224f
|
|
| BLAKE2b-256 |
2a9209dcf8600cca464419aa6723bb26055d313b9ae1292377a430690cdb6ec2
|
File details
Details for the file ory_strands-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ory_strands-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a045ee9caebfb7e6c71190a594327a9d06f81d14cf925d45cce41b1fe5a77b70
|
|
| MD5 |
38595727a1f93b49730d2e3e56aaf610
|
|
| BLAKE2b-256 |
fef44e2d583a46a6a2cafac6605c13c203a4361981000733b59ba2067f59fca8
|