TrustedPAI Back to overview
Technical evaluation

Run a controlled decision locally in minutes.

The TrustedPAI sandbox runs on your machine with disposable local data. It does not call production, move money, or require a shared public API key.

Use only synthetic test data. Do not place customer data, payment credentials, or production API keys in the local sandbox.
1

Start the local environment

Docker Compose starts TrustedPAI and a disposable Postgres database.

2

Create local demo clients

The seed command generates temporary credentials and test material inside the sandbox.

3

Observe decisions

Run the deterministic scenarios to inspect the recommendation and the reasons behind it.

Quickstart

git clone https://github.com/0xENX/TrustedPAI.git
cd TrustedPAI
docker compose -f compose.sandbox.yaml up --build -d
docker compose -f compose.sandbox.yaml exec app python scripts/seed_clients.py
PYTHONPATH=src python3 scripts/demo_risk_decisions.py

Confirm the service is ready at http://127.0.0.1:8000/v1/health. Open http://127.0.0.1:8000/docs to inspect the local API after creating the demo clients.

Expected policy outcomes

APPROVEA small EUR purchase from an approved merchant with human confirmation.
HOLDA request in a currency outside the active client policy.
REJECTA high-risk request without human presence and with adverse agent history.