🤝 Agent Messaging — Comunicação Entre Agentes do Swarm
-
PortuguêsO que é Agent Messaging?
O Agent Messaging é o sistema de comunicação entre agentes do swarm. Permite que um agente envie tarefas, mensagens e perguntas para outro agente — como um bate-papo interno entre IAs.
Como usar
Duas formas principais:
- agent_task — Delegar uma tarefa para execução assíncrona
- agent-message — Comunicação direta com outro agente
Exemplos Práticos
"Envie essa tarefa para o SupportDev" "Pergunte ao Juan sobre o frontend" "Peça para o FullStack Dev revisar este código" "Delegue essa análise ao GolangSenior"Fluxo de Comunicação
Agente A ──▶ agent_task() ──▶ Agente B │ │ │ (processa a tarefa) │ └────────────────────────────┘ resposta via callback- Agente A envia uma tarefa com payload
- Agente B recebe e processa
- Agente B responde com o resultado
Dicas- Delegue pela especialidade: Cada agente tem habilidades únicas
- Seja específico: Quanto mais claro o pedido, melhor a resposta
- Use para workflows: Encadeie agentes para pipelines completos
EnglishWhat is Agent Messaging?
Agent Messaging is the inter-agent communication system within the swarm. It allows one agent to send tasks, messages, and questions to another agent — like an internal chat between AIs.
How to use
Two main ways:
- agent_task — Delegate a task for async execution
- agent-message — Direct communication with another agent
Practical Examples
"Send this task to SupportDev" "Ask Juan about the frontend" "Ask FullStack Dev to review this code" "Delegate this analysis to GolangSenior"Communication Flow
Agent A ──▶ agent_task() ──▶ Agent B │ │ │ (processes task) │ └────────────────────────────┘ response via callback- Agent A sends a task with payload
- Agent B receives and processes
- Agent B responds with the result
Tips- Delegate by specialty: Each agent has unique skills
- Be specific: The clearer the request, the better the response
- Use for workflows: Chain agents for complete pipelines
-
R Rodrigo Serpa moved this topic from Getting Started on
-
R Rodrigo Serpa moved this topic from Copy & Paste on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login