---
type: Blog Post
title: "AI-Agenten im Finanzsektor: Der praktische Implementierungsguide"
description: "AI-Agenten im Finanzsektor: Der praktische Implementierungsguide. Ein umfassender praktischer Guide für die Implementierung von AI-Agenten im Finanzsektor...."
resource: "https://www.contextstudios.ai/de/blog/ai-agenten-im-finanzsektor-der-praktische-implementierungsguide"
tags: [AI Agents, Finance, FinTech, Python, LangGraph, MCP, Context Engineering, Multi-Agent Systems, Due Diligence, Compliance]
language: de
timestamp: "2026-05-31T12:51:41.861Z"
---

# AI-Agenten im Finanzsektor: Der praktische Implementierungsguide

AI-Agenten im Finanzsektor: Der praktische Implementierungsguide

Von der Architektur zum produktionsreifen Code – mit ehrlichen Einschätzungen

---

Für wen ist dieser Guide? — AI-Agenten im Finanzsektor

AI-Agenten im Finanzsektor steht im Mittelpunkt dieses Guides. Dieser Guide richtet sich an Entwickler und technisch versierte Finanzprofis, die AI-Agenten nicht nur verstehen, sondern selbst bauen wollen. Sie finden hier:

- Architektur-Entscheidungen mit Begründungen
- Vollständige Code-Beispiele zum Adaptieren
- Skill-Definitionen im YAML-Format
- Multi-Agent-Workflows mit Koordinationsmustern
- Context Engineering Patterns für zuverlässige Ergebnisse
- Ehrliche Einschätzungen zu Grenzen und Risiken

Jeder Use Case folgt der gleichen Struktur: Problem → Architektur → Skill → Implementierung → Evaluation → Ehrliche Einschätzung.

---

Teil 1: Grundlagen und Architektur-Patterns

Bevor wir in die Use Cases einsteigen, müssen wir die Bausteine verstehen.

Was macht einen Agenten aus?

Ein Agent unterscheidet sich von einem Chatbot durch seine Fähigkeit, autonom zu handeln:

Die fünf Architektur-Patterns

| Pattern | Beschreibung | Komplexität | Beste Verwendung |
|---------|--------------|-------------|------------------|
| ReAct | Think → Act → Observe → Repeat | Niedrig | Einzelaufgaben mit klarem Ziel |
| Plan-Execute | Erst planen, dann Schritte abarbeiten | Mittel | Mehrstufige Prozesse |
| Multi-Agent | Spezialisierte Agenten mit Handoffs | Mittel-Hoch | Verschiedene Expertisen |
| Supervisor | Koordinator verteilt Arbeit parallel | Hoch | Zeitkritische Analysen |
| Human-in-Loop | Agent pausiert für menschliche Freigabe | Variabel | Kritische Entscheidungen |

Context Engineering: Der Schlüssel zu zuverlässigen Agenten

Das wichtigste Konzept für produktionsreife Agenten ist Context Engineering – die systematische Gestaltung dessen, was der Agent "sieht".

MCP Server: Die Infrastruktur für Tools

Das Model Context Protocol (MCP) standardisiert, wie Agenten mit externen Systemen kommunizieren.

---

Use Case 1: Earnings Call Analyse

Das Problem im Detail

Earnings Calls enthalten kritische Informationen, aber:
- 50+ Seiten Transkript pro Call
- Wichtiges versteckt zwischen Standardfloskeln
- Subtile Änderungen in Guidance oder Tonfall
- Zeitdruck: Alle analysieren gleichzeitig

Die Architektur: ReAct mit spezialisierten Tools

Der Skill: earnings-analyzer

Phase 1: SEGMENTIERUNG
├── Input: Vollständiges Transkript
├── Action: segment_transcript()
└── Output: {prepared_remarks, qa_section, participants}

Phase 2: KPI-EXTRAKTION
├── Input: prepared_remarks
├── Action: extract_kpis(metrics=["revenue", "eps", "margin", "guidance"])
└── Output: {metric: {value, yoy_change, source_quote, timestamp}}

Phase 3: GUIDANCE-VERGLEICH (wenn Vorquartal vorhanden)
├── Input: current_guidance, prior_guidance
├── Action: compare_guidance()
└── Output: {metric: {direction, magnitude, explanation_given}}

Phase 4: TONFALL-ANALYSE
├── Input: qa_section
├── Action: analyze_tone()
├── Sub-Actions:
│   ├── detect_hedging() → Absicherungssprache
│   ├── count_deflections() → Ausweichende Antworten
│   └── sentiment_shift() → Stimmungsänderung
└── Output: {overall_tone, confidence_level, evidence[]}

