Skip to main content

Quickstart — First Trace in 60 Seconds

Prerequisites

Step 1: Get your API key

Go to Dashboard → Settings → API Keys → Create. Copy the key — it starts with adj_agent_.

Step 2: Send your first trace

pip install adjudon
from adjudon import Adjudon

client = Adjudon(api_key="adj_agent_abc123...", agent_id="my-agent")

result = client.trace(
input_context={"prompt": "What is the capital of France?"},
output_decision={"action": "llm_response", "text": "Paris is the capital of France."},
)

print(result.status) # "approved", "flagged", or "blocked"

Step 3: Read the response

{
"success": true,
"data": {
"id": "trace_...",
"status": "approved",
"confidence": 0.92,
"message": "Trace approved"
}
}

The status field tells you what Adjudon decided:

StatusMeaning
approvedConfidence above threshold, no policy violations
flaggedRouted to the Review Queue for human oversight
blockedHard policy violation — stop the agent action
passthroughAdjudon was unreachable — fail-open, agent continues

Step 4: View in the dashboard

Go to app.adjudon.comTraces to see the trace you just sent, including the confidence score, policy evaluation result, and full audit entry.

Next steps