This Quickstart helps you run the Agentic Evidence Logger (Developer Preview v0.1.0), install the Python SDK, and try the demo agent.
Build the image:
docker build -t agentic-evidence-backend:alpha backend
Run the container with environment variables:
docker run --rm -p 8000:8000 \
-e AE_DB_URL="sqlite:///data/app.db" \
-e AE_STORAGE_BACKEND="local" \
-e AE_API_KEY="<your-api-key>" \
-e AE_PRIVATE_KEY_PATH="secrets/ed25519_private.key" \
agentic-evidence-backend:alpha
Or run with mounted secrets file(s):
docker run --rm -p 8000:8000 \
-v /Users/rajeshwar/compliance-workspace/agentic-evidence/backend/secrets/dev_api_key:/app/secrets/dev_api_key:ro \
-v /Users/rajeshwar/compliance-workspace/agentic-evidence/backend/secrets/ed25519_private.key:/app/secrets/ed25519_private.key:ro \
-e AE_DB_URL="sqlite:///data/app.db" \
-e AE_STORAGE_BACKEND="local" \
-e AE_API_KEY="$(cat /app/secrets/dev_api_key)" \
-e AE_PRIVATE_KEY_PATH="/app/secrets/ed25519_private.key" \
agentic-evidence-backend:alpha
Backend will be available at http://127.0.0.1:8000.
pip install agentic-evidence-sdk
(For development in this repo, you can also install in editable mode: pip install -e sdk/python.)
The demo agent posts a minimal tool_invocation event and an attachment.
Edit environment variables in demo-agent/manifest.json if needed, then run:
python demo-agent/demo_agent.py
Expected output includes the recorded evidence ID and details such as status, signature, combined_hash, and artifacts_count.
Use the evidence ID printed by the demo run, and query the backend:
Example using curl:
curl -s -H "X-API-Key: <your-api-key>" http://127.0.0.1:8000/api/v1/evidence/<evidence_id>
| AE_STORAGE_BACKEND: local | s3 |