Getting Started

Quick Start

Get up and running with MoiAgent in under 5 minutes.

1

Create an Account

Sign up at moiagent.com using your Google account. You'll automatically get a personal workspace with your username as the slug.

2

Install the CLI

Install the MoiAgent CLI globally using npm:

Terminal
$npm install -g moiagent-cli

Verify the installation:

Terminal
$moi --version
3

Log In

Authenticate the CLI with your MoiAgent account:

Terminal
$moi login
This opens your browser to complete authentication. Once done, the CLI stores your credentials locally.
4

Create Your First Agent

Go to your dashboard and click New Agent. Fill in:

Name

URL-friendly slug

code-reviewer

Description

What it does

Reviews code for bugs

Instructions

What the agent does

You are a code reviewer...

Example: Slack Notifier Agent

You send notifications to Slack channels.

Allowed channels: #engineering, #releases
When sending a message:
1. Identify the target channel
2. Format with markdown for code
3. Send using slack_send_message
5

Run Your Agent

From any terminal, run your agent with a message:

Terminal
$moi your-workspace/slack-notifier Notify #releases channel that the deployment is complete on staging
Replace your-workspace with your actual workspace slug (shown in your dashboard header).
6

List Your Agents

See all available agents in your workspaces:

Terminal
$moi list

Next Steps