Skip to content

Releases: mitrity-io/mitrity-python

Release list

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 15:51
87c5e89

The first published version. It carries the four adapters and the wire client.

Added

  • mitrity.admission: the wire client for the MITRITY edge's admission API
    (Client.decide(), admit(), attest() and their async variants), with the
    same edge discovery, loopback-only and fail-closed rules as mitrity-hook.
  • mitrity.claude_agent_sdk: governed_options() and Governor for the Claude
    Agent SDK. A PreToolUse hook admits the execution-capable built-in tools
    through the edge before they run, mcp_servers is pinned to the MITRITY
    gateway, routed Bash (governed shell) is honored, and the runtime's posture is
    attested on the first prompt of each session.
  • mitrity.langchain: govern() and govern_tools() wrap LangChain tools so
    every call is admitted before the tool runs.
  • mitrity.openai_agents: govern() and govern_tools() for the OpenAI Agents
    SDK. Function tools get a tool input guardrail and a wrapped invoker that
    applies the edge's updated_input; the shell and apply-patch tools go through
    the SDK's approval flow; hosted tools and the computer tool pass through and are
    attested as unhooked; handoff agents are governed with the same governor.
  • mitrity.crewai: govern() and govern_tools() for CrewAI. GovernedTool
    keeps the inner tool's name, description, schema and policies, admits every
    call first, and returns CrewAI's ToolFailure with the edge's reason on a deny.
  • Conformance tests C1–C20 against an in-process fake edge.