Quickstart

Get TuringPulse running in 5 minutes.

1. Install the SDK

pip install turingpulse-sdk

2. Get Your API Key

  1. Sign up at app.turingpulse.ai
  2. Go to Settings → API Keys
  3. Create a new API key

3. Initialize

# Option A: Environment variable (recommended)
# export TP_API_KEY=sk_...

# Option B: Programmatic init
from turingpulse_sdk import init, TuringPulseConfig

init(TuringPulseConfig(
    api_key="sk_...",
    workflow_name="My Workflow",
))

4. Instrument Your Agent

from turingpulse_sdk import instrument

@instrument(name="My Agent")
def my_agent(query: str):
    return llm.chat(query)

# Run your agent — traces are captured automatically
result = my_agent("Hello, world!")

5. View Traces

Open app.turingpulse.ai and navigate to Operations → Runs to see your traces.

💡
Framework Plugins
Using LangGraph, CrewAI, or another framework? Install a dedicated plugin for automatic instrumentation with zero code changes to your business logic. See Framework Plugins for the full list.

Next Steps