Teaflask Docs

Agents

Conversations

Conversations shows what people asked your agents and what each agent did in reply, with what each conversation cost. Open Conversations in the sidebar; owners and members see the same list. Conversations are read-only: you can read them and turn a website conversation into a test, but you can't reply from the dashboard.

What Conversations lists

Conversations lists every conversation your agents had with the people they serve, on your site and in Slack, most recently active first. Conversations with Brew, Playground chats and test runs aren't listed.

Column What it shows
Conversation The first line of the first message, or the name of the first file sent
User Your id for the user when your app identifies them, their Slack name or #channel, or Anonymous
Agent The agent that answered, or Not recorded when that isn't known
Turns How many exchanges the conversation holds
Spend What the conversation has cost, exact to fractions of a cent
Last activity When it last changed

A row is marked Failed when its latest answer failed, and Waiting on the user when the agent is waiting for an approval or for your app to finish a step. Slack conversations carry a Slack label.

To narrow the list, choose an agent in the filter above it. The list shows 50 conversations at a time, up to the 200 most recent; filter by agent to reach further back. The dashboard has no search box, but an AI tool you connect to Teaflask can search what users wrote and filter by date and by how the latest answer ended.

Read a conversation

Open a conversation to read it the way it happened:

  • The user's messages, with any images and files they sent. In Slack, each message shows who wrote it.
  • The agent's replies, and each tool or action it used. Open a tool row to see its input and its result, or why it was declined or failed.
  • Approvals: whether each request was approved, with the user's note when they left one.
  • Delegated work: when the agent handed tasks to subagents, open one to see what it did and what it reported back.

Details, beside the conversation, shows the user, the agent, the number of turns, the spend and when it started. A conversation that's still running updates as the agent works; reload the page to refresh Details.

When an answer failed

A failed answer in a conversation shows why, in a sentence that says what fixes it. The common reasons:

  • The answer couldn't be paid for; Settings → Models shows what pays for each agent's replies.
  • The model's provider wasn't responding, or its content policy refused the message.
  • The message, or the whole conversation, got too long for the model.

Add a conversation to tests

Choose Add to tests at the top of a conversation to turn it into a test that later versions of the agent are checked against. In the dialog, you can say what matters in What matters here, for example "It must ask before cancelling a plan", then choose Add to tests. See Tests for how tests are written and run.

Add to tests appears only on website conversations an agent had with one of its users; Slack conversations can't become tests yet. While the latest reply is still running or waiting on the user, it's unavailable until the reply finishes and you reload. A conversation can't become a test either when its agent no longer exists, or when more than one agent served it.

How long conversations are kept

Conversations with anonymous visitors are deleted after 365 days without activity. Conversations with identified users, including Slack conversations, are kept. To erase what an agent remembers about a user, use Memory.

Continue reading

  • Tests: check later versions of an agent against real conversations.
  • Transcript: what users see of the same conversation.
  • Slack agents: how a Slack agent's conversations work.
  • Usage: spending across the whole organization.