Skip to main content
Read and write to a directory of markdown files. The provider exposes two tools: query_wiki for reading, update_wiki for writing. With a Git backend, writes auto-commit and push. With a Notion backend, writes sync to a Notion database.

Backends

Auto-commits and pushes changes.

Configuration

ParameterTypeDefaultDescription
backendWikiBackendrequiredGitBackend, FileSystemBackend, or NotionDatabaseBackend.
idstr"wiki"Tools become query_<id> and update_<id>.
webContextBackendNoneOptional web backend for ingestion (fetch URL → write page).
modelModelNoneModel for sub-agents.
readboolTrueExpose query_wiki.
writeboolTrueExpose update_wiki.

Tools Exposed

ToolDescription
query_wikiSearch pages, read content, list structure.
update_wikiCreate pages, edit content. Auto-commits with Git backend.

Web Ingestion

Add a web backend to let the agent fetch URLs and write them as wiki pages:
ExaBackend requires the exa-py package (uv pip install -U exa-py) and the EXA_API_KEY environment variable. See Web for other backends.

Lifecycle Management

With GitBackend, asetup() clones the repo. Queries and updates run it automatically on first use; call it at startup to surface clone errors early:

Example queries

QueryWhat happens
”What do we have documented about authentication?”Searches wiki content
”Create a page about the new API endpoints”Creates markdown file, commits
”Update the deployment guide with the new steps”Edits file, commits

Resources

Workspace Reference

Underlying file operations

Cookbook Example

Git-backed wiki example