Your audit data is private. Only you can see your agents.
TruveilMaking AI Accountable
⌕esc
01
Install the SDK
Add Truveil to your project in seconds. Available for JavaScript and Python — no external dependencies.
02
Log your agent actions
Add one line at each decision point in your agent. Every autonomous action gets captured automatically.
03
Get your audit report
Click Analyse — get a plain-language compliance report instantly. Export as PDF for regulators.
const Truveil = require('./truveil');
const truveil = new Truveil(
'https://api.truveil.app',
'YOUR_API_KEY_ABOVE',
'My Agent'
);
const run = truveil.run();
run.decision('subject-001', {
factors: ['criterion met', 'risk within threshold'],
outcome: 'approve',
confidence: 0.9,
});
run.stage('screening').complete('1 of 1 processed');
from truveil_sdk import TruveilSDK
sdk = TruveilSDK(
'https://api.truveil.app',
'YOUR_API_KEY_ABOVE',
'My Agent'
)
run = sdk.run()
run.decision('subject-001',
factors=['criterion met', 'risk within threshold'],
outcome='approve',
confidence=0.9)
run.stage('screening').complete('1 of 1 processed')
Active agents
—
of — tracked
High risk
—
needs review
Runs this week
—
across the fleet
As of
—
auto-refreshes hourly
Needs attention
checking…
No movement in the last 7 days.
All agents
Loading agents…
◎
No agents connected yet
Connect your AI agent using the Truveil SDK to start auditing.
Run history
LIVE AGENT ACTIVITY
Waiting for your agent. Select a project above or connect your agent using the SDK.
or explore demo scenarios
Select a run to see the audit preview
Manual Analysis
Paste any agent workflow description for instant audit
Analysing agent behaviour...
→ Parsing agent action sequence
→ Identifying autonomous decision points
→ Evaluating accountability gaps
→ Assessing data source risks
→ Generating plain-language report
Something went wrong. Please try again.
Audit Report
Truveil
AUDIT REPORT
·
——
Accountability Grade·—/100
◎
What This Report Tells You
OVERVIEW
⟳
Agent Decision Trace
STEP-BY-STEP
△
Accountability Gaps Identified
RISK ANALYSIS
→
Recommended Actions
WHAT TO DO NEXT
● Polling · last updated —
LIVE AGENT ACTIVITY 0 actions
Waiting for agent events. Select a project above or connect your agent using the SDK.
Admin Dashboard
TOTAL USERS
...
TOTAL PROJECTS
...
TOTAL ACTIONS LOGGED
...
HIGH RISK EVENTS
...
CHAIN INTEGRITY
USER LIST
Compare Runs
Connect your AI agent
● Your API Key
Loading...
Use this key in any of the integrations below. Keep it private.
Closing ends your access now. Your personal account data is deleted or de-identified within 30 days. Audit-log records are retained under applicable data-retention requirements.
Standalone Python or JavaScript agent
Custom AI agent you have built and run yourself.
ChatGPT Workspace Agent
Agent built inside a ChatGPT Business or Enterprise workspace.
Custom GPT
GPT you have built in ChatGPT.
Click any platform above to see the step-by-step setup.
Connect your standalone agent
What you need: A Truveil API key from your dashboard, plus Python 3.7+ or Node.js 16+.
01Download the Truveil SDK file: truveil_sdk.py (Python) or truveil.js (JavaScript). Drop it into your project folder.
02Initialise the SDK once at the top of your agent file using your API key.
03Open a run handle with sdk.run() and record each decision with one named line, as below.
from truveil_sdk import TruveilSDK
sdk = TruveilSDK('https://api.truveil.app','your_truveil_api_key','My Agent')run = sdk.run()run.decision('subject-001', factors=['criterion met', 'risk within threshold'], outcome='approve', confidence=0.9)run.stage('screening').complete('1 of 1 processed')
const Truveil = require('./truveil');
const truveil = new Truveil('https://api.truveil.app','your_truveil_api_key','My Agent');const run = truveil.run();run.decision('subject-001', { factors: ['criterion met', 'risk within threshold'], outcome: 'approve', confidence: 0.9,});run.stage('screening').complete('1 of 1 processed');
Test it Run your agent. Events appear in your Live Feed within seconds.
Connect your Workspace Agent
What you need: A ChatGPT Business, Enterprise, Edu, or Teachers plan with Developer Mode enabled, plus your Truveil API key.
01In ChatGPT, go to Workspace settings → Apps → enable Developer Mode.
04Set the header x-client-secret to your Truveil API key.
05Add the integration paragraph below to your agent's instructions.
You have access to the Truveil audit tool. After every material
decision, action, or recommendation you make, call the appropriate
Truveil tool before proceeding to the next step. Set project to the
name of this agent, run_id to a short identifier for this session,
and agent to the same name as the project. Include your reasoning in
the detail field. Do not assess or assign risk levels yourself.
Do not combine multiple decisions into one log entry. One decision,
one log entry. On completion, call get_audit_history with the project
name and report the total events logged.
Test it Run your agent on a task. Open Live Feed in your dashboard and watch events arrive.
Connect your Custom GPT
What you need: A ChatGPT Plus, Pro, Team, Business, or Enterprise plan, plus your Truveil API key.
01Open your Custom GPT → Configure → Actions → Create new action.
02Paste the OpenAPI schema below.
03Set Authentication to API Key, Custom header x-client-secret, value: your Truveil API key.
04Add the integration paragraph below to your GPT's Instructions.
You have access to the Truveil audit tool. After every material
decision, action, or recommendation you make, call logAgentEvent
before proceeding to the next step. Set project to the name of this
assistant, run_id to a short identifier for this session, and agent
to the same name as the project. Include your reasoning in the detail
field. Do not log secrets, credentials, or personal data in
detail fields.
Test it Ask your GPT to run a task. Open Live Feed in your dashboard and watch events arrive.