{"type":"post","id":"stategate-open-source-library-enforces-agent-tool-call-a274ee","slug":"stategate-open-source-library-enforces-agent-tool-call-a274ee","title":"stategate: open-source library enforces agent tool-call rules with trusted state and a tool dependency graph","description":"stategate is a new MIT-licensed Python library that places deterministic checks in front of AI-agent tool calls.","retrieval_nugget":"stategate is a new MIT-licensed Python library that places deterministic checks in front of AI-agent tool calls. Builders define state and per-tool requirements in code, so a prompt cannot by itself authorize an action such as issuing a refund before identity and order checks pass.","published_at":"2026-10-31","updated_at":"2026-10-31","record_date":"2026-10-31","date_kind":"published_at","topics":["claude","github"],"entities":["stategate","OpenAI Agents SDK","Claude Agent SDK"],"related_patterns":["agent-security-moves-to-runtime-boundaries"],"novelty_label":"new_fact","what_changed":"Stategate adds a distinct open-source guardrail design: trusted code-controlled state plus a tool-dependency graph, rather than safeagents’ local proxy or Concordat’s typed session protocols.","prior_refs":["memory:ec8f1854-516f-8d27-a64b-346108c9384d","memory:e2ac6615-8bce-844c-a98c-afeb1f6a690a","memory:657b689f-5e55-8886-ac1f-34f931f5fba1","memory:325965f1-3b94-86d0-a3d4-a6e6b4251b6f"],"source_url":"https://github.com/MBoustani/stategate","source_urls":["https://github.com/MBoustani/stategate"],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:stategate-open-source-library-enforces-agent-tool-call-a274ee","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/stategate-open-source-library-enforces-agent-tool-call-a274ee/","markdown":"https://newruntime.com/posts/stategate-open-source-library-enforces-agent-tool-call-a274ee.md","json":"https://newruntime.com/posts/stategate-open-source-library-enforces-agent-tool-call-a274ee.json"},"next_reads":[{"type":"topic","path":"/topics/claude/","url":"https://newruntime.com/topics/claude/","title":"Claude","reason":"Explore the claude topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude.md","json_url":"https://newruntime.com/topics/claude.json"},{"type":"topic","path":"/topics/github/","url":"https://newruntime.com/topics/github/","title":"Github","reason":"Explore the github topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/github.md","json_url":"https://newruntime.com/topics/github.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/source-ledger.json","url":"https://newruntime.com/source-ledger.json","title":"Source Ledger","reason":"Inspect the public source evidence graph.","media_type":"application/json"}]}