Phase 5: RED FLAG DETECTION
├── Input: Alle bisherigen Ergebnisse
├── Action: categorize_red_flags()
└── Output: [{type, severity, description, citation}]

Phase 6: SYNTHESE
├── Input: Alle Phasen-Outputs
├── Action: generate_summary()
└── Output: Executive Summary (max 200 Wörter)
json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "required": ["company", "quarter", "kpis", "executive_summary"],
  "properties": {
    "company": {"type": "string"},
    "quarter": {"type": "string", "pattern": "^Q[1-4] \\d{4}$"},
    "analysis_timestamp": {"type": "string", "format": "date-time"},
    
    "kpis": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "required": ["value", "source"],
        "properties": {
          "value": {"type": ["number", "string"]},
          "unit": {"type": "string"},
          "yoy_change": {"type": "string"},
          "qoq_change": {"type": "string"},
          "vs_consensus": {"type": "string"},
          "source": {"type": "string", "description": "Zitat mit Timestamp"}
        }
      }
    },
    
    "guidance": {
      "type": "object",
      "properties": {
        "current": {"type": "object"},
        "prior": {"type": "object"},
        "changes": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "metric": {"type": "string"},
              "direction": {"enum": ["raised", "lowered", "maintained", "withdrawn"]},
              "magnitude": {"type": "string"},
              "management_explanation": {"type": "string"}
            }
          }
        }
      }
    },
    
    "tone_analysis": {
      "type": "object",
      "properties": {
        "overall": {"enum": ["confident", "neutral", "cautious", "defensive"]},
        "hedging_score": {"type": "number", "minimum": 0, "maximum": 1},
        "deflection_count": {"type": "integer"},
        "key_quotes": {"type": "array", "items": {"type": "string"}}
      }
    },
    
    "red_flags": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["type", "severity", "description"],
        "properties": {
          "type": {"enum": ["guidance_cut", "tone_shift", "analyst_concern", 
                           "inconsistency", "evasion", "accounting_flag"]},
          "severity": {"enum": ["low", "medium", "high", "critical"]},
          "description": {"type": "string"},
          "citation": {"type": "string"},
          "prior_context": {"type": "string"}
        }
      }
    },
    
    "executive_summary": {
      "type": "string",
      "maxLength": 1500
    }
  }
}

Severity: CRITICAL
- Guidance-Rücknahme > 10%
- Auditor-Wechsel erwähnt
- Material Weakness

Severity: HIGH
- Guidance-Senkung 5-10%
- CFO-Wechsel
- "Challenging environment" > 3x

Severity: MEDIUM
- Ausweichende Antworten auf direkte Fragen
- Hedging-Zunahme > 50% vs. Vorquartal

Severity: LOW
- Guidance unverändert trotz verändertem Umfeld
- Analyst-Nachfragen zu gleichem Thema > 2

Analysiere den Q3 2025 Earnings Call von TechCorp.
Fokus auf: Cloud Revenue, Margin-Entwicklung, 2026 Guidance.
Vorquartals-Transkript ist beigefügt.
json
{
  "company": "TechCorp Inc.",
  "quarter": "Q3 2025",
  "kpis": {
    "cloud_revenue": {
      "value": 8.2,
      "unit": "billion USD",
      "yoy_change": "+23%",
      "vs_consensus": "+2%",
      "source": "[14:23] CEO: 'Cloud revenue reached 8.2 billion...'"
    },
    "operating_margin": {
      "value": 34.5,
      "unit": "percent",
      "yoy_change": "-150bps",
      "source": "[18:45] CFO: 'Operating margin of 34.5 percent...'"
    }
  },
  "guidance": {
    "changes": [
      {
        "metric": "FY2026 Revenue",
        "direction": "lowered",
        "magnitude": "from $38-40B to $36-38B",
        "management_explanation": "Macro uncertainty in enterprise spending"
      }
    ]
  },
  "tone_analysis": {
    "overall": "cautious",
    "hedging_score": 0.67,
    "deflection_count": 3,
    "key_quotes": [
      "[Q&A 12:34] 'We're being prudent given the environment'",
      "[Q&A 23:45] 'It's difficult to predict with certainty'"
    ]
  },
  "red_flags": [
    {
      "type": "guidance_cut",
      "severity": "high",
      "description": "FY2026 Revenue Guidance um 5% gesenkt",
      "citation": "[19:23] CFO revises full-year outlook",
      "prior_context": "In Q2 wurde Guidance noch bestätigt"
    }
  ],
  "executive_summary": "TechCorp lieferte solide Q3-Zahlen mit Cloud-Wachstum über Erwartungen (+23% YoY). Jedoch wurde die FY2026 Guidance um 5% gesenkt, begründet mit Makro-Unsicherheit. Der Tonfall im Q&A war defensiver als in Q2, mit erhöhtem Hedging bei Fragen zur Enterprise-Nachfrage. Margin-Druck durch Investitionen in AI-Infrastruktur. Key Watch: Pipeline-Conversion in Q4."
}

