Skip to main content

Ostivane

Runtime security for AI agents. Ostivane checks every tool call an agent is about to make, refuses the dangerous ones before they run (destructive commands, leaked secrets, data sent to drop sites, actions after a prompt injection), lets a person decide on borderline ones, and keeps a signed, hash-chained record your auditors can verify offline.

pip install ostivane                  # SDK, CLI, gateways
pip install "ostivane[web]"           # the hosted cabinet (self-host it)
pip install "ostivane[mcp]"           # MCP gateway and server

See it work in a minute, with nothing to sign up for: ostivane try walks a demo agent into a prompt injection and shows which of its next steps are refused, and why. Add --cloud URL --workspace WS (and P7_API_KEY) to watch it in your cabinet.

from ostivane.recorder import AgentRecorder

rec = AgentRecorder("https://app.example.com", API_KEY, WORKSPACE, agent="support-bot")

@rec.tool("bash", target=lambda cmd: cmd)          # checked before it runs; a refused try is recorded
def bash(cmd): ...

No code change: ostivane soc-llm (OpenAI, Anthropic, Gemini), ostivane soc-mcp / ostivane soc-mcp-http (MCP servers), ostivane soc-gateway (HTTP proxy). Clients for TypeScript and Go are in the source repository, which is not public yet.

Import it as ostivane. Code written for the earlier present-day package keeps working: import present_day gives the same modules, and the present-day command is still installed.

Licensed under Apache-2.0.

Metadata

Release files for ostivane 0.24.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ostivane 0.24.0
File Size Uploaded Provenance Actions
ostivane-0.24.0.tar.gz 458.8 kB Without provenance Details for ostivane-0.24.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ostivane 0.24.0
File Interpreter ABI Platform Actions
ostivane-0.24.0-py3-none-any.whl Python 3 none any Details for ostivane-0.24.0-py3-none-any.whl

Total release size: 779.0 kB

Release files / ostivane-0.24.0.tar.gz

Download URL ostivane-0.24.0.tar.gz
Size 458.8 kB
Tags Source
SHA-256 checksum
How to use checksums
21ecf0bfed83504e5fa6a724cdef86d5c35ec5bf76a6e4dd45644f7ff077da80
BLAKE2b-256 checksum
How to use checksums
95ffedaecfd4fdf1798723a0f6e49cd7e3a5fb89bb769ae8c6c1bb09f316aba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ostivane-0.24.0-py3-none-any.whl

Download URL ostivane-0.24.0-py3-none-any.whl
Size 320.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b2c980acbce4330eecea0d54ffce0abc6ef8fa55c546419e3f8465aefb8de85
BLAKE2b-256 checksum
How to use checksums
cfd70dae73bc6a8fd9043b4cb88f5938f21a1d8b7bbede82d63e27b598b41022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for ostivane 0.24.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.24.0 This release

2 release files No provenance

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