AI i agenci · Integracja z narzędziem
agent-protocol
/agent-protocol
Definiuje i waliduje standardowe protokoły komunikacji między agentami (A2A): uzgadnianie, IPC i wymianę wiadomości.
Dla kogo
- Autor
- andreibesleaga ↗
- Repozytorium
- gabbe ↗
- Licencja
- CC-BY-4.0
- Ostatnia zmiana repozytorium
- 24.10.2026
Ocena i bezpieczeństwo
100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Przestarzałość
Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.
Licencja
CC-BY-4.0, otwarta.
Co robi i kiedy
Definiuje i waliduje standardowe protokoły komunikacji między agentami (A2A): uzgadnianie, IPC i wymianę wiadomości.
Oryginalny opis (EN)
Defines and validates standard communication protocols between agents (A2A). Use when: protocol, handshake, ipc, agent-messaging, a2a.
Jak działa
- Goal
- Steps
- Example Protocol (JSON)
- Best Practices
- Security & Guardrails
Sekcje z nagłówków SKILL.md, w oryginale · 56 linii, 392 słów
Podgląd SKILL.md
---
name: agent-protocol
description: "Defines and validates standard communication protocols between agents (A2A). Use when: protocol, handshake, ipc, agent-messaging, a2a."
license: CC-BY-SA-4.0
metadata:
source: "agents/skills/coordination/agent-protocol.skill.md"
tags: "coordination"
core: "false"
context_cost: "low"
---
# Agent Protocol Skill
## Goal
To establish standard interfaces for agents to communicate, ensuring reliable data exchange and preventing format hallucinations.
## Steps
When defining how agents talk to each other:
1. **Define the Schema**: Use JSON Schema to define the structure of messages.
- `type`: (request, response, event, error)
- `payload`: The actual data content.
- `meta`: Timestamp, sender_id, correlation_id.
2. **Establish the Handshake**:
- **Ping/Pong**: Verify availability.
- **Capability Query**: "What tools do you have?" -> "I have [tool_a, tool_b]".
3. **Standardize Error Handling**:
- Define standard error codes (e.g., `AGENT_BUSY`, `INVALID_INPUT`, `CONTEXT_OVERFLOW`).
- Define retry policies (exponential backoff).
4. **Documentation**:
- Write the protocol definition to a shared `contracts/` directory or a markdown file.
## Example Protocol (JSON)
```json
{
"protocol": "v1",
"type": "task_request",
"id": "uuid-1234",
"sender": "orchestrator",
"recipient": "coder_agent",
"payload": {
"task": "Implement login function",
"context": "User needs email/password auth...",
"constraints": ["Use bcrypt", "No external auth providers"]
}
}
```
## Best Practices
- **Strict Typing**: Always validate payloads against the schema.
- **Idempotency**: Ensure task requests can be retried without side effects if possible.
- **Async First**: assume communication is asynchronous; use correlation IDs to match requests and responses.
## Security & Guardrails
### 1. Skill Security (Agent Protocol)
- **Schema Strictness**: All inter-agent message schemas must reject unknown or extraneous fields (`additionalProperties: false` in JSON Schema) to prevent unexpected payload execution or memory bloat.
- **Cryptographic Signatures**: For sensitive commands (e.g., "Deploy to Prod"), the protocol payload must include a verifiable signature (JWT or raw ed25519) proving the sender's identity.
### 2. System Integration Security
- **Replay Attack Defense**: Include and verify timestamps, nounces, or unique `correlation_id` fields in every message to ensure a malicious actor cannot capture and replay a valid action.
- **Error Obfuscation**: Standard error codes (`INVALID_INPUT`) must not leak sensitive stack traces or internal environment variables back to the sender, especially across different trust domains.
### 3. LLM & Agent Guardrails
- **Semantic Injection Blocks**: The receiving agent's LLM prompt must treat incoming `payload.context` as untrusted user input, carefully escaping it to prevent a compromised sender agent from executing prompt injection on the receiver.
- **Capability Falsification Prevention**: During the capability query ("What tools do you have?"), agents must have their claims verified by a central registry or signed certificate, preventing a rogue agent from claiming `admin-level` capabilities it doesn't possess.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · andreibesleaga/gabbe | 100 | CC-BY-4.0 |
| alirezarezvani/claude-skills | 100 | MIT |
| baysao/dot.agents | 100 | MIT |
| borghei/Claude-Skills | 100 | MIT |
| LeoYeAI/openclaw-master-skills | 100 | MIT |
| bestagentkits/agency-skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki b085c20c8540 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 95a2a-protocol
Opisuje i wdraża wymianę zadań i wyników między agentami z różnych systemów przez protokół Agent-to-Agent. - 90a2ui-protocols
Projektuje i egzekwuje protokoły komunikacji między agentem a interfejsem użytkownika, np. przy wdrażaniu A2UI lub budowie genUI. - 100a2a-protocols
Wdraża komunikację między agentami A2A dla współpracy między frameworkami, z odkrywaniem agentów i standaryzacją interfejsów. - 100agent-messaging
Wysyła i odbiera kryptograficznie podpisane wiadomości między agentami AI w Agent Messaging Protocol (AMP), w tym skrzynka, odpowiedzi i powiadomienia. - 90agent-communication
Projektuje kanały komunikacji agent-agent i ich topologie, np. protokół A2A albo plotkowy, dla rojów agentów. - 100agent-patterns
Formatuje wiadomości SPAWN REQUEST uruchamiające równoległych agentów, generuje ustrukturyzowane raporty statusu agentów i definiuje protokoły komunikacji w systemie sprintów.