Die Implementierung

transcript
{transcript[:35000]}
prior_transcript
{prior[:15000]}

Evaluation und Monitoring

Ehrliche Einschätzung

Was funktioniert (mit Zahlen):
- KPI-Extraktion: ~85% Accuracy bei strukturierten Calls
- Guidance-Erkennung: ~90% wenn explizit genannt
- Zeitersparnis: 70% für Erstanalyse

Was nicht funktioniert:
- Subtile Ironie: 0% - wird nicht erkannt
- Implizite Guidance-Änderungen: ~30% Recall
- Branchenspezifische Nuancen: Stark abhängig von Training

Wann NICHT verwenden:
- Als alleinige Entscheidungsgrundlage
- Bei Unternehmen mit unstrukturierten Calls
- Ohne menschliche Validierung der Red Flags

---

Use Case 2: M&A Due Diligence

Das Problem im Detail

Due Diligence bei Unternehmensübernahmen:
- Tausende Dokumente im Datenraum
- Verschiedene Formate (PDF, Excel, Verträge)
- Interdependente Risiken über Bereiche hinweg
- Extreme Zeitknappheit (4-6 Wochen)

Die Architektur: Multi-Agent mit Supervisor

Der Skill: due-diligence-coordinator

yaml
name: financial_analyst
role: Senior Financial Analyst
focus_areas:
  - Revenue Quality (recurring vs. one-time)
  - Working Capital Requirements
  - Debt Structure (maturities, covenants)
  - Cash Flow Quality (FCF vs. Net Income)
  - Accounting Red Flags (aggressive recognition)
  - Customer Concentration
  - Supplier Dependencies

tools:
  - name: parse_financial_statements
    description: Extrahiert Daten aus Bilanzen und GuV
  - name: calculate_ratios
    description: Berechnet Financial Ratios
  - name: detect_accounting_anomalies
    description: Identifiziert ungewöhnliche Accounting-Praktiken
  - name: analyze_cohorts
    description: Analysiert Kunden-Kohorten und Retention

output_schema:
  type: object
  properties:
    risk_score:
      type: number
      minimum: 1
      maximum: 10
    findings:
      type: array
      items:
        type: object
        properties:
          area: {type: string}
          severity: {enum: [low, medium, high, critical]}
          description: {type: string}
          evidence: {type: string}
          mitigation: {type: string}
    key_metrics:
      type: object
    recommendations:
      type: array
yaml
name: legal_reviewer
role: Senior Legal Counsel
focus_areas:
  - Change of Control Clauses
  - Material Contracts (Top 10 customers/suppliers)
  - Pending Litigation
  - IP Ownership and Encumbrances
  - Employment Agreements (Key Person)
  - Regulatory Compliance
  - Environmental Liabilities

tools:
  - name: parse_contract
    description: Analysiert Vertragsklauseln
  - name: search_litigation_db
    description: Durchsucht Gerichtsdatenbanken
  - name: verify_ip_ownership
    description: Prüft IP-Registrierungen
  - name: check_regulatory_filings
    description: Prüft regulatorische Einreichungen

output_schema:
  ähnlich wie financial_analyst
yaml
name: market_analyst
role: Industry Research Analyst
focus_areas:
  - Total Addressable Market (TAM)
  - Competitive Position
  - Technology Trends
  - Customer Perception
  - Management Reputation
  - Patent Landscape

tools:
  - name: web_search
    description: Durchsucht öffentliche Quellen
  - name: search_patents
    description: Analysiert Patentlandschaft
  - name: analyze_glassdoor
    description: Wertet Mitarbeiterbewertungen aus
  - name: search_news_archive
    description: Durchsucht Nachrichtenarchive

output_schema:
  ähnlich wie financial_analyst

