Created
February 16, 2024 15:32
-
-
Save grayfallstown/920248027710ea6719e5bd618d685050 to your computer and use it in GitHub Desktop.
agent protocol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "https://example.com/agent-protocol.schema.json", | |
"title": "Agentenkommunikationsprotokoll", | |
"description": "Dieses Schema definiert das JSON-Format für die Nachrichtenübermittlung zwischen Agenten in einem KI-basierten System.", | |
"type": "object", | |
"required": ["timestamp", "sender", "receiver", "message"], | |
"properties": { | |
"timestamp": { | |
"type": "string", | |
"format": "date-time", | |
"description": "Zeitstempel der Nachricht" | |
}, | |
"sender": { | |
"type": "object", | |
"required": ["agent_type", "agent_id"], | |
"properties": { | |
"agent_type": { | |
"type": "string", | |
"enum": ["Organizer", "Softwareentwickler", "Produktmanager", "Produkttester", "Dateimanager", "Agentenmonitor", "Menschlicher Agent"], | |
"description": "Typ des Absenders (Rolle des Agenten)" | |
}, | |
"agent_id": { | |
"type": "string", | |
"description": "ID des Absenders (eindeutige Kennung des Agenten)" | |
} | |
} | |
}, | |
"receiver": { | |
"type": "object", | |
"required": ["agent_type", "agent_id"], | |
"properties": { | |
"agent_type": { | |
"type": "string", | |
"enum": ["Organizer", "Softwareentwickler", "Produktmanager", "Produkttester", "Dateimanager", "Agentenmonitor", "Menschlicher Agent"], | |
"description": "Typ des Empfängers (Rolle des Agenten)" | |
}, | |
"agent_id": { | |
"type": "string", | |
"description": "ID des Empfängers (eindeutige Kennung des Agenten)" | |
} | |
} | |
}, | |
"message": { | |
"type": "object", | |
"required": ["type"], | |
"properties": { | |
"type": { | |
"type": "string", | |
"enum": ["Task", "Review", "Information", "Query"], | |
"description": "Typ der Nachricht" | |
}, | |
"details": { | |
"type": "object", | |
"additionalProperties": true, | |
"description": "Details der Nachricht (abhängig vom Nachrichtentyp)" | |
} | |
} | |
} | |
}, | |
"examples": [ | |
{ | |
"timestamp": "2023-11-14T15:23:54.123Z", | |
"sender": { | |
"agent_type": "Organizer", | |
"agent_id": "12345" | |
}, | |
"receiver": { | |
"agent_type": "Softwareentwickler", | |
"agent_id": "67890" | |
}, | |
"message": { | |
"type": "Task", | |
"details": { | |
"beschreibung": "Implementieren der Flashcard-Lernanwendung", | |
"schritte": [ | |
"Erstellen der Benutzeroberfläche", | |
"Implementierung der Lernlogik", | |
"Hinzufügen von Flashcards", | |
"Testen der Anwendung" | |
], | |
"bewertungskriterien": [ | |
"Funktionale Vollständigkeit", | |
"Benutzerfreundlichkeit", | |
"Leistung" | |
] | |
} | |
} | |
}, | |
{ | |
"timestamp": "2023-11-14T15:34:01.234Z", | |
"sender": { | |
"agent_type": "Softwareentwickler", | |
"agent_id": "67890" | |
}, | |
"receiver": { | |
"agent_type": "Organizer", | |
"agent_id": "12345" | |
}, | |
"message": { | |
"type": "Review", | |
"referenz": "1234567890", | |
"bewertung": "positiv", | |
"kommentar": "Die Benutzeroberfläche der Flashcard-Lernanwendung ist intuitiv und einfach zu bedienen." | |
} | |
}, | |
{ | |
"timestamp": "2023-11-14T15:23:54.123Z", | |
"sender": { | |
"agent_type": "Organizer", | |
"agent_id": "12345" | |
}, | |
"receiver": { | |
"agent_type": "Softwareentwickler", | |
"agent_id": "67890" | |
}, | |
"message": { | |
"type": "Task", | |
"details": { | |
"description": "Implementieren Sie die Flashcard-Lernanwendungslogik", | |
"steps": [ | |
"Entwerfen Sie die Klassenstruktur", | |
"Implementieren Sie die Kernfunktionalität", | |
"Führen Sie Unit-Tests durch", | |
"Integrieren Sie die Anwendung mit der Benutzeroberfläche" | |
] | |
} | |
} | |
}, | |
{ | |
"timestamp": "2023-11-14T15:30:02.456Z", | |
"sender": { | |
"agent_type": "Softwareentwickler", | |
"agent_id": "67890" | |
}, | |
"receiver": { | |
"agent_type": "Organizer", | |
"agent_id": "12345" | |
}, | |
"message": { | |
"type": "Review", | |
"reference": "1234567890", | |
"rating": "positive", | |
"comment": "Die Implementierung der Flashcard-Logik ist abgeschlossen und die Unit-Tests wurden erfolgreich durchgeführt." | |
} | |
}, | |
{ | |
"timestamp": "2023-11-14T15:23:54.123Z", | |
"sender": { | |
"agent_type": "Organizer", | |
"agent_id": "12345" | |
}, | |
"receiver": { | |
"agent_type": "Softwareentwickler", | |
"agent_id": "67890" | |
}, | |
"message": { | |
"type": "Task", | |
"details": { | |
"description": "Implementieren Sie die Flashcard-Lernanwendung", | |
"steps": [ | |
"Entwerfen Sie die Benutzeroberfläche", | |
"Implementieren Sie die Backend-Logik", | |
"Integrieren Sie die Datenquelle", | |
"Führen Sie Tests durch" | |
], | |
"evaluation_criteria": [ | |
"Die Anwendung ist funktionsfähig", | |
"Die Anwendung ist benutzerfreundlich", | |
"Die Anwendung ist performant" | |
] | |
} | |
} | |
}, | |
{ | |
"timestamp": "2023-11-14T15:35:12.345Z", | |
"sender": { | |
"agent_type": "Softwareentwickler", | |
"agent_id": "67890" | |
}, | |
"receiver": { | |
"agent_type": "Organizer", | |
"agent_id": "12345" | |
}, | |
"message": { | |
"type": "Review", | |
"reference": "1234567890", | |
"rating": "positive", | |
"comment": "Die Benutzeroberfläche der Flashcard-Lernanwendung ist fertiggestellt." | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment