Configure your agent from your coding agent
Updated 2026-09-16
In Ghosty Studio configuration does not live in forms: it lives in a small API over the agent's machine, and the one using it is your coding agent. Install a skill, hand it the token, and ask in plain language.
1. Copy your agent's token
In Agents → your agent → Conexión con tu editor → Generar token. The token starts with gat_ and only reaches that agent. The id is in the URL: /app/agents/<id>.
Keep both as environment variables in your terminal; never in arguments or repo files:
2. Install the skill in your coding agent
Works with Claude Code, Cursor, Codex and every agent that reads . The skill knows which endpoint to call, in what order, and what not to do (for instance, restart only once at the end).
3. Ask for it
Open your coding agent in any folder and talk normally:
Then test it in the chat: "what files do you have in your workspace?" or "who are you?".
What is underneath
Everything goes through https://www.ghosty.studio/api/v2/agents/<id> with Authorization: Bearer gat_…:
Every body and response is in the (tag Configuración) and in the skill's .
Good to know
- Identity and model work on every engine. Files, skills and MCP servers need an engine with its own machine (Ghosty · Lite and Goose); on Claude or DeepSeek those routes answer
409 agente_sin_maquinauntil they ship. - Identity and skills load on restart. A
PATCHofpromptand aPUTof a skill are saved on the machine; the brain reads them when it boots. That is why the skill batches changes and restarts once. - Files need no restart: they are on disk as soon as the
PUTfinishes. - A
PUT /mcpreplaces the whole list. To add one, send the existing list plus the new server. - The token is the agent's key: whoever has it can talk to it and use its terminal. If it leaks, rotate it from the agent card; the old one dies instantly.
- The machine may be asleep: the first call wakes it and takes a few seconds.