Tool

Generate and maintain agent-readable wikis for codebases

OpenWiki is a CLI that ingests repos and connectors to build and keep an agent wiki current, with CI updates.

Works with githubgitlabbitbucketslackgmail

85
Spark score
out of 100
Updated 5 days ago
Version 0.2.3
Models
claude

Add to Favorites

Why it matters

OpenWiki helps development teams automatically create and keep up-to-date comprehensive documentation wikis that AI coding agents can reference for context. It ingests code repositories and knowledge sources, then synthesizes them into structured, agent-optimized documentation that stays current through CI/CD integration.

Outcomes

What it gets done

01

Initialize repository documentation in Open Knowledge Format with AGENTS.md and CLAUDE.md instruction files

02

Ingest local knowledge sources from Git repos, Notion, Gmail, Slack, Twitter, and web search into a personal brain wiki

03

Automatically update documentation via GitHub Actions, GitLab CI, or Bitbucket Pipelines pull requests

04

Maintain structured wiki relationships using standard Markdown links between concept documents with YAML front matter

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/langchain-ai-openwiki | bash

Overview

Openwiki

OpenWiki is a CLI that ingests codebases and connectors to build and maintain an OKF-formatted agent wiki, with Mermaid diagrams and CI-driven updates. Use Code mode for repository documentation an agent can reference, or Personal mode for a local knowledge wiki built from your own sources.

What it does

OpenWiki is a CLI that writes and maintains agent wikis for codebases or personal knowledge, built specifically for agents. It ingests local knowledge sources - git repositories or built-in connectors like Gmail, Notion, Web Search, Hacker News, and X/Twitter - and synthesizes them into a local wiki, emitting Google Open Knowledge Format (OKF) v0.1 bundles in both modes.

When to use - and when NOT to

Use Code mode (openwiki --init / --update) to build repository documentation in openwiki/, which OpenWiki keeps current via a CI workflow (GitHub Actions, GitLab CI, or Bitbucket Pipelines) that opens a PR with documentation updates; on every code run it also maintains AGENTS.md and CLAUDE.md at the repo root, rewriting only its own marked block and leaving the rest of the file untouched. Use Personal mode (openwiki personal --init / --update) to build a local personal brain wiki in ~/.openwiki/wiki from configured sources instead. Scheduled/CI runs send anonymous reliability telemetry by default (command, outcome, and a coarse error category, never file contents, credentials, prompts, or model output) - disable it with OPENWIKI_TELEMETRY_DISABLED=1 or the cross-tool DO_NOT_TRACK=1.

Inputs and outputs

Input: local repository paths, or connector credentials for Notion, Gmail, X/Twitter, Web Search (via Tavily), and Hacker News. Output: an OKF-formatted local wiki - index.md/log.md as reserved documents, other concepts carrying YAML front matter - with Mermaid diagrams embedded wherever they clarify a concept, validated and auto-repaired across --update runs (a diagram that fails validation degrades to a plain text fence with an explanatory comment, then gets restored once the recorded error is fixed).

npm install -g openwiki
openwiki --init
openwiki auth slack
openwiki auth gmail
openwiki auth x
openwiki auth notion

openwiki ingest all runs every configured connector instance; you can configure the same connector more than once (web-search-1, web-search-2) and run just one with openwiki ingest web-search-2.

Integrations

Supports OpenAI (API key or ChatGPT login via OAuth), OpenRouter, Gemini (AI Studio) and Gemini Enterprise (Vertex AI Model Garden, via Google Application Default Credentials), Nebius Token Factory, Fireworks, Baseten, NVIDIA NIM, AWS Bedrock (IAM credentials), Anthropic, GitHub Copilot (reusing an existing Copilot subscription through the OpenAI-compatible Copilot API), and any OpenAI-compatible endpoint - including local servers like Ollama or LM Studio. Alternate base URLs let Anthropic, OpenAI, Copilot, Baseten, Fireworks, and NVIDIA route through self-hosted or proxied gateways instead of each provider's default API. For MCP-backed connectors, openwiki auth <provider> runs a local browser OAuth flow and discovers MCP tools automatically (Notion via its hosted MCP server with dynamic client registration, X via OAuth 2.0 with PKCE).

Who it's for

Teams that want their coding agents to reference an always-current, structured wiki of a codebase instead of re-deriving context each session, and individuals who want a personal knowledge wiki synthesized from their own local sources.

Source README

OpenWiki

