Files
microdao-daarion/QUICKSTART_PHASE2.md
Apple 744c149300
Some checks failed
Build and Deploy Docs / build-and-deploy (push) Has been cancelled
Add automated session logging system
- Created logs/ structure (sessions, operations, incidents)
- Added session-start/log/end scripts
- Installed Git hooks for auto-logging commits/pushes
- Added shell integration for zsh
- Created CHANGELOG.md
- Documented today's session (2026-01-10)
2026-01-10 04:53:17 -08:00

2.7 KiB

QUICKSTART: Phase 2 Agent Integration

5-минутний старт


🚀 One-Command Start

cd /Users/apple/github-projects/microdao-daarion
./scripts/start-phase2.sh

Це запустить:

  • agent-filter (port 7005)
  • router (port 8000)
  • agent-runtime (port 7006)

🧪 Test Everything

./scripts/test-phase2-e2e.sh

Очікуваний результат:

✅ PASS: agent-filter is healthy
✅ PASS: router is healthy
✅ PASS: agent-runtime is healthy
✅ PASS: messaging-service is healthy
✅ PASS: agent-filter allows message
✅ PASS: agent-filter targets correct agent
✅ PASS: router creates invocation
✅ PASS: router sets correct entrypoint

💬 Test in UI

  1. Відкрий Messenger:

    http://localhost:8899/messenger
    
  2. Вибери канал: "DAARION City General"

  3. Напиши:

    Hello Sofia!
    
  4. Чекай 3-5 секунд

  5. Побачиш відповідь агента:

    Привіт! Я Sofia, асистент команди DAARION. Як можу допомогти?
    

📊 Check Status

# Services
docker ps | grep -E '(agent-filter|router|agent-runtime)'

# Logs (real-time)
docker logs -f agent-filter
docker logs -f router
docker logs -f agent-runtime

# Health
curl http://localhost:7005/health
curl http://localhost:8000/health
curl http://localhost:7006/health

🐛 If Something Wrong

Services not running?

# Restart
./scripts/stop-phase2.sh
./scripts/start-phase2.sh

NATS not connected?

# Check NATS
docker ps | grep nats
docker logs nats

# Restart NATS
docker restart nats

# Restart agents
./scripts/stop-phase2.sh
./scripts/start-phase2.sh

Agent not replying?

# Check logs step-by-step
docker logs agent-filter | grep "Decision"
docker logs router | grep "invocation"
docker logs agent-runtime | grep "replied"

🎯 What to Try

Test Keywords:

  • "Привіт" → Greeting
  • "Hello" → Greeting
  • "Допоможи" → Help menu
  • "Phase 2" → Phase 2 explanation
  • "Дякую" → Thanks acknowledgment
  • Any question with "?" → Smart response

📚 Documentation

  • PHASE2_COMPLETE.md — Full guide
  • IMPLEMENTATION_SUMMARY.md — What was built
  • services/agent-filter/README.md — agent-filter docs
  • services/agent-runtime/README.md — agent-runtime docs
  • services/router/README.md — router docs

🎉 Success!

If agent replies, Phase 2 works! 🚀

Next: Check PHASE3_ROADMAP.md for what's next.


Questions? Check logs or documentation above.