Kaya Tasks board mention agent (WS + core RunAgent)
Go to file
alex 856e5a3cab
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fix tasks board WS idle timeouts and Mira pipeline kicks.
Reset read deadline on server Ping (not only Pong), run OnEvent async so long replies do not stall the socket, and always answer clear Mira delivery asks instead of LLM decide-gate skips.
2026-09-22 12:45:44 +03:00
cmd/kaya Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
internal Fix tasks board WS idle timeouts and Mira pipeline kicks. 2026-09-22 12:45:44 +03:00
profiles Prompt Kaya to journal merged delivery-pipeline tasks. 2026-09-22 11:20:16 +03:00
proto/l-ai-core-proto Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
.env.example Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
.gitignore Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
.gitmodules Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
.woodpecker.yml Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
Dockerfile Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
go.mod Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
go.sum Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00
README.md Initial Kaya board-mention agent daemon. 2026-09-21 23:07:24 +03:00

l-ai-agent-kaya

Thin Tasks board agent: replies to @kaya mentions in task comments.

Behavior

Long-lived daemon:

  1. Connects to l-ai-tasks WebSocket (TASKS_WS_URL) with reconnect.
  2. On comment.added where mentions include agent kaya and author ≠ kaya:
    • dedupes by comment id
    • GET task + comments via REST
    • calls l-ai-core AIService.RunAgent (tools disabled) with Kaya persona
    • POST comment with Idempotency-Key: mention-reply:<comment_id>

No Telegram / Live Chat integration.

Identity

  • agent_id: kaya
  • Display: Kaya / Кая
  • Profile: profiles/kaya.yaml

Env

Variable Required Default
TASKS_WS_URL yes —
TASKS_API_URL yes —
TASKS_AGENT_TOKEN yes —
CORE_ENDPOINT no core:50051
CORE_TOKEN yes —
CORE_INSECURE no false
MODEL no deepseek-v4-flash
AGENT_PROFILE_PATH no profiles/kaya.yaml
HEALTH_LISTEN_ADDR no :8087
METRICS_LISTEN_ADDR no :9097

Build

go build -o kaya ./cmd/kaya

Image binary: /app/kaya. Health :8087/healthz, metrics :9097/metrics.