ABS Core Docs

Quickstart

Govern your first agent in 5 minutes

Quickstart

Start governing your AI agents with ABS Core in three simple steps.

Option A: VS Code Extension (Easiest)

Install the ABS Kernel from the Marketplace. It handles everything including local WASM validation and CHI (Cognitive Host Interface).

code --install-extension oconnector.abs-vscode

Option B: SDK / CLI

If you don't have an access token, generate one at the Web Dashboard or request a trial at trial@abscore.app.

export ABS_PAT="abs_pat_7f2b9a...1c3e8"

Configure the Magic Proxy

Replace your LLM provider's base URL with the ABS Proxy endpoint. This allows ABS to intercept and govern every interaction.

Python Example (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://api.abscore.app/v1/proxy",
    api_key="your_openai_key" # ABS will automatically protect this
)

Monitor the Ledger

Verify the governance decisions in real-time using the Events API or the Web Dashboard.

curl https://api.abscore.app/v1/events \
  -H "Authorization: Bearer $ABS_PAT"

2. Configure the Magic Proxy

Replace your LLM provider's base URL with the ABS Proxy endpoint. This allows ABS to intercept and govern every interaction.

Python Example (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://api.abscore.app/v1/proxy",
    api_key="your_openai_key" # ABS will automatically protect this
)

# This request is now governed!
response = client.chat.completions.create(
  model="gpt-4",
  messages=[{"role": "user", "content": "Process refund for account #123"}]
)

Governed Response (Allowed):

{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "choices": [
    { "message": { "content": "Refund processed for account #123." } }
  ],
  "x-abs-verdict": "ALLOWED",
  "x-abs-trace-id": "tr_9f8e7d6c",
  "x-abs-policy": "financial-v2"
}

Blocked Response (Policy Violation):

{
  "error": {
    "code": 403,
    "message": "ABS Policy Violation: Unauthorized data exfiltration detected.",
    "x-abs-verdict": "DENIED",
    "x-abs-trace-id": "tr_1a2b3c4d",
    "x-abs-rule": "EXFIL-001",
    "x-abs-policy": "financial-v2"
  }
}

3. Monitor the Ledger

Verify the governance decisions in real-time using the Events API or the Web Dashboard.

curl https://api.abscore.app/v1/events \
  -H "Authorization: Bearer $ABS_PAT"

Response:

{
  "events": [
    {
      "id": "evt_x7y8z9",
      "type": "proxy.request",
      "verdict": "ALLOWED",
      "agentId": "my-first-agent",
      "traceId": "tr_9f8e7d6c",
      "timestamp": "2026-02-18T09:30:00Z",
      "hash": "sha256:a1b2c3..."
    }
  ],
  "cursor": "evt_x7y8z9"
}

Next Steps

On this page