C
Docs

Chat Interface

The primary way to interact with your AI agent through C3's mobile-optimized chat.

Overview

The chat interface is the heart of C3. It provides a familiar messaging experience optimized for coding conversations. Send messages, view responses, approve tool executions, and track progress — all from your mobile device.

The interface is designed for readability with:

  • Dark theme optimized for low-light environments
  • Monospace font for code snippets
  • Syntax highlighting for code blocks
  • Expandable sections for long content

Message Types

The chat displays several types of messages:

User Messages

Your messages appear on the right side of the screen in a distinct color. They support basic markdown formatting.

Assistant Messages

The agent's responses appear on the left with full markdown support including:

  • Headers and paragraphs
  • Bold, italic, and inline code
  • Bulleted and numbered lists
  • Code blocks with syntax highlighting
  • Links and blockquotes

Tool Cards

When the agent uses a tool (reading files, running commands, etc.), it appears as an expandable card showing the tool name, inputs, and results.

Thinking Blocks

The agent's reasoning process is shown in collapsible "thinking" blocks. These help you understand the agent's thought process and decision-making.

Expand for Details

Tap on any tool card or thinking block to expand it and see the full content. Long outputs are truncated by default for readability.

System Messages

Informational messages about session state, errors, or important events appear as subtle system messages in the chat flow.

Sending Messages

The message input area at the bottom of the screen lets you:

  • Type or paste text messages
  • Attach images (tap the attachment button)
  • Send multi-line messages (use Shift+Enter on keyboards)
  • Cancel an in-progress response (tap the stop button)

Request Cancellation

While the agent is processing, you can cancel the request by tapping the stop button. This is useful if:

  • The agent is going in the wrong direction
  • The response is taking too long
  • You want to rephrase your question

Interrupting the Agent

Cancelling a request stops the agent's current response, but the partial response is still saved. You can continue the conversation from there.

Image Attachments

C3 supports attaching images to your messages, enabling visual context:

  • Screenshots — Share UI bugs or design references
  • Diagrams — Architecture diagrams or flowcharts
  • Error Messages — Screenshots of error dialogs
  • Designs — Mockups or design files

Supported Formats

The following image formats are supported:

  • PNG
  • JPEG / JPG
  • GIF
  • WebP

How to Attach

  1. Tap the attachment button in the message input
  2. Choose from camera, photo library, or files
  3. The image appears as a preview above your message
  4. Send the message with your text and image

Real-Time Responses

As the agent works on your request, you see updates in real-time. This provides:

  • Immediate Feedback — See tool executions and responses as they happen
  • Early Interruption — Cancel if the agent goes off-track
  • Progress Visibility — Know exactly what the agent is doing at any moment

Loading States

The chat shows different loading indicators:

  • Thinking indicator — The agent is processing your request
  • Tool executing — A tool is running
  • Waiting for approval — The agent needs permission