┌─────────────────────────────────────────────────────────────┐
│ Phase 1: PLANNING                                           │
│                                                             │
│ Input: Deal Parameters, Data Room Access                    │
│ Actions:                                                    │
│ 1. Dokumente inventarisieren                               │
│ 2. Prioritäten nach Deal-Typ setzen                        │
│ 3. Arbeitspakete für Sub-Agenten definieren                │
│ Output: Analysis Plan                                       │
│                                                             │
│ Checkpoint: plan_complete                                   │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│ Phase 2: PARALLEL ANALYSIS                                  │
│                                                             │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐            │
│ │  Financial  │ │    Legal    │ │   Market    │            │
│ │  Analysis   │ │  Analysis   │ │  Analysis   │            │
│ │             │ │             │ │             │            │
│ │ ~2-4 hours  │ │ ~3-5 hours  │ │ ~1-2 hours  │            │
│ └─────────────┘ └─────────────┘ └─────────────┘            │
│                                                             │
│ Checkpoint: analysis_complete (pro Agent)                   │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│ Phase 3: SYNTHESIS                                          │
│                                                             │
│ Input: All Analysis Results                                 │
│ Actions:                                                    │
│ 1. Findings deduplizieren                                  │
│ 2. Risiko-Korrelationen identifizieren                     │
│ 3. Composite Risk Score berechnen                          │
│ 4. Deal Breakers markieren                                 │
│ 5. Bedingte Empfehlungen ableiten                          │
│ Output: Risk Matrix                                         │
│                                                             │
│ Checkpoint: synthesis_complete                              │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
┌─────────────────────────────────────────────────────────────┐
│ Phase 4: REPORTING                                          │
│                                                             │
│ Templates:                                                  │
│ 1. Executive Summary (1 page)                              │
│    - Deal Overview                                         │
│    - Key Risks (Top 5)                                     │
│    - Recommendation                                        │
│                                                             │
│ 2. Detailed Report                                         │
│    - Financial Analysis                                    │
│    - Legal Analysis                                        │
│    - Market Analysis                                       │
│    - Risk Matrix                                           │
│                                                             │
│ 3. Appendix                                                │
│    - Evidence Index                                        │
│    - Source Documents                                      │
│                                                             │
│ Output: Final DD Report (Word/PDF)                          │
└─────────────────────────────────────────────────────────────┘
json
{
  "deal": {
    "target": "string",
    "deal_type": "acquisition | merger | investment",
    "deal_value": "number",
    "analysis_date": "date"
  },
  
  "overall_assessment": {
    "composite_score": 1-10,
    "recommendation": "proceed | proceed_with_conditions | do_not_proceed",
    "confidence": 0-1,
    "key_considerations": ["string"]
  },
  
  "category_scores": {
    "financial": {
      "score": 1-10,
      "weight": 0.4,
      "key_risks": ["string"],
      "key_strengths": ["string"]
    },
    "legal": {
      "score": 1-10,
      "weight": 0.3,
      "key_risks": ["string"],
      "key_strengths": ["string"]
    },
    "market": {
      "score": 1-10,
      "weight": 0.3,
      "key_risks": ["string"],
      "key_strengths": ["string"]
    }
  },
  
  "deal_breakers": [
    {
      "issue": "string",
      "category": "string",
      "evidence": "string",
      "impact": "string"
    }
  ],
  
  "conditions_for_proceed": [
    {
      "condition": "string",
      "rationale": "string",
      "verification_method": "string"
    }
  ],
  
  "further_investigation_required": [
    {
      "area": "string",
      "questions": ["string"],
      "suggested_approach": "string"
    }
  ]
}

Die Implementierung

Ehrliche Einschätzung

Was funktioniert:
- Parallelisierung spart ~60% Zeit
- Konsistente Abdeckung aller Bereiche
- Checkpointing ermöglicht Unterbrechung/Fortsetzung
- Strukturierte Risk Matrix ermöglicht Vergleichbarkeit

Was nicht funktioniert:
- Vertraulichkeit: Datenraum-Daten dürfen nicht durch externe APIs
- Absichtliche Verschleierung wird nicht erkannt
- Branchenspezifische Nuancen erfordern Anpassung
- Juristische Interpretation bleibt beim Anwalt

Wann NICHT verwenden:
- Bei hochsensiblen Deals ohne On-Premise-Lösung
- Als alleinige Entscheidungsgrundlage
- Ohne menschliche Validierung kritischer Findings

---

Use Case 3: AML/KYC Compliance Monitoring

Das Problem im Detail

Anti-Geldwäsche (AML) und Know-Your-Customer (KYC) Prozesse sind:
- Zeitintensiv: Manuelle Prüfung von Tausenden Transaktionen täglich
- Fehleranfällig: False Positives bei 95%+ der Alerts
- Regulatorisch kritisch: Hohe Strafen bei Versäumnissen
- Dynamisch: Sanktionslisten ändern sich täglich

Die Architektur: Human-in-the-Loop mit Eskalationsstufen

Der Skill: compliance-monitor

Risk Score = Σ (Factor_Weight × Factor_Score)

