Ecosystem Guides: MCP Server · Claude Code · Cursor · Local Agent · How It Works · All Docs
CirvixGuides / Local agent

Your agent,
under policy.

Any Node agent can wrap its tool object with guard.wrap() — same engine, same audit chain.

Install

  1. npm install -g @cirvix_ai/agent-control
  2. # or: npm install @cirvix_ai/agent-control

Wrap your tools (SDK)

  1. import { guard, STARTER_RULES } from '@cirvix_ai/agent-control';
  2. const safeTools = guard.wrap(myTools, { rules: STARTER_RULES });

Policy

  1. cirvix policy check

Test — watch a decision

Call a wrapped tool with a credential-shaped argument. It returns a structured denial, never executes, and writes an audit event.

Verify

cirvix logs lists every decision with its rule trace. Deny on secrets, permit on workspace reads — that is your boundary working.

Install Free See the Attack Lab

Copied to clipboard