fleet-memory/hindsight-docs
Nicolò Boschi f74b577e02
feat: add built-in llama.cpp LLM provider for local inference (#933)
* feat: add built-in llama.cpp LLM provider for fully local inference

Add `llamacpp` as a new LLM provider that manages a llama-cpp-python server
subprocess. Auto-downloads Gemma 4 E2B Q4_K_M (~3.5 GB) on first use and
runs inference locally via Metal/CUDA with no external services needed.

- New provider: `HINDSIGHT_API_LLM_PROVIDER=llamacpp`
- Singleton server shared across retain/reflect/consolidation
- Configurable: model path, GPU layers, context size, grammar enforcement
- User-extensible via `HINDSIGHT_API_LLAMACPP_EXTRA_ARGS`
- Flash attention + prompt caching enabled by default
- LLM provider cleanup on shutdown (stops subprocess)
- hindsight-embed: `--ui` flag on `daemon start`, removed FORCE_CPU on macOS
- Docs: configuration.md, models.mdx, providers grid updated

* chore: regenerate docs skill and update lockfile for local-llm dep
2026-04-08 15:22:10 +02:00
..
blog Update author name from Mike to Michael (#917) 2026-04-07 13:42:29 -04:00
docs feat: add built-in llama.cpp LLM provider for local inference (#933) 2026-04-08 15:22:10 +02:00
docs-integrations feat(openclaw): support bankId for static banks (#910) 2026-04-07 17:13:20 +02:00
examples fix(ci): resolve all CI failures (#847) 2026-04-02 17:17:42 +02:00
scripts fix(ci): resolve all CI failures (#847) 2026-04-02 17:17:42 +02:00
src feat: add built-in llama.cpp LLM provider for local inference (#933) 2026-04-08 15:22:10 +02:00
static feat: add retain update_mode='append' for document content concatenation (#932) 2026-04-08 14:39:16 +02:00
versioned_docs fix(ci): resolve all CI failures (#847) 2026-04-02 17:17:42 +02:00
versioned_sidebars fix(ci): resolve all CI failures (#847) 2026-04-02 17:17:42 +02:00
.gitignore rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
docusaurus.config.ts fix(ci): resolve all CI failures (#847) 2026-04-02 17:17:42 +02:00
package.json feat: bank template import/export with Template Hub (#819) 2026-04-02 12:21:53 +02:00
README.md rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
sidebars.ts fix(ci): resolve all CI failures (#847) 2026-04-02 17:17:42 +02:00
tsconfig.json rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
versions.json doc: release notes for 0.4.0 (#217) 2026-01-28 16:54:05 +01:00

Website

This website is built using Docusaurus, a modern static website generator.

Installation

npm install

Local Development

npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

USE_SSH=true npm run deploy

Not using SSH:

GIT_USER=<Your GitHub username> npm run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.