Set up with your coding agent
- Open Agents → Connect an agent.
- Choose Monitor production, then Pipecat.
- Copy the prompt, open your bot’s repository in a coding agent, and paste it.
Set the environment
Create a project API key for production from your initialized agent repository:
A Pipecat bot has no name of its own, so the SDK sends
EGMA_AGENT_NAME with each production conversation, and Monitoring shows it in the Agent column, as it shows a LiveKit worker’s agent_name. Without it, conversations still arrive and are graded, but show no agent name.
The bot must be able to reach EGMA_URL.
Add the monitoring line
Install the Pipecat Python SDK:await monitor(worker, runner_args) after you create the PipelineWorker and before runner.add_workers(worker). If the bot also runs simulations, keep simulation first:
runner_args from bot() into the function that builds the worker, as shown in Prepare the bot.
Redeploy the bot. The line records each conversation’s turns, tool calls with their arguments and results, and timings, and sends them to Egma. A simulation that simulation reported does not also appear as a production conversation; the SDK guide explains how monitor tells them apart.
monitor never stops your bot. If EGMA_URL or EGMA_API_KEY is missing or invalid, it logs a warning and sends nothing.
Verify a conversation
Complete one normal conversation with the updated bot, then open Traces in the project that owns the API key. Open the new trace and check its transcript and timing. There is no Pipecat monitoring switch to turn on in Egma. The first received trace confirms that your bot can send conversations to Egma. If no conversation appears, check the bot’s logs, the project key, and network access toEGMA_URL.
To stop sending production conversations, remove the monitor line and redeploy. Existing conversations stay in Egma. Keep simulation if the bot still runs Egma tests.