Overview
Usemeshagent <agent_type> deploy to create and deploy a service in one command. This is the fastest path for prebuilt agents like ChatBot, MailBot, VoiceBot, TaskRunner, and Worker. This command deploys a container-based service using the meshagent-cli image (not an external service).
Behind the scenes, the CLI generates a Service spec for you, then calls the service create API. You can always generate the YAML yourself if you want to customize it further.
These services deploy a container-based service that uses the meshagent-cli base image.
Prerequisites
- MeshAgent CLI installed and signed in (
meshagent setup).
Step 1: Deploy the agent
This deploys a ChatBot service with web search and storage enabled. Runmeshagent chatbot deploy --help to see the other available flags for the agent. MeshAgent provides a variety of tools you can add to the agent out of the box. There are two flag styles:
--require-<tool>(e.g.--require-web-search,--require-storage): tool is always enabled and not toggleable in the UI.--<tool>(e.g.--web-search,--storage): tool is available, but users can toggle it per turn in the UI. If you omit both, the tool is not available.
Option A: Deploy directly
Option B: Generate a configuration YAML and deploy
If you want to review or edit the config before deploying you can use the CLI to generate the configuration YAML:meshagent.yaml, validate the service, then deploy:
Step 2: Try it out
After deploying the agent it will be available to use in MeshAgent Studio and Powerboards. From either navigate tomyroom, select the my-chatbot agent, and begin working with the agent.