Agents: AutoMoto and specialists¶
Mewlith has one default agent, AutoMoto, and specialist agents you can add beside it. The first specialist is Mew, for GitHub and delivery pipelines. Agents share the same engine, tools and safety rules; a specialist adds its own role, instructions and core skill. It never gets extra permissions.
AutoMoto is always on¶
AutoMoto answers every request no active specialist owns, in every chat and Studio. If you never add another agent, nothing changes.
Turn on several agents¶
In Developer Studio, the agent panel has an Agents list. AutoMoto is always ticked and can't be turned off. Tick Mew (and any later agent) to add it. Several agents can be on at once.
Your choice is remembered per project: a trusted Developer Studio project keeps its own list, and anything else uses your default list.
Who answers¶
Each request goes to the best-suited active agent:
- GitHub, CI, pull-request checks, releases, deploys, security and claims audits go to Mew when Mew is on.
- Everything else goes to AutoMoto.
- When one request needs both, the specialist leads and AutoMoto helps. The plan shows the team (lead and helpers), and each step is labelled with the agent that did it.
@mention an agent¶
Start or include @Mew or @AutoMoto in a request to send it to that agent, whatever is ticked. A mention applies to that request only and doesn't change your saved list. It works wherever the agent runs, including Agent mode in the main chat (plain Chat mode has no agents).
@Mew why are the checks red on my pull request?
Suggestions, never surprises¶
If a request fits an agent you haven't turned on, AutoMoto still answers, and the Developer Studio panel shows a short note such as "Mew specialises in this." with four choices:
| Choice | What happens |
|---|---|
| Add Mew for this request | Sends the same request again with Mew on. Nothing is saved. |
| Keep Mew on for this project | Ticks Mew for this project and sends the request again with Mew. |
| Not now | Hides the note for this topic in this session. |
| Don't suggest Mew again | Stops Mew suggestions everywhere until you allow them again. |
A note shows at most once per topic per session. No agent is ever turned on without your choice.
The main chat screen doesn't show the note or the Agents list; it is unchanged. Use @Mew there.
For developers¶
- Registry:
mewlith/agents.py.register(AgentSpec(...))adds an agent with an id, name, role, persona, core skills, tools, planner capabilities and the Studios that list it. No change to the loop, planner or server is needed. - Names:
AGENT_NAME("AutoMoto") andPIPELINE_AGENT_NAME("Mew") inmewlith/brand.py. - API:
GET /api/agents(catalogue and the saved list for?workspace=),PUT /api/agents/selection,POST /api/agents/suggest,POST /api/agents/suggestion(add_once,add_project,dismiss,never,allow).POST /api/agentacceptsagents(active list),agent(force one) andsession. - Events: each run emits
agents(lead, team, active list, whether a mention forced it), an optionalagent_suggestion, andtool_call/tool_resultevents carryagent. - Saved state lives in
agents.jsonin your data folder (~/.mewlith, or your user folder on a hosted server). - Bounded coding sessions (Developer Studio V52/V53) keep their fixed, read-only tool set and are not routed.