Agent knowledge base — ingest, query, and manage a structured wiki of plain Markdown files
Project description
Talocode Wiki
Agent knowledge base — ingest, query, and manage a structured wiki of plain Markdown files.
Talocode Wiki turns any agent into a knowledge-powered assistant. It creates, maintains, and queries a structured knowledge base that persists across sessions.
Install
pip install talocode-wiki
Quickstart
from talocode_wiki import WikiClient
# Initialize wiki
wiki = WikiClient(wiki_dir="./wiki")
wiki.init()
# Ingest content
wiki.ingest("notes.md", "Content to remember...")
# Query
result = wiki.query("What do we know about AI?")
print(result["answer"])
# Check health
health = wiki.lint()
print(f"Pages: {health['stats']['pages']}")
CLI Usage
# Initialize wiki
wiki init
# Ingest a file
wiki ingest research-paper.pdf
# Query the knowledge base
wiki query "what do you know about AI agents?"
# Check wiki health
wiki lint
# Save conversation
wiki save "Key insights" -c "Important findings"
API
WikiClient
from talocode_wiki import WikiClient
wiki = WikiClient(wiki_dir="./wiki")
# Initialize
wiki.init()
# Ingest content
result = wiki.ingest("source.md", "Content to ingest")
# Returns: {"source": "source", "pagesCreated": 5, "linksCreated": 3, "pages": [...]}
# Query
result = wiki.query("What is X?")
# Returns: {"answer": "Found 3 relevant sources...", "sources": [...]}
# Lint
result = wiki.lint()
# Returns: {"orphans": [...], "deadLinks": [...], "stats": {...}}
# Save
path = wiki.save("Title", "Content")
# Returns: "conversation-2026-07-21"
Talocode Ecosystem
| Package | PyPI | npm |
|---|---|---|
| DocuLane | talocode-doculane |
@talocode/doculane |
| XSearchLane | talocode-xsearchlane |
@talocode/xsearchlane |
| Wiki | talocode-wiki |
@talocode/wiki |
License
MIT © Talocode
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file talocode_wiki-0.1.0.tar.gz.
File metadata
- Download URL: talocode_wiki-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbc766f1c0882dacfcc311dc400891830ccee7f14fb314c54bd780bdd5036371
|
|
| MD5 |
ec2b550de76bc766a4902c6518b64bba
|
|
| BLAKE2b-256 |
90323168b22daa26ddbe30381b418f3c4abb58470da4bf41473e5b79c0ccc30c
|
File details
Details for the file talocode_wiki-0.1.0-py3-none-any.whl.
File metadata
- Download URL: talocode_wiki-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ec1c30379799617fe6fc78351a3c3c54b5b99c8b1aaba5f9cf0b9349bd5c482
|
|
| MD5 |
61a87a8e7dd6108ee5f8f30cc316fb54
|
|
| BLAKE2b-256 |
496e5140f68f621af2af3ffc92d6e9e0d760c391bc64ab107f611cb0be30f870
|