Knowledge builder

The knowledge builder is a command-line tool you run against your own product. It reads source files on your machine, asks an LLM to summarize them, and writes a markdown knowledge source the widget can answer from.

Download it from this site, install it once on your computer (or in CI), then point it at each project you want to document. You do not add it as a dependency of your app.

What it does

  1. Scans a project folder you pass with --dir.
  2. Skips things like node_modules, .git, binaries, your .gitignore, and extra paths in .aisupport/ignore.
  3. Sends file batches to an LLM using prompts fetched from Acta.
  4. Writes aisupport.knowledge.md in that folder.
  5. Optionally uploads that markdown to your Acta project with --upload.

BYOK (Bring Your Own Key) vs platform

Choose how source code is handled with AISUPPORT_LLM_MODE:

Mode What happens
byok (default) Source stays on your machine. The builder calls your LLM key (for example OpenAI). Acta only receives prompt templates and, if you upload, the generated markdown.
platform File contents are sent to Acta for ingest and finalize. Use this only if you are willing to share source with us. Platform mode needs prepaid credits (blocked on Free until you add units).

Recommended model is gpt-4o-mini so output matches our docs.

BYOK (Bring Your Own Key) works without credits. Uploading on Free still allows one size-capped knowledge source. Details: pricing.

Get the CLI

Download the zip from Downloads, unzip it, and install with pipx. Full steps: install the CLI, then configure and run it.

Secrets go in .aisupport/.env so they never collide with your product .env. Optional .aisupport/ignore and .aisupport/prompt.txt control which files are read and extra LLM instructions.