All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 37s
CI / test-python-backend-compliance (push) Successful in 38s
CI / test-python-document-crawler (push) Successful in 24s
CI / test-python-dsms-gateway (push) Successful in 19s
- SOUL-Dateien: System-Prompts aus Chat-Routen extrahiert nach agent-core/soul/*.soul.md - soul-reader.ts: Lese-/Schreib-API mit 30s TTL-Cache und Backup-Versionierung - agent-registry.ts: Statische Konfiguration der 2 Compliance-Agenten - 5 API-Routen: /api/sdk/agents (Liste, Detail, SOUL GET/PUT, Sessions, Statistiken) - 5 Frontend-Seiten: Dashboard, Detail mit SOUL-Editor, Architektur, Sessions, Statistiken - Sidebar: "Agenten" Link nach Architektur eingefügt - Wire-Up: compliance-advisor + drafting-engine lesen SOUL-Datei mit Fallback - Dockerfile: agent-core wird in Production-Image kopiert Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
57 lines
1.5 KiB
TypeScript
57 lines
1.5 KiB
TypeScript
/**
|
|
* Agent Registry — static configuration for the 2 compliance agents.
|
|
*/
|
|
|
|
export interface AgentConfig {
|
|
id: string
|
|
name: string
|
|
description: string
|
|
soulFile: string
|
|
color: string
|
|
icon: string
|
|
status: 'active' | 'inactive' | 'error'
|
|
version: string
|
|
stats: {
|
|
sessionsToday: number
|
|
avgResponseTime: string
|
|
successRate: string
|
|
}
|
|
}
|
|
|
|
export const COMPLIANCE_AGENTS: AgentConfig[] = [
|
|
{
|
|
id: 'compliance-advisor',
|
|
name: 'Compliance Advisor',
|
|
description: 'RAG-gestuetzter Chat-Agent fuer DSGVO, AI Act und Compliance-Fragen. Durchsucht 6 Sammlungen mit Multi-Collection-RAG und liefert quellenbasierte Antworten mit Streaming.',
|
|
soulFile: 'compliance-advisor.soul.md',
|
|
color: '#7c3aed', // purple-600
|
|
icon: 'shield',
|
|
status: 'active',
|
|
version: '1.0.0',
|
|
stats: {
|
|
sessionsToday: 0,
|
|
avgResponseTime: '—',
|
|
successRate: '—',
|
|
},
|
|
},
|
|
{
|
|
id: 'drafting-agent',
|
|
name: 'Drafting Agent',
|
|
description: '4-Modi Dokumenten-Agent (Explain, Ask, Draft, Validate). Entwirft DSGVO-konforme Compliance-Dokumente, erkennt Luecken und prueft Cross-Dokument-Konsistenz.',
|
|
soulFile: 'drafting-agent.soul.md',
|
|
color: '#2563eb', // blue-600
|
|
icon: 'pencil',
|
|
status: 'active',
|
|
version: '1.0.0',
|
|
stats: {
|
|
sessionsToday: 0,
|
|
avgResponseTime: '—',
|
|
successRate: '—',
|
|
},
|
|
},
|
|
]
|
|
|
|
export function getAgentById(id: string): AgentConfig | undefined {
|
|
return COMPLIANCE_AGENTS.find(a => a.id === id)
|
|
}
|