Faktoren:
┌─────────────────────────┬────────┬─────────────────────────────────┐
│ Faktor                  │ Weight │ Score-Kriterien                 │
├─────────────────────────┼────────┼─────────────────────────────────┤
│ Sanctions Match         │ 0.35   │ 1.0 = Exact Match               │
│                         │        │ 0.7 = Fuzzy Match > 85%         │
│                         │        │ 0.3 = Partial Match             │
├─────────────────────────┼────────┼─────────────────────────────────┤
│ Transaction Pattern     │ 0.25   │ 1.0 = Clear Structuring         │
│                         │        │ 0.6 = Velocity Anomaly          │
│                         │        │ 0.3 = Minor Irregularity        │
├─────────────────────────┼────────┼─────────────────────────────────┤
│ Jurisdiction Risk       │ 0.20   │ 1.0 = FATF Blacklist            │
│                         │        │ 0.7 = FATF Greylist             │
│                         │        │ 0.3 = Elevated Risk             │
├─────────────────────────┼────────┼─────────────────────────────────┤
│ PEP Status              │ 0.15   │ 1.0 = Direct PEP                │
│                         │        │ 0.6 = PEP Associate             │
│                         │        │ 0.3 = Former PEP                │
├─────────────────────────┼────────┼─────────────────────────────────┤
│ Historical Alerts       │ 0.05   │ Based on prior alert count      │
└─────────────────────────┴────────┴─────────────────────────────────┘

Phase 1: SCREENING
├── Input: Entity/Transaction Data
├── Actions (parallel):
│   ├── check_sanctions_list() → OFAC, EU, UN, UK
│   ├── search_pep_database() → PEP Status
│   ├── get_jurisdiction_risk() → Country Risk
│   └── analyze_transaction_pattern() → Behavioral Analysis
└── Output: Raw Risk Factors

Phase 2: RISK SCORING
├── Input: Raw Risk Factors
├── Action: calculate_risk_score()
└── Output: Composite Risk Score (0-1)

Phase 3: ROUTING DECISION
├── Input: Risk Score
├── Decision Tree:
│   ├── < 0.3: AUTO_CLEAR
│   ├── 0.3-0.7: L1_REVIEW
│   ├── 0.7-0.9: SENIOR_REVIEW (Agent-assisted)
│   └── > 0.9: IMMEDIATE_BLOCK + ESCALATE
└── Output: Routing Decision + Prepared Materials

Phase 4: HUMAN REVIEW (wenn erforderlich)
├── Input: Agent-prepared case summary
├── Human Actions:
│   ├── APPROVE → Clear transaction
│   ├── REJECT → Block + potential SAR
│   └── ESCALATE → Higher authority
└── Output: Final Decision

Phase 5: AUDIT & FEEDBACK
├── Log all decisions immutably
├── Update entity risk profile
└── Feed back to model training
json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "required": ["entity", "screening_id", "risk_assessment", "routing"],
  "properties": {
    "entity": {
      "type": "object",
      "properties": {
        "name": {"type": "string"},
        "type": {"enum": ["individual", "organization"]},
        "identifiers": {"type": "object"}
      }
    },
    "screening_id": {"type": "string", "format": "uuid"},
    "timestamp": {"type": "string", "format": "date-time"},

    "risk_assessment": {
      "type": "object",
      "properties": {
        "composite_score": {"type": "number", "minimum": 0, "maximum": 1},
        "risk_level": {"enum": ["LOW", "MEDIUM", "HIGH", "CRITICAL"]},
        "factors": {
          "type": "object",
          "properties": {
            "sanctions": {"type": "object"},
            "transaction_pattern": {"type": "object"},
            "jurisdiction": {"type": "object"},
            "pep_status": {"type": "object"}
          }
        }
      }
    },

    "routing": {
      "type": "object",
      "properties": {
        "decision": {"enum": ["AUTO_CLEAR", "L1_REVIEW", "SENIOR_REVIEW", "IMMEDIATE_BLOCK"]},
        "assigned_to": {"type": "string"},
        "deadline": {"type": "string", "format": "date-time"},
        "priority": {"enum": ["LOW", "MEDIUM", "HIGH", "URGENT"]}
      }
    },

    "evidence_package": {
      "type": "object",
      "description": "Für Human Review vorbereitet",
      "properties": {
        "summary": {"type": "string"},
        "key_findings": {"type": "array"},
        "similar_cases": {"type": "array"},
        "recommended_action": {"type": "string"},
        "supporting_documents": {"type": "array"}
      }
    }
  }
}

Die Implementierung

Ehrliche Einschätzung

Was funktioniert:
- Strukturierte Risikobewertung: Konsistent und nachvollziehbar
- False Positive Reduktion: ~40% durch Multi-Faktor-Analyse
- Audit Trail: Lückenlose Dokumentation aller Entscheidungen
- Effizienz: 70% schnellere Erstbewertung

