Skip to content

Overview

πŸ›οΈ What is Kourai Khryseai?

Kourai Khryseai is an interactive multi-agent development system where ten specialized AI agents collaborate with you on software development. Instead of running autonomously, they stream their work in real-time, show their reasoning, and ask for guidance when decisions matter.

You describe what you need. Agents break it down, show options, execute your feedback, and iterate on your input. You're not delegating β€” you're directing.

Choose your experience: a fast terminal CLI, a rich desktop Pygame GUI with TTS and visual effects, or a Ren'Py visual novel with romance, affinity systems, and character progression.


🀝 Why Collaboration, Not Automation?

Single-agent tools struggle with multi-discipline problems. A real development task requires planning, coding, testing, review, and documentation. Rather than hoping one model handles all five well, Kourai splits them across ten specialist agents β€” six core developers, two companion spirits, and two quality validators.

Better yet: You're in the loop. When Metis says "should we use JWT or sessions?", you answer. When Techne hits an ambiguous pattern, they ask. When Kallos finds lint issues, Techne fixes them automatically, then asks if you're satisfied. Nothing surprises you.


πŸ‘₯ The Agents

Core Specialists

Agent Role You'll hear from them when...
πŸ”₯ Hephaestus Orchestrator Routing requests, managing pipelines, asking clarifying questions
πŸ“ Metis Planner Breaking goals into specs, identifying edge cases, asking architecture decisions
βš™οΈ Techne Coder Writing code, explaining patterns, asking about ambiguous requirements
πŸ§ͺ Dokimasia Tester Creating test suites, reporting coverage, flagging untested branches
✨ Kallos Stylist Finding style violations, improving docstrings, asking Techne to fix issues
πŸ“œ Mneme Scribe Organizing git diffs into conventional commits, formatting messages

Companion Spirits

Agent Role You'll see them when...
🎭 Puck Companion Tutorial guidance, idle nudges, minigame facilitation (always present)
πŸ’˜ Cupid Romance Relationship coaching, confession scenes, emotional moments (appears at 0.6+ affinity)

Quality Validators

Agent Role They activate when...
πŸͺž Aidos Anti-Slop Detecting vague, corporate, or passive language in agent output
πŸ“š Aletheia Research Validating citations, checking claims, ensuring accuracy

Each agent is an independent HTTP server communicating via the open A2A (Agent-to-Agent) protocol. They can be deployed separately, tested independently, or swapped for custom implementations.


πŸ”„ How a Request Actually Flows

When you ask for something:

sequenceDiagram
    actor You
    participant UI as CLI / GUI / VN
    participant Hephaestus as πŸ”₯ Hephaestus
    participant Specialists as πŸ“βš™οΈπŸ§ͺβœ¨πŸ“œ<br/>Specialists

    You->>UI: "add user authentication"
    UI->>Hephaestus: A2A stream (SSE)
    Hephaestus->>Hephaestus: LLM selects pipeline

    Hephaestus->>Specialists: Route to Metis (planning)
    Note over Specialists: πŸ“ Metis analyzes...
    Specialists-->>UI: "JWT or sessions?"
    UI-->>You: Prompt for decision
    You->>UI: "JWT with refresh tokens"

    loop Each specialist in sequence
        Note over Specialists,Hephaestus: Agent streams work<br/>Real-time feedback
        Specialists-->>UI: Status + findings
        UI-->>You: Live updates
    end

    Note over Specialists: If Kallos finds issues β†’ Techne fixes β†’ Kallos re-checks (max 3Γ—)
    Hephaestus-->>UI: Final artifacts + summary
    UI-->>You: Done

Real conversation example:

❯ add authentication to /api/users

πŸ”₯ Hephaestus: Analyzing request...
   β†’ Route: Metis β†’ Techne β†’ Dokimasia β†’ Kallos β†’ Mneme

πŸ“ Metis: Spec in progress...
   β€’ Found existing session middleware
   β€’ Should we extend it or use JWT?

❯ JWT with refresh tokens

πŸ“ Metis: Got it. Specification:
   - JWT tokens (15min expiry)
   - Refresh token rotation
   - Rate limiting on token refresh
   βœ… Ready for Techne

βš™οΈ Techne: Implementing...
   β€’ src/auth/tokens.py β€” JWT utilities
   β€’ src/api/users.py β€” Auth middleware
   βœ… Complete

πŸ§ͺ Dokimasia: Testing... 8 tests, 92% coverage βœ…
✨ Kallos: Code review... all clear βœ…
πŸͺž Aidos: Language check... no slop detected βœ…

πŸ“œ Mneme: Commits ready:
   feat(auth): implement JWT authentication
   - Added JWT token generation and validation
   - Added refresh token rotation
   Files: src/auth/tokens.py, src/api/users.py, tests/...

