openai: add cognee-llm stateless Kimi-CLI wrapper (:8011) [Adolf P3]

Stateless one-shot wrapper for Cognee batch cognify: fresh temp dir per
request, no resume, non-streaming, text-only, bounded concurrency (3).
Per SPIKE-FINDINGS gate 5, Cognee should default its LLM to LiteLLM; this is
the optional low-volume path. New service + cognee-llm-home volume in compose.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
This commit is contained in:
2026-07-05 09:56:25 +00:00
parent 546d3b9438
commit f5c14efb37
5 changed files with 276 additions and 0 deletions

View File

@@ -154,6 +154,20 @@ services:
["node", "dist/index.js", "gateway", "--bind", "lan", "--port", "18789"]
restart: unless-stopped
# cognee-llm — stateless one-shot Kimi-CLI wrapper for Cognee's batch cognify
# (P3). Opposite policy to kimi-agent: no resume, non-streaming, text-only.
# Note (SPIKE-FINDINGS gate 5): Cognee should DEFAULT its LLM to LiteLLM; this
# is the optional low-volume path. Needs `kimi login` in its own volume.
cognee-llm:
build: ./cognee-llm
container_name: cognee-llm
ports:
- "8011:8011"
volumes:
- cognee-llm-home:/root/.kimi-code
restart: unless-stopped
volumes:
kimi-agent-home:
adolf-state:
cognee-llm-home: