# Managed agents A managed agent is an [agent-mode](../agents/always-ready.html) sandbox with a chat endpoint, history, end users, triggers and channels around it. Deploy one from a template, send it a message, and get its reply. ```sh harebox platform set --enabled true harebox market harebox agent new --listing lst_harebox_support --end-user ada@example.com --name support harebox agent list ``` Then send it messages. Each one wakes the agent, becomes a prompt on its sandbox, and returns the reply once the turn ends (or after `wait_seconds`, up to 30): ```sh harebox agent send AGENT_ID --text "Where is my order?" harebox agent messages AGENT_ID ``` For a reply as it's written, send with `wait_seconds: 0` and stream the sandbox's events (`prompt.delta`). Every sandbox operation still works on an agent's `sandbox`. ## What it costs The platform costs **$1 for each day it's on, plus $1 per 1,000 inbound messages**: chat, triggers and channels. Replies are free. Agents also pay their standby and awake time, as every agent-mode sandbox does. 1,000 agents with 300 messages a month each cost $330.42 a month in platform fees. Turn it off with `harebox platform set --enabled false`; managed agents then take no messages, and their sandboxes stay. ## Templates `harebox market` lists HareBox's free templates (a coding agent, a research assistant, a support agent and a browser agent) and templates other accounts sell. Deploy one with `--listing`, or one of your own templates with `--template`. `--instructions` becomes the agent's `AGENTS.md` and `CLAUDE.md`. See the [marketplace](marketplace.html).