OpenWiki is a CLI that writes and maintains agent wikis for codebases or purpose memory. It's built specifically for agents, can ingest local knowledge sources through built-in connectors or git repositories and synthesize them into a local wiki.

langchain-ai%2Fopenwiki | Trendshift

OpenWiki

Install

npm install -g openwiki

On Windows, prefer installing OpenWiki with Node.js package managers such as
npm or pnpm:

npm install -g openwiki
# or
pnpm add -g openwiki

bun install -g openwiki can fall back to compiling OpenWiki's better-sqlite3
checkpointing dependency. Before using that path, install Visual Studio Build
Tools with the Desktop development with C++ workload. Bun does not run lifecycle
scripts from installed packages by default, so it cannot display a package-level
warning before that native dependency build starts.

Quick Start

Initialize OpenWiki in code mode, configure your model and API key, then generate documentation:

openwiki --init

OpenWiki has two modes:

  • Personal mode builds a local personal brain wiki in ~/.openwiki/wiki from
    configured sources like local repositories, Gmail, Notion, Web Search, Hacker
    News, and X/Twitter.
  • Code mode builds repository documentation in openwiki/ for the current
    codebase.

Bare openwiki --init and openwiki --update run in code mode. Use
openwiki personal --init or openwiki personal --update for the local
personal brain wiki.

Then to ensure your documentation stays up-to-date, add the CI workflow for your Git provider to automatically open a PR or merge request with documentation updates:

For repository documentation in GitHub Actions, use
openwiki code --update --print. You do not need to run --init in CI:
--update will create the initial openwiki/ docs if they do not exist yet, as
long as the workflow provides the required provider and model environment
variables.

Scheduled/CI runs send anonymous reliability telemetry. See Telemetry
for what is collected and how to turn it off (uncomment OPENWIKI_TELEMETRY_DISABLED
in the example workflow).

Open Knowledge Format compatibility

OpenWiki emits Google Open Knowledge Format (OKF) v0.1 bundles in both code and personal modes.

  • Every non-reserved Markdown concept has YAML front matter with a non-empty
    type; all other standard fields are optional.
  • Valid timestamp values and producer-defined extension fields are accepted
    and preserved during updates and migrations.
  • index.md and log.md are reserved documents rather than concepts. Nested
    indexes contain no front matter, while the root index declares
    okf_version: "0.1".
  • Standard Markdown links between concept documents express relationships.

Usage

Start the interactive CLI in code mode for the current repository:

openwiki

Start OpenWiki with an initial request:

openwiki "Please generate documentation for this repository"

Start the interactive local personal brain instead:

openwiki personal

Run a single command and exit:

openwiki -p "Summarize what you can do"

Initialize OpenWiki:

openwiki --init

Initialize the local personal brain wiki:

openwiki personal --init

Update repository code documentation:

openwiki --update

Update the local personal brain wiki:

openwiki personal --update

Run an update that can ingest configured local connectors first:

openwiki personal --update "Refresh the wiki from configured connectors"

Show help:

openwiki --help

In chat, use /api-key to update the current provider API key and
/langsmith-key to update or clear LangSmith tracing credentials. Both commands
use masked prompts.

Authenticate a connector provider:

openwiki auth slack
openwiki auth gmail
openwiki auth x
openwiki auth notion

Start an ngrok tunnel for Slack OAuth:

openwiki ngrok start

This starts ngrok with a random HTTPS forwarding URL. OpenWiki reads ngrok's
local inspection API, appends /callback, and saves
OPENWIKI_HTTPS_OAUTH_REDIRECT_URI automatically. Register the printed callback
URL in Slack. If you have a fixed ngrok domain, run
openwiki ngrok start https://<your-ngrok-domain>. X/Twitter and Gmail auth
ignore that HTTPS override and keep using the local loopback callback,
http://127.0.0.1:53682/callback.

Bare openwiki runs in code mode for the current repository. It creates initial repository documentation in openwiki/ when no wiki exists. Use openwiki personal for the local general-purpose wiki in ~/.openwiki/wiki/. By default, the CLI stays open after each run so you can send follow-up messages. Use -p or --print for a one-shot non-interactive run that prints the final assistant output.

Bare openwiki --init and openwiki --update default to code mode and operate on repository documentation. Use the personal positional mode or --mode personal to initialize or update the local personal brain wiki.

On each code run, openwiki maintains both an AGENTS.md and a CLAUDE.md at the repository root, adding prompting that instructs your coding agent to reference the wiki when searching for context. Each file is created if it does not already exist. If a file is present, OpenWiki only rewrites its own block and leaves the rest of your content untouched (appending the block the first time). The scheduled GitHub Actions workflow includes these files, along with the workflow itself, in the documentation pull request.

