Skip to main content
This guide walks you through installing the Trident SDK, initializing it with your project keys, and making your first traced LLM call. By the end you’ll see live traces appearing in your Trident dashboard and be ready to run your first security scan.

Prerequisites

  • A Trident account at app.usetrident.dev
  • Node.js 18+ (TypeScript) or Python 3.9+ (Python)
  • An OpenAI API key (used in the example below — any supported provider works)

Steps

Next steps

Run a Red-Team Campaign

Launch your first automated attack campaign against your agent using 200+ adversarial attack vectors.

Enable the Firewall

Route your agent through the Trident firewall gateway to scan prompts and outputs in real time.

Explore Core Concepts

Understand projects, traces, findings, red-team runs, and the cloud security graph.

SDK Reference

Explore the full TypeScript and Python SDK API, including selfReport() and scan().