What agents can do
MeshAgent agents can be used to:- answer questions in threaded conversations
- search the web, read files, and write documents
- process background jobs from queues
- handle inbound email
- expose themselves as tools for other agents or applications
- work with room storage, database tables, memory, and custom toolkits
- stay available as room or project services instead of only running as one-off scripts
How to build agents with MeshAgent
MeshAgent supports two main ways to build agents:Use the CLI
The CLI is the fastest way to get a production-ready agent running in a room. For most new text and background agents, start withmeshagent process.
Use the SDKs
UseSingleRoomAgent and the MeshAgent SDKs when you need custom room-connected behavior or deeper control over agent logic, tool resolution, or service composition.
What MeshAgent provides around your agent
MeshAgent handles the runtime pieces around the agent logic you write:- room connectivity and identity
- tool and toolkit discovery
- threaded conversations and persisted thread state
- UI integration through MeshAgent Studio and SDK clients
- deployment as room or project services
A simple deployment example
Once a process-backed agent works locally, you can deploy it directly from the CLI:meshagent process join.
Older patterns
Older dedicated runtimes and older SDK patterns are being phased out of the main docs. For new text and background agents, prefermeshagent process.
Running and deploying agents
MeshAgent agents can be run locally during development and deployed later as room or project services.| Mode | Description | Best For |
|---|---|---|
| Process Agents Overview | Run a process-backed agent directly from your machine with the MeshAgent CLI. | Testing and iteration |
| Project Service | Deploy once to run automatically in every room of a project. | Shared always-on agents |
| Room Service | Deploy to a specific room only. | Room-scoped agents |
Next Steps
- Process Agents Overview: Learn what
meshagent processis, what it supports, and how to run it. - Process Agent Architecture: Understand how process-backed agents work behind the scenes.
- VoiceBot: Learn the current dedicated voice runtime.
- SingleRoomAgent: Build a custom room-connected agent with the SDK.