meshagent process.
Use meshagent process deploy when the CLI flags describe the agent you want to run. Use meshagent process spec when you want MeshAgent to generate a starting service manifest that you can review, edit, and deploy with meshagent service.
Deploy directly with meshagent process deploy
bash
meshagent process deploy generates the starting service manifest and deploys it immediately.
Use this when:
- the built-in CLI flags describe the agent
- the manifest does not need changes before deployment
- you want to deploy the agent to a room or project from one command
--room myroom for a room service. Omit --room to deploy the service project-wide.
Generate a service manifest with meshagent process spec
meshagent process spec generates the starting service manifest for a process-backed service and writes it to stdout.
bash
- you want to review the service manifest before deployment
- you need to customize fields that are not exposed as
meshagent processflags - you want to keep the service definition in source control
Read next
- Service YAML: write, validate, deploy, update, and delete services from a manifest.
- Process Agents Overview: understand how process agents run.
- Deploy a Process Agent: deploy a process-backed agent with chat, email, and scheduled queue entry points.