Was nicht funktioniert:
- Neue Typologien: Unbekannte Geldwäsche-Muster werden nicht erkannt
- Name Matching: Kulturelle Namensvariationen bleiben problematisch
- Letztentscheidung: Bleibt beim Menschen (regulatorisch erforderlich)

Wann NICHT verwenden:
- Als alleinige Entscheidungsinstanz
- Ohne regelmäßige Modell-Updates
- Ohne menschliche Überwachung der Auto-Clear-Entscheidungen

---

Use Case 4: Investment Research

Das Problem im Detail

Equity Research erfordert:
- Analyse von 100+ Datenpunkten pro Unternehmen
- Integration verschiedener Quellen (Fundamentals, News, Sentiment)
- Vergleich mit Peers und Industrie
- Zeitdruck bei Events (Earnings, M&A)

Die Architektur: Supervisor Pattern mit spezialisierten Agenten

Der Skill: investment-researcher

yaml
name: fundamental_analyst
role: Senior Equity Analyst (Fundamentals)
focus_areas:
  - Financial Statement Analysis
  - Quality of Earnings
  - Cash Flow Analysis
  - Balance Sheet Strength
  - Growth Drivers
  - Margin Analysis
  - Capital Allocation

metrics_to_analyze:
  income_statement:
    - Revenue (growth, mix, quality)
    - Gross Margin (trend, vs peers)
    - Operating Margin (leverage)
    - Net Income (adjustments)

  balance_sheet:
    - Debt/Equity
    - Current Ratio
    - Working Capital
    - Goodwill/Intangibles

  cash_flow:
    - Operating Cash Flow
    - Free Cash Flow
    - FCF Conversion
    - CapEx Intensity

  quality_checks:
    - Revenue Recognition
    - Accruals Ratio
    - Cash vs Earnings
    - DSO/DPO Trends

output:
  fundamental_score: 1-10
  quality_score: 1-10
  growth_score: 1-10
  key_drivers: [string]
  red_flags: [string]
  valuation_inputs: {object}
yaml
name: industry_analyst
role: Senior Industry Analyst
focus_areas:
  - Market Size (TAM/SAM/SOM)
  - Competitive Landscape
  - Industry Trends
  - Regulatory Environment
  - Technology Disruption
  - Barriers to Entry

analysis_framework:
  porter_five_forces:
    - Competitive Rivalry
    - Supplier Power
    - Buyer Power
    - Threat of Substitution
    - Threat of New Entry

  competitive_position:
    - Market Share
    - Share Trend
    - Competitive Advantages
    - SWOT Analysis

output:
  industry_attractiveness: 1-10
  competitive_position: 1-10
  moat_strength: none | narrow | wide
  industry_trends: [string]
  competitive_threats: [string]
yaml
name: sentiment_analyst
role: Sentiment & Catalyst Analyst
focus_areas:
  - News Flow Analysis
  - Social Media Sentiment
  - Analyst Sentiment
  - Insider Activity
  - Short Interest
  - Options Flow
  - Event Calendar

data_sources:
  - News APIs (Reuters, Bloomberg)
  - Social Media (Twitter, Reddit, StockTwits)
  - SEC Filings (Form 4, 13F)
  - Options Data
  - Short Interest Reports

output:
  overall_sentiment: very_negative | negative | neutral | positive | very_positive
  sentiment_score: -1 to 1
  sentiment_trend: improving | stable | deteriorating
  upcoming_catalysts: [{event, date, expected_impact}]
  insider_activity_summary: string

Phase 1: DISPATCH (Parallel)
├── Supervisor receives research request
├── Dispatches to all specialists simultaneously:
│   ├── Fundamental Analyst → Company financials
│   ├── Industry Analyst → Market & competition
│   └── Sentiment Analyst → News & catalysts
└── Each specialist works independently

Phase 2: SPECIALIST ANALYSIS (Parallel, ~2-5 min each)
├── Fundamental:
│   ├── Pull financials (3 years)
│   ├── Calculate ratios
│   ├── Quality checks
│   └── Growth analysis
├── Industry:
│   ├── Market research
│   ├── Peer comparison
│   └── Trend analysis
└── Sentiment:
    ├── News aggregation
    ├── Social scraping
    └── Catalyst mapping

Phase 3: SYNTHESIS (Sequential, ~1-2 min)
├── Collect all specialist outputs
├── Identify conflicts/confirmations
├── Weight factors by relevance
├── Generate investment thesis
└── Calculate target price range

