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 c5dc2cf637 config: update all references to qwen3:0.6b + qwen3-embedding:0.6b
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 14:19:54 +08:00
tomatocream 22e1e754b6 fix: stay in project root after nix develop .#lightrag
Use subshells for cd to lightrag/ so user remains at repo root.
Add CLAUDE.md with purpose, architecture, and known issues.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 14:17:05 +08:00
tomatocream 232f2a4bf0 feat: build lightrag webui frontend via bun in shellHook
Adds pkgs.bun to lightrag devShell and builds the React frontend
on first shell entry if lightrag/api/webui doesn't exist yet.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 13:42:36 +08:00
tomatocream f0bd44cc14 fix: add offline-llm extra and always sync venv on shell entry
ollama python package is in the offline-llm extra, not api.
Always run uv sync (not just on first entry) so extra changes take effect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 13:38:54 +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