Crear agente
Crear o editar agentes IA en FlujosChat — define el system prompt (instructions), el modelo, las categorías de conocimiento (RAG) y las herramientas (HTTP/MCP) de un agente conversacional. Úsalo cuando el usuario quiera crear, configurar o modificar un agente de inteligencia artificial en FlujosChat.From its SKILL.md
npx -y skills add abeltuterror/flujoschat-plugin --skill crear-agenteAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, as published. Nobody here has run it
Crear y configurar agentes IA (FlujosChat)
Requiere el servidor MCP de FlujosChat conectado y rol OWNER o ADMIN para escribir.
Conceptos
- Agente (
AiAgent): un asistente con unname,instructions(system prompt), unmodelopcional, categorías de conocimiento (RAG) y herramientas. - Herramienta (
AiTool): un endpointHTTPo un servidorMCPque el agente puede invocar. - Categoría de conocimiento: agrupa documentos para RAG (la subida de documentos se hace en el panel).
Flujo de trabajo
-
Revisa lo existente:
list_agents,list_ai_tools,list_knowledge_categories(yget_agentpara ver uno en detalle). -
Prepara dependencias si hace falta:
- Categoría RAG →
create_knowledge_category(name,description?). - Herramienta →
create_ai_tool:- HTTP:
{ name, description, type:"HTTP", config:{ url, method?, params? }, authSecret? } - MCP:
{ name, description, type:"MCP", config:{ serverUrl } } nameen snake_case (^[a-z][a-z0-9_]{1,63}$).
- HTTP:
- Categoría RAG →
-
Crea el agente:
create_agentconname,instructions(system prompt claro y específico),model?,handoffDescription?(cómo lo ven otros agentes),categoryIds?,toolIds?. -
Edita con
update_agent(loscategoryIds/toolIdsreemplazan por completo si se envían). Elimina condelete_agent.
Notas
- Para que un agente atienda conversaciones, debe formar parte de un equipo y conectarse al
flujo mediante un paso
AI_HANDOFF(ver la skillcrear-equipo). - Las escrituras requieren rol OWNER/ADMIN; si falla por permisos, indícalo al usuario.