Producto
CLI

Slash commands

Comandos /... disponibles dentro de la sesión interactiva de Studio

Slash commands

Los slash commands empiezan con / y se escriben en el cuadro de texto de plazbot studio, seguidos de Enter. Algunos corren localmente (/help, /clear, /export) y otros envían a Studio un mensaje predefinido (/agents, /diagnose). El nombre no distingue mayúsculas y los argumentos con espacios van entre comillas.

text
01/<command> [args]

Lista completa

ComandoAliasGrupoQué hace
/help/?GeneralMuestra la lista de comandos y atajos
/quit/exit, /qGeneralSale de Studio
/agentsAgentLista los agentes del workspace actual
/load <agentId>AgentCarga un agente por id y muestra su configuración
/saveAgentGuarda en el backend la configuración del agente cargado
/diagnoseAgentDiagnostica el agente actual y reporta lo que encuentre
/export [path]/downloadAgentEscribe la configuración del agente cargado como JSON en [path] (por defecto ./<nombre-del-agente>.json)
/clear/clsSessionBorra los mensajes y el historial del cuadro de texto (mantiene el agente cargado y el contador de tokens)
/resetSessionReinicio total: borra mensajes, agente cargado y contador de tokens
/compactSessionResume la conversación y reemplaza el historial por ese resumen

Si escribes un comando que no existe:

text
01 ● Plazbot
02 Unknown command: /deploy. Run /help to see the list.

/help

Muestra los comandos agrupados (General, Agent, Session) y los atajos de teclado.

text
01 ● Plazbot
02 Plazbot Studio — slash commands
03 
04 Type plain text to chat with the assistant.
05 Slash commands run locally or send a templated prompt to the model.
06 
07 General
08 • /help (alias: /?) — Show this help with every available command
09 • /quit (aliases: /exit, /q) — Exit Studio
10 
11 Agent
12 • /agents — List the agents in the current workspace
13 • /load <agentId> — Load an agent by id and show its current configuration
14 • /save — Save the currently loaded agent configuration to the backend
15 • /diagnose — Run diagnostics on the current agent and report any issues found
16 • /export [path] (alias: /download) — Write the loaded agent configuration as JSON to [path] (default: ./<agent-name>.json)
17 
18 Session
19 • /clear (alias: /cls) — Clear the message history and the input history (keeps the loaded agent and token usage)
20 • /reset — Full reset: clears messages, loaded agent and token usage
21 • /compact — Summarize the conversation and replace history with that summary
22 
23 Keyboard shortcuts
24 • Enter — send the message
25 • ↑ / ↓ — browse your previous messages
26 • Tab or → — accept the gray suggestion from your history
27 • Esc — cancel the current response (or a pending channel connection)
28 • Ctrl+C — exit Studio immediately
29 ...

/agents

Envía a Studio List all agents in my workspace. Studio usa la herramienta list_agents y responde con la lista.

text
01 ● You
02 List all agents in my workspace.
03 
04 ● Plazbot
05 You have 3 agents in this workspace:
06 
07 • Ventas WA (age_AbcDef123) - active, WhatsApp
08 • Soporte L1 (age_GhiJkl456) - active, Webchat
09 • Reservas (age_MnoPqr789) - inactive
10 ✓ Agents listed

/load

Fija el agente en la sesión (aparece en el encabezado) y pide a Studio cargarlo y mostrar su configuración. Desde ahí /save, /diagnose y /export trabajan sobre ese agente.

text
01/load age_AbcDef123
text
01 ● You
02 Load the agent with id "age_AbcDef123" and show me its current configuration.
03 
04 ● Plazbot
05 Loaded Ventas WA (age_AbcDef123):
06 ...
07 ✓ Agent loaded

Sin id muestra Usage: /load <agentId>.

/save

Pide a Studio guardar la configuración del agente cargado (Save this agent with its current configuration.). Si el agente ya existe lo actualiza; si lo acabas de crear en la conversación, lo crea en tu workspace.

text
01 ● Plazbot
02 Ventas WA was saved.
03 ✓ Agent saved

Si no hay configuración en la sesión: No agent configuration loaded. Create one first or use /load <id>.

/diagnose

Pide a Studio diagnosticar el agente actual (Diagnose this agent and report any issues you find.). El reporte lista los puntos a revisar ordenados por severidad (critical, warning).

text
01 ● Plazbot
02 I found 2 points to review in Ventas WA:
03 
04 1. Critical - No timezone configured. Set the agent timezone.
05 2. Warning - The prompt has no fallback instructions.
06 ✓ Diagnosis complete

/export

Escribe la configuración del agente cargado en un archivo JSON (no exporta la conversación). Sin argumento usa ./<nombre-del-agente>.json en el directorio actual; acepta rutas relativas, absolutas y ~.

text
01/export
02/export ~/agentes/ventas.json
text
01 ● Plazbot
02 Agent configuration exported to /Users/ana/proyecto/ventas-wa.json.
03 
04 Validate it with: plazbot agent validate /Users/ana/proyecto/ventas-wa.json

Si no hay configuración en la sesión: No agent configuration loaded. Create one first or use /load <id>. Si no se puede escribir: Could not write the file: <motivo>. Luego puedes validarlo con plazbot agent validate.

/compact

Pide a Studio un resumen de la conversación (objetivo, decisiones, estado del agente y pendientes) y, al terminar, reemplaza todo el historial por ese resumen. Los siguientes mensajes parten de ahí, con menos tokens de contexto. Si aún no hay mensajes: Nothing to compact yet.

Si cancelas con Esc mientras se genera el resumen, el historial no se reemplaza.

/clear y /reset

/clear borra los mensajes y el historial de ↑/↓, pero mantiene el agente y su configuración en la sesión, y el contador de tokens. /reset borra todo. Ninguno pide confirmación; si hay una respuesta en curso, la cancela.

ComandoMensajesAgente cargadoTokens
/clearSe borranSe mantieneSe mantienen
/compactSe resumenSe mantieneSe mantienen
/resetSe borranSe borraVuelven a 0

/quit

Sale de Studio. Equivale a Ctrl+C.

¿Quieres probar la API en vivo? Abre el Playground.