Back to Projects
🚪

Cognigate

Active Open Source MIT License

BASIS Governance Runtime API. The gateway for policy evaluation, intent processing, and enforcement decisions at the edge of your AI operations.

Overview

Cognigate is the API gateway for the BASIS governance system. It sits between your AI agents and the outside world, evaluating every action against your policy rules and trust requirements.

Named after the Latin "cognitio" (knowledge) + "gate", Cognigate acts as the intelligent gatekeeper that ensures AI operations remain within defined boundaries.

API Endpoints

POST /evaluate

Evaluate an intent against policy rules. Returns allow/deny decision with reasoning.

GET /trust/:entityId

Get current trust score and level for an entity.

POST /signal

Record a behavioral signal for trust score calculation.

POST /enforce

Enforce a policy decision and record to audit trail.

GET /audit/:entityId

Retrieve audit history for an entity.

Example Request

curl
curl -X POST https://cognigate.vorion.org/evaluate \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "entityId": "agent_123",
    "intent": {
      "action": "external_api_call",
      "target": "https://api.example.com/data",
      "method": "GET"
    },
    "context": {
      "taskId": "task_456",
      "requestedBy": "user_789"
    }
  }'
Response
{
  "decision": "ALLOW",
  "trustLevel": 3,
  "trustScore": 612,
  "reasoning": "Agent has Trusted status (L3) with external API capability",
  "conditions": [],
  "proofId": "proof_abc123"
}

Related