Step 1: Install the MeshAgent CLI
Choose the installation path that matches how you plan to work.Option 1: Install globally
Option 2: Install in a Python environment
If you are developing with the Python SDK, you can install the CLI in your project environment instead. If you need help setting up Python anduv, start with the Machine Setup Guide.
uv run instead of activating the environment first. For the full command reference, see MeshAgent CLI Commands.
Step 2: Connect the CLI to MeshAgent and activate a project
Authenticate in the browser and run the setup flow:bash
meshagent setup signs you in, lets you choose or create a project, and activates the project for the CLI. After this completes, the CLI is ready to create rooms, run agents, and deploy services in the active project.
Step 3: Create a room and mailbox
meshagent setup does not create a room, so create the room you will use for this guide now. If you already created a room in the MeshAgent Studio or Powerboards UI, you can reuse it here:
bash
bash
Step 4: Start your first agent
meshagent process is the main CLI path for running a room-connected agent. This example starts one agent identity with all four primary channels:
chatmail:EMAILqueue:NAMEtoolkit:NAME
bash
Ctrl+C when you want to stop it.
Step 5: Talk to the agent in MeshAgent Studio
- Open MeshAgent Studio.
- Join the
gettingstartedroom. - In the participants tab, select
my-first-agent. - Send it a message and ask it to do something that uses the tools you enabled.
Step 6: Try the other channels
You can now reach the same agent through queue, mail, and toolkit entry points. Send work through the queue:bash
bash
my-first-agent@mail.meshagent.com.
Step 7: Deploy the agent as a managed service
Running the agent locally is the fastest way to test it. When you want it to stay available without keeping your terminal open, deploy it as a service. The fastest path is to deploy it directly frommeshagent process:
bash
bash
Step 8: Inspect and manage what you deployed
Use these commands to inspect the project and the services you now have running:bash
Next steps
- Process Agents Overview: learn how
meshagent processworks and how to shape rules, tools, channels, and threads - Powerboards: learn how end users can work with deployed and built-in agents
- Rooms: learn the room runtime and built-in room APIs
- Packaging and Deploying Services: go deeper on manifests, permissions, and deployment
- MeshAgent CLI Commands: browse the full CLI reference