CLI integration
Coding agents use the local Lighthouse command to save results, search records and load context. The dashboard can stay closed.
One local command
An agent sends a short Starlark script to lighthouse code and receives JSON. A single script can make several reads and return only the fields needed for the task.
lighthouse code --project my-project <<'STAR'items = search("deployment", limit=5)emit([{"id": item["id"], "title": item["title"]} for item in items])STARThe project key groups related results and memory. The Code API lists the available operations and limits.
What your agent needs
The agent's host must be able to run a local command. Install the Lighthouse skill and profile instructions using Agent setup. The skill tells the agent to load a compact context pack at the start of project work, then apply the context_patch returned after a write.
Lighthouse does not send your database to an AI provider. The agent sees only the output it requests. Scripts have no shell, filesystem, environment, raw SQL or network access.
Local dashboard
The dashboard is optional. It shows the same stored results and memory for review, editing and export. Agent code calls continue to work while it is stopped.