🎯 Pipelines

Hephaestus automatically routes to the right pipeline:

Request Type Pipeline
"implement feature X" πŸ“ β†’ βš™οΈ β†’ πŸ§ͺ β†’ ✨ β†’ πŸ“œ (Full stack)
"fix bug in X" βš™οΈ β†’ πŸ§ͺ β†’ ✨ β†’ πŸ“œ (No planning needed)
"add tests for X" πŸ§ͺ β†’ ✨ β†’ πŸ“œ (Testing-focused)
"clean up X" ✨ β†’ πŸ“œ (Style only)
"commit prep" πŸ“œ (Just organize commits)
"plan feature X" πŸ“ (Planning only)
"@metis, why use async here?" πŸ“ (1-on-1 question)

πŸ”„ Human-on-the-Loop (HOTL) Design

Instead of silent automation, agents proactively engage when decisions matter:

Ambiguous requirements?

πŸ“ Metis: Should CSV export support streaming for large files?
   [A] Yesβ€”use async generator (slower startup, constant memory)
   [B] Noβ€”load and write all at once (faster start, high memory)

❯ A

Conflicting linting issues?

✨ Kallos: Found 3 issues...
βš™οΈ Techne: Fixing all 3... βœ…
✨ Kallos: Re-checking... All clear!

Nothing gets decided without you. This prevents wasted tokens on speculation and keeps you in control of trade-offs.


πŸ’» Three Ways to Play

CLI (Terminal)

Fast, scriptable, works anywhere (including SSH). Real-time agent output with emoji progress.

$ kourai "add pagination to /api/items"

πŸ”₯ Hephaestus: Routing...
πŸ“ Metis: Spec drafted...
βš™οΈ Techne: Writing changes...
πŸ§ͺ Dokimasia: Testing...
✨ Kallos: Reviewing...
πŸ“œ Mneme: Commits ready

Pygame GUI (Desktop)

Rich visual experience with agent portraits, dialogue bubbles, and personality-matched voices. Each agent has a distinct neural voice and visual appearance.

  • 🎨 Full-color agent portraits with glow effects and crossfade transitions
  • πŸ’¬ Real-time dialogue bubbles with streaming responses
  • πŸ”Š Neural text-to-speech (Kokoro-82M local + Edge-TTS fallback) with real-time streaming
  • 🌟 Golden particle system and typewriter effects
  • βš™οΈ Settings for voice customization and accessibility (WCAG 2.2 AA)

Ren'Py Visual Novel

A visual novel where the Golden Maidens aren't just tools β€” they're characters with personality, affinity, and romance routes.

  • 🎭 Warm forge-fire colors and rich portrait aesthetic
  • πŸ’› Affinity system β€” agents warm up as you work together (4 tiers: Professional β†’ Intimate)
  • πŸ’˜ Romance routes β€” confession scenes, jealousy moments, vulnerability
  • 🎭 Companion spirits β€” Puck guides, Cupid coaches romance
  • πŸ“– Gossip system β€” idle agents share personality-driven flavor text
  • πŸ’Ύ Full save/load with portrait thumbnails and conversation context

All three hosts connect to the same Docker-hosted agent backend. Your choice of experience doesn't change what the agents can do.


πŸ”§ Built With

  • Protocol


    A2A 0.4 β€” open agent-to-agent communication

  • LLM


    LiteLLM β€” Claude, Gemini, Ollama, local models

  • Language


    Python 3.12+ with modern type hints and Google docstrings

  • Server


    Starlette + uvicorn via a2a-sdk

  • Observability


    OpenTelemetry β†’ Jaeger + Prometheus

  • Containers


    Docker + Docker Compose

  • Visual Novel


    Ren'Py 8.5 β€” HTTP bridge via vn-bridge Docker service (:10010)

  • Tools


    MCP servers (filesystem, git, shell)


πŸ›οΈ The Name

In Greek mythology, Hephaestus β€” god of fire and the forge β€” crafted the Κοῦραι ΧρύσΡαι (Golden Maidens): women-shaped automatons of living gold who served as intelligent attendants in his divine workshop. Each could think, speak, and work independently.

Each agent is named after a Greek concept matching its function:

  • Hephaestus β€” The master craftsman, god of the forge
  • Metis β€” Goddess of wisdom and craft (mother of Athena)
  • Techne β€” Art, craft, and technical skill
  • Dokimasia β€” Scrutiny, examination, proof of competence
  • Kallos β€” Beauty, elegance, aesthetic form
  • Mneme β€” Memory (one of the original three Muses)
  • Puck β€” The mischievous daimon, pragmatic guide
  • Cupid β€” Eros, the force of love and connection
  • Aidos β€” Shame, modesty, the mirror of honesty
  • Aletheia β€” Truth, the unveiling of what is real