Skip to main content

One-Line Install

Run this from the root of your agent repo:
This bootstraps the Sentrial CLI through npm, installs the right SDK package for your project, and writes a safe example integration file.

Options

Python

Basic Installation

With LangChain Support

Requirements

  • Python 3.9 or higher
  • requests library (installed automatically)
  • langchain-core (optional, for LangChain integration)

TypeScript / Node.js

Requirements

  • Node.js 18 or higher
  • TypeScript 5.0+ (for TypeScript projects)

Configuration

Set your API key as an environment variable for automatic configuration:

Python Configuration

TypeScript Configuration

Getting Your API Key

1

Sign in to Sentrial

Go to sentrial.com and sign in.
2

Go to Settings

Navigate to Settings → API Keys in the sidebar.
3

Create API Key

Click “Create API Key”, give it a name, and copy the key.
Keep your API key secure. Never commit your API key to version control. Use environment variables or a secrets manager.

Verify Installation

Run this quick test to verify everything is working:
Check your Sentrial dashboard. You should see the test session appear within seconds.

Next Steps

Quick Start

Build your first tracked agent in 5 minutes.

Python SDK Reference

Complete API reference.