Repository-specific wiki instructions are stored separately in
openwiki/INSTRUCTIONS.md. This file is a shared, user-authored brief for the
repository wiki: OpenWiki reads it for scope and priorities, but it is not
generated documentation and is not rewritten during normal init, update, or chat
runs unless you explicitly ask to change the brief.

On the first interactive run, OpenWiki will have you configure your inference provider, API key, and LLM. You will also be able to set a LangSmith API key to trace your OpenWiki runs to a LangSmith tracing project named "openwiki" (optional).

These configuration options and secrets will be saved to ~/.openwiki/.env on your local machine.

Local Connectors

OpenWiki's first-run onboarding offers connector setup for local Git repositories, Notion, Gmail, X/Twitter, Web Search, and Hacker News. During an ingestion run, deterministic connector tools write raw data and manifests under ~/.openwiki/connectors/<connector>/raw/, then source-specific agent runs synthesize the local wiki under ~/.openwiki/wiki/ from those local files.

You can configure the same connector more than once. For example, add one Web
Search source for AI research and another for NBA news; OpenWiki stores them as
separate source instances such as web-search-1 and web-search-2. Run all
instances with openwiki ingest all, all instances for one connector with
openwiki ingest web-search, or one instance with
openwiki ingest web-search-2.

  • git-repo reads configured local repository paths and writes compact manifests.
  • x uses the X API directly with OAuth user-context credentials for home timeline, user posts, mentions, bookmarks, and list posts.
  • notion targets the hosted Notion MCP server, so users should authenticate through Notion OAuth instead of pasting a Notion token into OpenWiki.
  • google uses the Gmail API directly with OAuth user credentials to fetch recent mail, with room to add Drive, Calendar, and other Google providers later.
  • web-search uses Tavily through LangChain and requires TAVILY_API_KEY.
  • hackernews uses public Hacker News feed and search APIs, with no credentials required.

Connector secrets are referenced by env var name and stored in ~/.openwiki/.env; connector config files should never contain raw secret values.

openwiki auth <provider> runs a local browser OAuth flow, saves returned tokens into ~/.openwiki/.env, creates connector config when possible, and discovers MCP tools for MCP-backed providers. Slack and Gmail require app client credentials to already be set in that file; Notion uses dynamic client registration for hosted MCP; X uses OAuth 2.0 with PKCE. After openwiki auth gmail, the Google connector can ingest Gmail directly with no MCP transport setup.

openwiki auth configure <provider> and openwiki auth tools <provider> are advanced/retry commands for regenerating connector config or inspecting live MCP tools.

First-run onboarding also lets users choose a wiki template, customize its scope,
and save per-source ingestion notes and source schedules in
~/.openwiki/onboarding.json. The global personal wiki instructions are saved
in ~/.openwiki/INSTRUCTIONS.md. On macOS, source schedules are installed as
user LaunchAgents under ~/Library/LaunchAgents/ and write logs under
~/.openwiki/logs/.

See the OpenWiki operations docs for credential storage and provider setup
notes.

Customizing

OpenWiki supports OpenAI (with an API key or a ChatGPT login), OpenRouter, Gemini (AI Studio), Gemini Enterprise (Vertex AI), Nebius Token Factory, Fireworks, Baseten, NVIDIA NIM, an OpenAI-compatible provider, AWS Bedrock, Anthropic, and GitHub Copilot out of the box. The onboarding default is OpenAI with gpt-5.6-terra, and each inference provider also includes pre-defined model options plus support for custom model IDs.

GitHub Copilot

