Zero-Trust Runtime Execution Firewall and Circuit Breaker for Autonomous AI Agents
BreakPoint AI is a sub-millisecond runtime execution guard for AI agents. It intercepts function calls, tool invocations, and database queries before they reach external APIs, preventing catastrophic SQL injections, runaway financial loops, and unauthorized cloud mutations.
pip install breakpoint-sdkfrom breakpoint import BreakpointGuard
guard = BreakpointGuard(config_path="config/breakpoint.yaml")
@guard.protect(tool_name="database.execute_sql")
def execute_sql(query: str):
return db.execute(query)
# If an agent attempts: execute_sql("DROP TABLE users; --")
# --> BreakpointBlockedException: SecurityPolicyViolation: Destructive SQL DROP statement detected (0.12ms)from breakpoint.adapters.gemini_adapter import BreakpointGeminiAdapter
adapter = BreakpointGeminiAdapter(engine=guard.engine)
# Intercepts Gemini function calls and returns synthetic self-correction feedback
result = adapter.wrap_tool_execution(fn_name, fn_args, real_tool_fn)from breakpoint.adapters.openai_adapter import BreakpointOpenAIAdapter
adapter = BreakpointOpenAIAdapter(engine=guard.engine)
tool_message = adapter.execute_with_guard(openai_tool_call, tool_registry)from breakpoint.adapters.langchain_adapter import BreakpointLangChainGuard
guard = BreakpointLangChainGuard(engine=guard.engine)
guarded_tool = guard.wrap_tool(my_langchain_tool)# Mode 1: Local Mode (Offline YAML policies)
guard = BreakpointGuard(config_path="config/breakpoint.yaml")
# Mode 2: Cloud Managed Mode (Enterprise audit logs, team dashboard, Slack approval bot)
guard = BreakpointGuard(api_key="bp_live_...")Apache 2.0 | Maintained by Vishal Raj