
Runs grouped by harness and inline run details, new in 6.1, then Agent Sessions. Open a run in place to see its tool calls, then run Claude Code, Codex, Copilot CLI or OpenCode inside the app and watch every tool call get checked as it happens. Guide
Start here
Pick the one that describes you.
I use Claude Code, Codex, Copilot CLI or OpenCode
No code changes. Install the app, then install the plugin for your agent.
pip install "securevector-ai-monitor[app]" && securevector-app
npx @securevector/cli # or from npm (needs Python 3.10+)
In the app, click Connect Agents, pick your agent, click Install Plugin, then restart the agent (in Claude Code, run /reload-plugins). From then on every tool call it makes is checked and logged. To run sessions inside the app, click Agents, then + Launch (full terminal on macOS and Linux; output only on Windows for now), or from a terminal:
sv-monitor session launch claude-code ~/project # comes with the app; npm: securevector monitor session ...
More in the Agent Sessions guide.
I build agents in Python
LangGraph, LangChain or CrewAI: use the SDK for your framework (it brings the app with it). It checks every tool call before it runs.
# pip install securevector-sdk-langgraph
from langchain.agents import create_agent
from securevector_sdk_langgraph import secure_middleware, cost_tracking_middleware
agent = create_agent(model, tools, middleware=[
secure_middleware(mode="enforce"), # checks every tool call before it runs
cost_tracking_middleware(), # records model tokens and cost
])
Same idea for LangChain and CrewAI; create_react_agent and raw StateGraph patterns are in the LangGraph SDK guide. The framework SDKs record model cost themselves, so do not add instrument() below as well (why).
Plain OpenAI or Anthropic code: the app package includes a tracer and a tool guard. Guide
from openai import OpenAI # or: from anthropic import Anthropic
from securevector import guard, instrument
instrument() # records every OpenAI and Anthropic call: tokens, cost, verdict
client = OpenAI()
@guard(tool_id="orders.lookup") # checks this tool's input and output
def lookup_order(order_id): ...