The GitHub Copilot provider routes inference through the OpenAI-compatible Copilot API (https://api.githubcopilot.com), so teams can reuse an existing Copilot subscription instead of provisioning a separate inference API key.

  1. Select GitHub Copilot as the provider during openwiki --init. If you already have an active GitHub CLI session, OpenWiki detects it automatically and offers to reuse it - no manual token entry needed. Otherwise, press Tab at the credential prompt to run gh auth login right there and sign in.
  2. Choose a model (for example gpt-5.5).

OpenWiki leaves the GitHub CLI token in the GitHub CLI's own credential store; it does not copy that token into ~/.openwiki/.env. For CI or another headless environment without a GitHub CLI session, set COPILOT_API_KEY explicitly to a GitHub OAuth token. Personal Access Tokens (classic or fine-grained) are rejected by the Copilot API for third-party integrations and will not work, even though the GitHub Copilot CLI itself accepts them.

The resulting local provider configuration can stay token-free:

OPENWIKI_PROVIDER="copilot"
OPENWIKI_MODEL_ID="gpt-5.5"

In CI (such as the scheduled GitHub Actions workflow), set the COPILOT_API_KEY repository secret and export OPENWIKI_PROVIDER=copilot in the workflow environment.

Alternative base URLs

To route the Anthropic provider at an alternative, Anthropic-compatible endpoint
(for example a self-hosted or proxied gateway) instead of the default API, set
ANTHROPIC_BASE_URL alongside ANTHROPIC_API_KEY:

OPENWIKI_PROVIDER=anthropic
ANTHROPIC_API_KEY=your-key
ANTHROPIC_BASE_URL=https://your-gateway.example.com/anthropic

The openai provider likewise supports an alternative, OpenAI-compatible
endpoint (for example a self-hosted or proxied gateway) via OPENAI_BASE_URL,
set alongside OPENAI_API_KEY. Baseten, Fireworks, and NVIDIA NIM can be routed
through alternate OpenAI-compatible gateways with BASETEN_BASE_URL,
FIREWORKS_BASE_URL, and NVIDIA_BASE_URL, respectively. This is useful for
OpenAI-compatible gateways that expose the Responses API, since the openai
provider routes tool calls through the Responses API (/v1/responses) rather
than chat completions:

OPENWIKI_PROVIDER=openai
OPENAI_API_KEY=your-key
OPENAI_BASE_URL=https://your-gateway.example.com/v1
OPENWIKI_MODEL_ID=your-model-name

Similarly, to route the GitHub Copilot provider at an alternative endpoint
(for example a GitHub Enterprise Cloud data-residency host or a proxied
gateway) instead of the default https://api.githubcopilot.com, set
COPILOT_BASE_URL alongside COPILOT_API_KEY:

OPENWIKI_PROVIDER=copilot
COPILOT_API_KEY=your-copilot-token
COPILOT_BASE_URL=https://your-tenant.ghe.com/api/copilot

OpenAI-compatible endpoints

The openai-compatible provider targets any OpenAI-compatible chat-completions
endpoint via a required base URL. This can be used for OpenAI-compatible LLM
endpoints like those exposed by a LiteLLM gateway when it is used as a gateway -
letting you reach whatever upstream providers the gateway fronts through a single
OpenAI-shaped API. Set the model ID to whatever name the gateway exposes:

OPENWIKI_PROVIDER=openai-compatible
OPENAI_COMPATIBLE_API_KEY=your-gateway-key
OPENAI_COMPATIBLE_BASE_URL=https://your-gateway.example.com/v1
OPENWIKI_MODEL_ID=your-gateway-model-name

Local LLM servers that expose OpenAI-compatible chat completions use the same
provider. The model ID must match a model available from that local server:

# Ollama, after `ollama serve` and `ollama pull llama3.2`
OPENWIKI_PROVIDER=openai-compatible
OPENAI_COMPATIBLE_API_KEY=ollama
OPENAI_COMPATIBLE_BASE_URL=http://localhost:11434/v1
OPENWIKI_MODEL_ID=llama3.2
openwiki --init
# LM Studio, after starting the local server from the Developer tab
OPENWIKI_PROVIDER=openai-compatible
OPENAI_COMPATIBLE_API_KEY=lm-studio
OPENAI_COMPATIBLE_BASE_URL=http://localhost:1234/v1
OPENWIKI_MODEL_ID=your-loaded-model-id
openwiki --init

For local gateways such as 9Router, use the OpenAI-compatible endpoint URL,
API key, and model ID shown by the gateway:

OPENWIKI_PROVIDER=openai-compatible
OPENAI_COMPATIBLE_API_KEY=your-local-gateway-key
OPENAI_COMPATIBLE_BASE_URL=http://localhost:20128/v1
OPENWIKI_MODEL_ID=your-routed-model-id
openwiki --init

Some local servers ignore the API key value, but OpenWiki still requires
OPENAI_COMPATIBLE_API_KEY because the OpenAI-compatible client expects one.

AWS Bedrock

The bedrock provider calls foundation models hosted on AWS Bedrock using IAM
credentials rather than a single vendor API key. Existing installations can
continue to provide an AWS access key ID, secret access key, and region:

OPENWIKI_PROVIDER=bedrock
BEDROCK_AWS_ACCESS_KEY_ID=your-access-key-id
BEDROCK_AWS_SECRET_ACCESS_KEY=your-secret-access-key
BEDROCK_AWS_REGION=us-east-1
OPENWIKI_MODEL_ID=anthropic.claude-sonnet-5

When the explicit Bedrock credentials are not set, OpenWiki uses the AWS SDK
default credential provider chain, including OIDC/web identity, IAM roles,
AWS profiles, and ECS/EC2 credentials. The region is resolved from
BEDROCK_AWS_REGION, AWS_REGION, or AWS_DEFAULT_REGION.

Which model IDs are available depends on your AWS account and region (which
foundation models you've enabled in the Bedrock console), so there is no
preset model list - paste the Bedrock model ID directly, as shown above.

Some newer models only accept on-demand invocation through a cross-region
inference profile rather than their bare model ID - if you see ValidationException: Invocation of model ID ... with on-demand throughput isn't supported, prefix
the model ID with the profile's region code instead, for example
us.anthropic.claude-sonnet-5. Your IAM policy also needs to allow
bedrock:InvokeModel/InvokeModelWithResponseStream on both the
foundation-model and inference-profile resource types in that case.

OpenAI (ChatGPT login)

The openai-chatgpt provider calls OpenAI's Codex backend using your ChatGPT
subscription instead of a metered API key. Model usage draws on your ChatGPT
Plus/Pro/Team plan's included Codex usage rather than per-token API billing. It
serves the same model list as the openai provider.

Instead of pasting an API key, run the setup wizard and complete a browser
login:

OPENWIKI_PROVIDER=openai-chatgpt openwiki code --init
# or
OPENWIKI_PROVIDER=openai-chatgpt openwiki personal --init

The wizard opens https://auth.openai.com in your browser (and also prints the
URL for headless/SSH use, where you can open it on another machine - or paste the
redirect URL back into the terminal to finish without a callback). After you sign
in with your ChatGPT account, OpenWiki captures the OAuth callback, shows the
signed-in email and plan, and then continues to model and LangSmith selection
just like the other providers. It stores the resulting access token, refresh
token, expiry, account id, email, and plan in ~/.openwiki/.env
(OPENAI_CHATGPT_ACCESS_TOKEN, OPENAI_CHATGPT_REFRESH_TOKEN,
OPENAI_CHATGPT_EXPIRES_AT, OPENAI_CHATGPT_ACCOUNT_ID, OPENAI_CHATGPT_EMAIL,
OPENAI_CHATGPT_PLAN). These are managed for you - the access token is refreshed
automatically when it expires, so you normally never edit them by hand. Treat the
refresh token like a password.

Gemini (AI Studio)

The gemini provider runs Google's Gemini models through the AI Studio API with
a single API key:

OPENWIKI_PROVIDER=gemini
GEMINI_API_KEY=your-ai-studio-key

Gemini Enterprise (Vertex AI)

The gemini-enterprise provider runs models from the Gemini Enterprise Model
Garden (formerly Vertex AI) - Google's own Gemini/Gemma models, Anthropic's
Claude, and partner/open-weight models (Llama, Mistral, DeepSeek, Qwen, …). It
routes each model ID to the right API surface automatically, so one credential
reaches all of them. It uses no API key - authentication happens with Google
Application Default Credentials (ADC), so any of the standard mechanisms work:

  • a service account key file via GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json,
  • user credentials from gcloud auth application-default login, or
  • workload identity when running on Google Cloud (GKE, Cloud Run, GCE) or in CI.
OPENWIKI_PROVIDER=gemini-enterprise
GOOGLE_CLOUD_PROJECT=your-gcp-project
GOOGLE_CLOUD_LOCATION=global   # optional, defaults to global

Set OPENWIKI_MODEL_ID to any Model Garden model. Gemini and Claude ship as
preset options; partner/open-weight models are reached by pasting their model ID
(for example publishers/meta/models/llama-3.3-70b-instruct-maas).

The credentials used need Vertex AI access (roles/aiplatform.user) in the
project, and the models you want must be enabled in the Model Garden. The
global endpoint serves Gemini and Claude and offers the best availability;
regional endpoints (for example europe-west1 or us-east5) can be set via
GOOGLE_CLOUD_LOCATION for data-residency requirements. Partner/open-weight
(MaaS) models are region-specific, so set GOOGLE_CLOUD_LOCATION explicitly when
using them.

Note that GOOGLE_CLOUD_PROJECT (and GOOGLE_APPLICATION_CREDENTIALS, if you
choose to store it there) is persisted to ~/.openwiki/.env and loaded into the
OpenWiki process environment at startup when not already set - values already
present in your shell always win.

For CI, authenticate before the update job runs - for example with
google-github-actions/auth
(workload identity federation) in GitHub Actions - and set
OPENWIKI_PROVIDER=gemini-enterprise and GOOGLE_CLOUD_PROJECT in the job
environment.

Base URLs (and all credentials) can be set in your environment or stored in ~/.openwiki/.env.

OpenRouter provider pinning

When OpenRouter serves a model through multiple upstream providers, set
OPENWIKI_OPENROUTER_PROVIDER_ONLY to restrict routing to one provider or a
comma-separated provider allowlist:

OPENWIKI_PROVIDER=openrouter
OPENROUTER_API_KEY=your-key
OPENWIKI_OPENROUTER_PROVIDER_ONLY=Novita

Provider retry attempts

OpenWiki uses LangChain's built-in retry handling for transient provider errors.
To override the number of retries after the first provider request, set OPENWIKI_PROVIDER_RETRY_ATTEMPTS:

OPENWIKI_PROVIDER_RETRY_ATTEMPTS=3

The value must be a positive integer. If the value is unset, OpenWiki defaults to 3 retries.

Diagrams

OpenWiki embeds Mermaid diagrams in the generated wiki wherever they make a
concept clearer than prose: sequence diagrams for runtime and request flows, ER
diagrams for data models, state diagrams for lifecycles, and flowcharts for
control flow. Diagrams are grounded in the inspected source, added where they
add signal rather than on every page, and kept in sync on --update runs. This
is default behavior; no configuration is required.

Validation and repair. After each run, OpenWiki validates every mermaid
fence. A diagram that fails validation is converted in place to a plain text
fence, preceded by a short comment explaining why, so it degrades to readable
text instead of a broken block. The next --update run finds that comment,
repairs the diagram from the recorded error, and restores the mermaid fence,
so quality recovers over successive runs.

Validation fidelity is optional. By default OpenWiki runs a lightweight,
zero-dependency check that catches the common syntax breakages. It is
best-effort: a break it does not recognize can still render as an error on
GitHub until a later run catches it. For authoritative validation that matches
exactly what GitHub renders, catching every unrenderable diagram, install the
Mermaid parser wherever you run OpenWiki (for example, in the scheduled GitHub
Actions workflow that regenerates your wiki):

npm install mermaid jsdom

When the parser is present, OpenWiki uses it and no broken diagram ships; when
it is absent, it falls back to the best-effort check. Diagram generation and the
degrade-and-repair loop work the same either way, so the parser changes only how
thoroughly diagrams are checked, never whether they are generated.

If there's an inference provider or model you'd like to see added, please open a PR!

Telemetry

OpenWiki collects anonymous, aggregate usage data so we can understand how the
tool is used and improve it. Telemetry is on by default and easy to turn off.

What is collected, on a single openwiki_run event, keyed by a random
install ID stored locally in ~/.openwiki/install-id:

  • Every run: the command (init / update) and the outcome (success / failure /
    no-op), plus a coarse error category on failure (never the error message).
    Interactive chat, auth, and ingest are not recorded.
  • At setup (on init only): which brain mode (code / personal), the model
    provider, and which connectors you configured (connector names only, never
    their contents).

What is never collected: file contents, repository data or names,
credentials, prompts, model output, connector payloads, error messages, file
paths, URLs, model IDs, run duration, your IP address, or any personal
information. Geoip enrichment is disabled and your IP is never stored. Events
are grouped by your random install ID so we can measure repeat usage, but that
ID contains no personal data.

Scheduled/CI runs are collected as anonymous reliability data (tagged so
they can be told apart from human runs), under a shared CI identifier rather than
a per-machine install ID, and never counted as distinct installs. To disable in
CI, set OPENWIKI_TELEMETRY_DISABLED=1 in your workflow environment.

To see exactly what a run would send, add --telemetry-file=<path> to any run.

Opting out

Set either environment variable:

export OPENWIKI_TELEMETRY_DISABLED=1
# or the cross-tool standard:
export DO_NOT_TRACK=1

To disable permanently, add OPENWIKI_TELEMETRY_DISABLED=1 to ~/.openwiki/.env.
In CI, set it in the workflow environment (config files do not persist on
ephemeral runners).

Seeing exactly what is sent

Add --telemetry-file=<path> to any run to also write the exact payload to a
local JSON file.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.