Your First Agent

Learn how to create and deploy your first AI agent with Reminix.

Create a New Project

Create a new project:

$ reminix create my-first-agent
$ cd my-first-agent
shell

This creates a new directory with the following structure:

Project Structure:

my-first-agent/
├── handler.ts          # Your agent logic
├── package.json        # Dependencies
├── reminix.json        # Configuration
└── README.md          # Documentation

Write Your Handler

Open handler.ts and replace the default content:

handler.ts:

import { AgentHandler } from '@reminix/types'

export const handler: AgentHandler = async (input) => {
  const { message, context } = input
  
  // Your agent logic here
  const response = `Hello! You said: "${message}"`
  
  return {
    response,
    metadata: {
      timestamp: new Date().toISOString(),
      agent: 'my-first-agent'
    }
  }
}
typescript

Deploy Your Agent

Deploy your agent to Reminix:

$ reminix deploy
shell

✅ Success
🎉 Congratulations! Your agent is now live and accessible via the Reminix platform.

Test Your Agent

You can test your agent in several ways:

  1. Dashboard: Visit your Reminix Dashboard and test your agent
  2. API: Use the REST API to send requests
  3. CLI: Test directly from the command line

Test via CLI:

$ reminix test "Hello, world!"
shell