Request access
DocsSDK & ExamplesAPI Reference
Documentation

SDK & examples

Private-beta Node and Python clients for AgentGuard telemetry and Agent Firewall/action-control integration.

Node source install

The repository package @rakshex/sdk includes AgentGuard telemetry/privacy support and an Agent Firewall client. During private beta, use the checked-out source unless/until a public registry release is explicitly verified.

git clone https://github.com/Akshu1245/Rakshex-complete-codebase.git
cd Rakshex-complete-codebase
pnpm install --frozen-lockfile
pnpm --filter @rakshex/sdk build

Agent Firewall

import { createAgentFirewallClient } from "@rakshex/sdk";

const firewall = createAgentFirewallClient({
  apiKey: process.env.RAKSHEX_API_KEY!,
  workspaceId: 1,
  agentId: "agent_123",
  capabilityToken: process.env.RAKSHEX_CAPABILITY_TOKEN!,
});

Use the brokered credential path when you need a DENY to prevent release/use of a centrally mediated provider credential. A callback run inside your own process still keeps that process responsible for the credential it already holds.

Python

The source package rakshex-agentguard includes both AgentGuardClient and AgentFirewallClient. It is not claimed as a public PyPI package yet.

python -m pip install -e "packages/agentguard-python[dev]"
python -m pytest packages/agentguard-python/tests