Phase 4: REPORT GENERATION (~1 min)
├── Structure findings into report
├── Generate charts/tables
├── Quality check
└── Output final report
json
{
  "ticker": "string",
  "company_name": "string",
  "analysis_date": "date",

  "recommendation": {
    "rating": "STRONG_BUY | BUY | HOLD | SELL | STRONG_SELL",
    "conviction": "LOW | MEDIUM | HIGH",
    "price_target": {
      "low": "number",
      "base": "number",
      "high": "number"
    },
    "current_price": "number",
    "upside_potential": "string"
  },

  "thesis_summary": {
    "one_liner": "string (max 100 chars)",
    "bull_case": ["string"],
    "bear_case": ["string"],
    "key_metrics_to_watch": ["string"]
  },

  "scores": {
    "fundamental": {"score": 1-10, "trend": "improving|stable|declining"},
    "industry": {"score": 1-10, "position": "leader|challenger|follower"},
    "sentiment": {"score": -1 to 1, "trend": "improving|stable|declining"},
    "overall": {"score": 1-10, "confidence": 0-1}
  },

  "catalysts": [
    {
      "event": "string",
      "expected_date": "date",
      "potential_impact": "HIGH | MEDIUM | LOW",
      "direction": "POSITIVE | NEGATIVE | UNCERTAIN"
    }
  ],

  "risks": [
    {
      "risk": "string",
      "severity": "HIGH | MEDIUM | LOW",
      "probability": "HIGH | MEDIUM | LOW",
      "mitigation": "string"
    }
  ],

  "valuation": {
    "methodology": "DCF | Multiples | Sum-of-Parts",
    "key_assumptions": {},
    "sensitivity_table": {}
  }
}

Die Implementierung

Ehrliche Einschätzung

Was funktioniert:
- Konsistente Analyse-Struktur: Jedes Unternehmen gleich bewertet
- Zeitersparnis: 80% für Erstanalyse
- Breite Abdeckung: Fundamentals + Industry + Sentiment integriert
- Strukturierte Outputs: Vergleichbar über Zeit und Unternehmen

Was nicht funktioniert:
- Qualitative Insights: Managementqualität, Unternehmenskultur
- Unkonventionelle Thesen: Nur etablierte Metriken
- Market Timing: Kein Gefühl für Momentum/Technicals
- "Soft" Faktoren: Reputation, ESG-Nuancen

Wann NICHT verwenden:
- Für finale Investment-Entscheidungen allein
- Bei Unternehmen mit wenig öffentlichen Daten
- Ohne menschliche Überprüfung der Thesis

---

Use Case 5: Regulatory Filing Automation

Das Problem im Detail

Regulatorische Berichte (SEC Filings, BaFin-Meldungen) sind:
- Hochstandardisiert aber zeitaufwendig
- Fehleranfällig bei manueller Erstellung
- Mit strengen Deadlines
- Regulatorisch sensibel (Strafen bei Fehlern)

Die Architektur: Plan-Execute mit mehrstufiger Validierung

Der Skill: regulatory-filer

yaml
filing_type: form_13f
frequency: quarterly
deadline: 45 days after quarter end
format: XML/XBRL

required_data:
  - position_holdings: List of equity holdings > $100M AUM
  - voting_authority: Sole, shared, none
  - investment_discretion: Sole, shared, none

validation_rules:
  - All positions must have valid CUSIP
  - Holdings must sum to AUM (within tolerance)
  - Prior period comparison for large changes
yaml
filing_type: wphg_meldung
trigger: Threshold crossing (3%, 5%, 10%, etc.)
deadline: 4 trading days
format: XML

required_data:
  - issuer_lei: Legal Entity Identifier
  - holder_info: Name, address, LEI
  - voting_rights: Direct, indirect, instruments
  - threshold_crossed: Percentage

validation_rules:
  - Valid LEI format
  - Threshold math correct
  - Attribution chain complete

Phase 1: INITIALIZATION
├── Parse filing request
├── Identify filing type and requirements
├── Load appropriate template
├── Set deadline and checkpoints
└── Output: Filing Configuration

Phase 2: DATA COLLECTION (Parallel)
├── Connect to data sources
│   ├── ERP/Accounting: get_financial_data()
│   ├── Trading: get_positions()
│   ├── Risk: get_exposures()
│   └── Reference: get_entity_data()
├── Normalize and transform
├── Handle missing data
│   ├── Log warnings
│   └── Request manual input if critical
└── Output: Consolidated Data Package

