What you’ll build
- A customer support chat agent in Python with Voker’s analytics to trace users’ sessions
- View metrics, a conversation summary and an interactive session timeline for every user session in Voker’s dashboard
Pre-requisites
Step 1: Project setup
.env file in your project root with the following content:

Navigate to the Voker dashboard to find your API key
Step 2: Build the agent using Voker’s Python SDK
Createmain.py and paste the following content.
Voker wraps the OpenAI Python SDK with no additional latency.You’re using the same parameters you’re used to, with the addition of
voker_agent and voker_session to group data in Voker.Step 3: Run the agent in your terminal
Step 4: View sessions in Voker
After a brief chat with your agent, head back to Voker and navigate to the ‘Sessions’ page. You will see an entry for the conversation you just had with your agent, click into it.
Navigate to the 'Sessions' page
What you’ll get
Insights into every session between your agent and users.
Session detail page - Overview
- A dashboard to view metrics such as model used, token count and available tools

Session detail page - Metrics dashboard
- A high-level summary of the session

Session detail page - AI generated summary
- An interactive Session Timeline mapping the conversation into a readable format

Session detail page - Interactive Session Timeline
- The conversation history containing all events

Session detail page - Conversation history