Skip to content
Back to home

§ DOCUMENTATION

Documentation.

Everything you need to integrate, configure, and operate Execlave.

§ Copy prompt · paste into your AI coding assistant
Integrate Execlave into my project. Install @execlave/sdk (npm) or execlave-sdk (pip). Initialize with:  const ag = new Execlave({ apiKey: process.env.EXECLAVE_API_KEY, baseUrl: 'https://api.execlave.com' }); Register my agent:  await ag.registerAgent({ agentId: 'my-agent', name: 'My Agent', type: 'chatbot', platform: 'custom' }); Wrap LLM calls:  const trace = ag.startTrace({ agentId: 'my-agent' });  trace.setInput(userMessage);  const response = await llm.call(userMessage);  trace.setOutput(response).setModel('gpt-4').finish(); Add shutdown handler:  process.on('SIGTERM', () => ag.shutdown()); See full guide: /docs/getting-started
§ 01

Getting Started

§ 02

Policies & Governance

§ 03

Observability & Incidents

§ 04

Security & Compliance

§ 05

Integrations

§ 06

Reference

§ 07

Quick Reference

EndpointMethodDescription
POST /api/v1/agentsRESTRegister a new AI agent
PATCH /api/v1/agents/:id/pauseRESTKill switch — pause an agent
POST /api/v1/agents/authorizeRESTAgent-to-agent authorization check
POST /api/v1/policiesRESTCreate a governance policy
POST /api/v1/policies/enforceRESTPre-execution policy enforcement
POST /api/v1/policies/testRESTDry-run policy test
POST /api/v1/policies/generate-from-textRESTAI-generated policy from natural language
POST /api/v1/traces/ingestRESTSubmit execution traces (batched, up to 100)
GET /api/v1/traces/:id/treeRESTGet hierarchical trace tree
POST /api/v1/webhooksRESTRegister a webhook endpoint
POST /api/v1/webhooks/:id/testRESTSend a test delivery
POST /api/v1/alerts/rulesRESTCreate an alert rule
GET /api/v1/alerts/historyRESTView alert history
GET /api/v1/incidentsRESTList incidents
GET /api/v1/approvals/pendingRESTList pending approvals
POST /api/v1/approvals/:id/decideRESTApprove or deny an action
GET /api/v1/compliance/reportRESTGenerate compliance evidence report
GET /api/v1/audit-logs/chain/verifyRESTVerify audit log chain integrity
POST /api/v1/anomaly/detectRESTRun anomaly detection
POST /api/v1/anomaly/forecastRESTRun time-series forecast
POST /api/v1/custom-validatorsRESTRegister a BYOV endpoint
GET /api/v1/analytics/overviewRESTOperational analytics overview
§ 08

Install

JavaScript / TypeScript

npm install @execlave/sdk

Python

pip install execlave-sdk

CLI (npm)

npm install -g @execlave/cli

CLI (login)

execlave login