Skip to main content

Chat — Talking to Your AI Agents

Access: All users (for agents they have been assigned to)

The Chat module is the primary interface for interacting with your AI agents. It provides a familiar, messaging-style experience with enterprise features like real-time streaming, security labels, and session management.


What is the Chat Module?

Think of it as a chat app (like Slack or WhatsApp) purpose-built for AI agents. Instead of chatting with people, you're chatting with your registered AI agents. Every conversation is:

  • Streamed in real-time — responses appear word by word as the agent generates them
  • Automatically saved — you can return to any conversation at any time
  • Secured — AgentGuard monitors every message for safety (if enabled)
  • Tracked — token usage, latency, and costs are recorded per message

Demo Video


How to Start a Conversation

Step 1: Find Your Agent

  1. Click Agents in the sidebar.
  2. You'll see all agents you have access to displayed as cards (grid view) or rows (list view).
  3. Each agent card shows:
    • Name and description
    • Framework badge (ADK, LangGraph, CrewAI) with color coding
    • Deployment type (Cloud Run, Agent Engine, Custom)
    • Status indicator — a pulsing green dot means "Live", grey means "Offline"
    • Tags for categorization (e.g., production, support)

Agents page grid view — Replace with actual screenshot

Step 2: Open the Chat

  1. Click the Chat with Agent button on the agent card.
  2. You'll be taken to the full-screen chat interface.

Step 3: Send a Message

  1. Type your message in the text input at the bottom.
  2. Press Enter or click the send button.
  3. The agent's response will stream in real-time — you'll see it appear word by word.

Expected result: The agent responds with formatted text. Responses can include:

  • Plain text paragraphs
  • Markdown formatting — tables, code blocks (with copy buttons), bold, italic, lists
  • Citations — if the agent references external sources

Chat conversation with streaming response — Replace with actual screenshot


Managing Chat Sessions

What is a Session?

A session is a single conversation thread with an agent. Each session maintains its own conversation history, so the agent remembers what you discussed within that session.

Creating a New Session

  • Click + New Chat in the chat sidebar to start a fresh conversation.
  • Each new session is isolated — the agent starts with no memory of previous sessions.

Switching Between Sessions

  • The left panel of the chat interface shows all your sessions for the current agent.
  • Each session displays:
    • Session name (auto-generated from your first message)
    • Last message timestamp (shown as relative time, e.g., "2 hours ago")
    • Active session highlighting — the current session is visually highlighted
  • Click any session to switch to it and see the full conversation history.

Chat Window

Deleting Sessions

  • Hover over a session in the sidebar and click the trash icon to delete it.
  • Deleted sessions cannot be recovered.

What You'll See in Each Message

Every agent response in TraptureIQ includes metadata for transparency:

LabelWhat It ShowsWhy It Matters
AgentGuard Status"Safe" or "Sanitized" — indicates whether the firewall processed the messageKnow instantly if content was modified for safety. If a response is blocked, you'll see a warning message instead.
Token CountThe exact number of tokens consumed by the message (input + output)Track per-message cost and understand how verbose your agent is
LatencyHow many seconds the agent took to respondMonitor response times and identify slow agents

Features at a Glance

FeatureDescription
Real-time StreamingResponses appear word by word as the model generates them — no waiting for the full response
Markdown RenderingFull GitHub-flavored markdown support — tables, code blocks, headings, lists, bold, italic
Code Blocks with CopyCode snippets have a one-click copy button for easy use
Session PersistenceEvery conversation is saved. Close the browser and come back — your history is preserved
File AttachmentsAttach files to your messages when supported by the agent
Multi-Session SupportChat sidebar lets you manage multiple conversation threads per agent
Auto-NamingSessions are automatically named based on your first message
Error HandlingIf an agent fails to respond, you'll see a clear error message instead of a blank response


Tips for Beginners

  • Start simple — Send a short greeting to test that the agent is working before asking complex questions.
  • One agent at a time — The chat interface is scoped to one agent per conversation. To chat with a different agent, go back to the Agents page and select it.
  • Check the status — If an agent's card shows "Offline", it means the underlying service is down. Contact your admin or check the deployment.
  • Use sessions wisely — For different topics, start a new session. Mixing topics in one session can confuse the agent's context.