← All examples

Conversation Agent

Agent implementing the conversation type for multi-turn sessions with message history and streaming.

agentconversationstreaming

Build an agent that supports multi-turn conversations with managed message history. Ideal for chatbots, customer support agents, and interactive assistants.

What's included

  • Conversation type — implements the predefined conversation input/output schemas
  • Message history — Reminix manages session state and message history automatically
  • Streaming responses — real-time token streaming via SSE
  • TypeScript setup — fully typed with the Reminix SDK

When to use this

Pick the Conversation Agent example when you want to:

  • Build a multi-turn conversational bot
  • Create a customer support assistant
  • Develop an interactive agent that maintains context across messages

Project structure

├── src/
│   ├── index.ts          # Agent entry point
│   └── conversation.ts   # Conversation handler with history
├── package.json
├── tsconfig.json
└── reminix.config.ts     # Reminix configuration

Quick start

After deploying, start a conversation using the Reminix API:

curl -X POST https://api.reminix.com/v1/agents/support-bot/chat \
  -H "Authorization: Bearer $REMINIX_API_KEY" \
  -d '{"message": "Hi there! What can you help me with?"}'