Getting started
- Two tools the KB drives:
graphify(uv tool install graphifyy) andqmd(npm i -g @tobilu/qmd), plus Python 3.11+. - Install:bash
uv tool install knowledge-index # or: pipx install knowledge-index kb-install # checks the tools, writes a config to fill in - Name your projects in
kb.projects.toml(kb --versionshows where it is): the code folders, the docs folder, and for a Laravel API the app folder (its routes become graph edges).toml[[project]] name = "api" code = ["/srv/shop/api/app"] docs = "/srv/shop/api/docs" routes = "/srv/shop/api" [[project]] name = "web" code = ["/srv/shop/web/src"] calls = ["/srv/shop/web/src"] # its API calls are linked to ... serves = "api" # ... the controllers of this project - Build:
kb build(a few minutes the first time;kb updateafter that). - Connect your agent:
claude mcp add kb -- kb-mcp(or the.mcp.jsonentry in Install), then restart the session.
That is the whole core. Everything else is optional and off until you turn it on.
Try it first without your own code: make demo opens the dashboard of a small made-up shop that ships with the repository. Red edges are routes: a Vue view's api.get('/orders') linked to the controller method that serves it.
Next: all settings, the shared server.