Answers with sources
Retrieve readable wiki content and link back to the pages and relationships used in an answer.
Ask your wiki. Follow the evidence.
GraphWiki Agent adds a conversational interface to your wiki. It retrieves pages, graph relationships, and native wiki records to help answer questions, with links back to the sources it used.
Retrieve readable wiki content and link back to the pages and relationships used in an answer.
Look up categories, backlinks, accounts, files, templates, and other native wiki information.
Use wiki-wide revisions, creation logs, and server-side grouping to investigate activity by user, page, or day.
Read historical page content and compare revisions using MediaWiki’s native history services.
Query the configured graph through read-only tools and open SPARQL queries from answers in the wiki search interface.
Present answers with tables, nested lists, page links, source disclosures, and highlighted query blocks.
Install GraphWiki first and configure the model provider before enabling chat. Keep the provider key in private server configuration; the example below reads it from an environment variable.
Clone the canonical source into the GraphWikiAgent extension directory. GitLab access is required.
git clone https://git.dobriy.ai/semantic/graphwiki-agent.git extensions/GraphWikiAgentLoad after GraphWiki in LocalSettings.php. Replace the endpoint and model placeholders and set GRAPHWIKI_AI_API_KEY in the server environment.
wfLoadExtension( 'GraphWikiAgent' );
$wgGraphWikiAgentEndpoint = 'https://your-ai-gateway.example/v1';
$wgGraphWikiAgentModel = 'your-tool-calling-model';
$wgGraphWikiAgentApiKey = getenv( 'GRAPHWIKI_AI_API_KEY' );
$wgGraphWikiAgentEnabled = true;Run MediaWiki’s updater to install the tables used for conversations and messages.
php maintenance/run.php update --quickAs a registered wiki reader, open Special:GraphWikiAgent. Ask about a known page and check the linked sources. Confirm the model can call the wiki tools.