Phase 3: VALIDATION (Sequential, Blocking)
├── Level 1: Schema Validation
│   ├── All required fields present
│   ├── Data types correct
│   └── Format compliance
├── Level 2: Business Rules
│   ├── Calculations correct
│   ├── Cross-references valid
│   └── Thresholds respected
├── Level 3: Regulatory Rules
│   ├── Regulator-specific checks
│   ├── Historical consistency
│   └── Materiality thresholds
├── Decision:
│   ├── ALL PASS → Continue
│   └── ANY FAIL → STOP + Error Report
└── Output: Validation Report

Phase 4: DOCUMENT GENERATION
├── Load filing template
├── Populate with validated data
├── Generate calculations
├── Format for submission
├── Generate supporting schedules
└── Output: Draft Filing + Supporting Docs

Phase 5: HUMAN REVIEW (Mandatory)
├── Present review package
│   ├── Generated filing
│   ├── Validation report
│   ├── Data source summary
│   ├── Change analysis (vs prior)
│   └── Exception highlights
├── Reviewer actions:
│   ├── APPROVE → Continue to submission
│   ├── REQUEST_CHANGES → Loop back with notes
│   └── REJECT → Terminate with reason
└── Output: Approved Filing + Sign-off

Phase 6: SUBMISSION
├── Final schema validation
├── Apply digital signature (if required)
├── Submit via regulator API/portal
├── Capture confirmation/receipt
├── Archive all artifacts
└── Output: Submission Confirmation + Audit Trail
json
{
  "validation_rules": {
    "schema": [
      {
        "rule_id": "SCH-001",
        "field": "",
        "check": "required_fields_present",
        "severity": "ERROR"
      },
      {
        "rule_id": "SCH-002",
        "field": "lei",
        "check": "format_regex",
        "pattern": "^[A-Z0-9]{20}$",
        "severity": "ERROR"
      }
    ],
    "business": [
      {
        "rule_id": "BUS-001",
        "check": "sum_equals",
        "fields": ["position_values"],
        "target": "total_aum",
        "tolerance": 0.01,
        "severity": "ERROR"
      },
      {
        "rule_id": "BUS-002",
        "check": "cross_reference",
        "source": "cusip",
        "target": "security_master",
        "severity": "WARNING"
      }
    ],
    "regulatory": [
      {
        "rule_id": "REG-001",
        "check": "threshold",
        "field": "total_aum",
        "min": 100000000,
        "message": "Form 13F only required for AUM > $100M",
        "severity": "INFO"
      },
      {
        "rule_id": "REG-002",
        "check": "prior_period_variance",
        "threshold": 0.25,
        "message": "Large change vs prior period",
        "severity": "WARNING"
      }
    ]
  }
}

Die Implementierung

Ehrliche Einschätzung

Was funktioniert:
- Konsistenz: Standardisierte Prozesse reduzieren Fehler
- Audit Trail: Lückenlose Nachvollziehbarkeit
- Zeitersparnis: 60-70% für Routine-Filings
- Validation: Frühzeitige Fehlererkennung

Was nicht funktioniert:
- Komplexe Ausnahmen: Nicht-Standard-Situationen erfordern manuellen Eingriff
- Interpretation: Regulatorische Grauzonen bleiben Expertensache
- Neue Anforderungen: Anpassungen bei Regulierungsänderungen nötig

Wann NICHT verwenden:
- Für erstmalige Filings ohne etablierte Templates
- Bei komplexen Unternehmensstrukturen ohne Anpassung
- Als Ersatz für regulatorische Expertise

---

Teil 4: Shared Infrastructure

Memory System für alle Agenten

Security Layer

system.?

---

Fazit: Die wichtigsten Learnings

Was funktioniert

1. Strukturierte Aufgaben mit klarem Output Contract: Je präziser definiert, desto besser
2. Context Engineering: Role-Goal-State-Trust Framework verbessert Zuverlässigkeit dramatisch
3. Multi-Agent für komplexe Aufgaben: Parallelisierung + Spezialisierung
4. Human-in-the-Loop für kritische Entscheidungen: Nicht verhandelbar

Was nicht funktioniert

1. Subtile Nuancen: Ironie, kultureller Kontext, das "Ungesagte"
2. Betrugserkennung: Agenten finden nur, was in den Daten steht
3. Rechtliche Verantwortung delegieren: Compliance-Entscheidungen bleiben beim Menschen
4. "Stuffing" von Context: Mehr ist nicht besser (Context Rot)

Die richtige Erwartungshaltung

AI-Agenten sind Produktivitäts-Multiplikatoren, keine Ersetzung für Expertise. Sie machen die Fleißarbeit zuverlässig, aber das Urteilsvermögen bleibt beim Menschen.

---

Letzte Aktualisierung: Dezember 2025

Dieser Guide dient der Information und stellt keine Anlageberatung dar.
