Code Labyrinth is a tool for using LLM chatbots in coding workflows.
It uses Langchain
and PGVector
to provide context about the working codebase and relevant libraries.
- Ingest document collections from any
readthedocs
website - Ingest all code files from a local directory or github repo and keep them up to date
- Add relevant documents to the context using vectorstore similarity retrieval of questions asked to a LLM.
- Choose the appropriate agent for the task - simple Question-Answer agents or Plan-and-Execute agent
- Operate everything with a convenient user interface
- Start the Postgres PGVector server:
docker compose up
- Set up PGVector extension:
python -c "from coder.db import install_extension; install_extension()"
- Set up python environment:
virtualenv venv && venv/bin/activate && pip install .
- Start backend server:
python -m coder api
- Set up frontend environment:
cd ui && npm install
- Start frontend (dev) server:
npm run start