About Wikantik: The Agent-Grade Knowledge Engine

Wikantik is a Semantic Agentic Wiki designed as a high-signal research substrate where humans and AI agents collaborate to build a verifiable knowledge base. It is the evolution of traditional wiki software into a machine-readable, programmatically-accessible "Long-Term Memory" for LLM systems.

The Manifesto: Human-Agent Collaboration

The primary mission of Wikantik is to solve the "LLM Slop" problem through a tiered research model:

  1. Agentic Scaffolding: Agents (like Gemini CLI) perform the initial "heavy lifting"—researching across the web, retrieving context from the wiki, and drafting structured Markdown pages.
  2. The Structural Spine: Every page is constrained by the Structural Spine (Mandatory YAML + CommonMark). This ensures the content is as useful to a retrieval-augmented generation (RAG) system as it is to a human reader.
  3. Human Vetting: The "auto-generated" flag marks content as unverified. A human editor reviews the facts, tightens the prose, and verifies the citations.
  4. Verification Stamping: Once vetted, a page is marked as Verified (authoritative). This creates a "Web of Trust" within the knowledge base that agents can prioritize during future research.

The Architecture: How It Works

Wikantik is a modern Java 25 / Jakarta EE 10 application built on a decoupled, provider-based architecture. It prioritizes Optimistic Concurrency over locks, allowing humans and agents to edit the same corpus without blocking.

Technical Stack

ComponentTechnology
RuntimeJava 25 LTS
Servlet ContainerApache Tomcat 11
Search & RetrievalApache Lucene (BM25) + pgvector (Dense Embeddings)
StorageVersioned File System (Git-like history)
IntegrationModel Context Protocol (MCP)
FrontendVite + React (Modern UI) / Legacy JSP (Admin)

Module Structure

The codebase is organized into highly focused modules to maintain clear boundaries:

The Model Context Protocol (MCP) Interface

Wikantik exposes two primary MCP servers that act as the "USB-C port" for AI integration. This allows agents to interact with the wiki using standardized tools rather than custom scrapers.

/knowledge-mcp (Retrieval Surface)

Optimized for read-only retrieval and knowledge graph traversal.

/wikantik-admin-mcp (Write Surface)

The authoritative management interface for the wiki lifecycle.

Semantic Integrity: The Structural Spine

Content in Wikantik is not "just text." Every page must adhere to the Structural Spine, which includes:


The Heritage: Evolution from JSPWiki

While Wikantik is now an agent-first system, it honors its heritage as a descendant of Apache JSPWiki. It retains the robust security and extensibility patterns that made JSPWiki a staple of the Java ecosystem for over two decades:

Wikantik is licensed under the Apache License, Version 2.0. It is a bridge between the historical stability of Java enterprise software and the future of the Semantic Web.