6 Commits

Author SHA1 Message Date
tomatocream 4495a3cc62 feat: add lightrag-mcp MCP server + agent tooling
- Add AGENTS.md with repo guidelines
- Add lightrag-mcp: FastMCP server exposing insert_documents() + query_documents()
  to LLM agents via stdio transport, talks to LightRAG REST API
- Add scripts/patch-vllm-cpu.py for CPU inference patching
- Add .env.vllm for vLLM configuration
- Update flake.nix with expanded dev shell
- Update .env.lightrag
- Remove CLAUDE.md (replaced by AGENTS.md)
2026-04-19 21:46:47 +08:00
tomatocream 11168df880 config: switch LLM to qwen3:0.6b, timeouts to 60s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 14:12:49 +08:00
tomatocream 73c3b20f0b config: switch to qwen3-embedding:0.6b (1024 dim)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 13:55:22 +08:00
tomatocream 2ffdfd2976 fix: increase embedding and LLM timeouts for large local models
qwen3-embedding:8b needs >60s on first load. Set EMBEDDING_TIMEOUT=300
(worker executes at 2x = 600s) and TIMEOUT=600 for LLM calls.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 13:52:25 +08:00
tomatocream 3a7249375c config: switch embedding to qwen3-embedding:8b (4096 dim)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 13:48:30 +08:00
tomatocream 17fbeffac1 init: LightRAG + Graphiti as submodules with Nix flake
Impure devShells using uv + Python 3.12 for each project.
LD_LIBRARY_PATH set for NixOS native wheel compatibility.
Neo4j managed via nix run .#neo4j-start / neo4j-stop.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:18:32 +08:00