← All templates

Chat Agent

typescript

Conversational agent with message history and streaming responses.

Build a conversational agent that maintains message history across turns. Ideal for chatbots, customer support agents, and interactive assistants.

What's included

  • Conversation management — automatic message history tracking
  • Streaming responses — real-time token streaming for a responsive UX
  • TypeScript setup — fully typed with the Reminix SDK
  • Ready to deploy — push to GitHub and Reminix builds automatically

When to use this

Pick the Chat template when you want to:

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

Project structure

├── src/
│   ├── index.ts          # Agent entry point
│   └── chat.ts           # Chat 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/{agent-id}/conversations \
  -H "Authorization: Bearer $REMINIX_API_KEY" \
  -d '{"message": "Hi there! What can you help me with?"}'