Tzivia-AI

v5.1.1
io.github.MMcBerry-bit/tzivia Checked 4 days ago Published 24 days ago

Persistent memory for AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tzivia_guide How to use Tzivia

How to use Tzivia: what each tool does and when to use it, with an example. Call this when the user asks what Tzivia is, how it works, or which tool to use.

tzivia_ask Ask Tzivia

Answer a plain-language question from what is stored in the user's Tzivia memory, returning the most relevant knowledge chains. Example: 'what did I decide about the launch date?'

ParameterTypeDescription
question *stringYour question in plain language
top_kintegerMax results to return

tzivia_explain Explain a concept

Full knowledge breakdown for a concept: stored item data, which patterns it belongs to, which synthesis chains it appears in, and predictions.

ParameterTypeDescription
value *stringConcept to explain

tzivia_status Memory status

Show a summary of the user's Tzivia memory: stored items, patterns, knowledge chains, learning cycles and current ranking weights.

tzivia_synthesis Knowledge chains

List the knowledge chains (linked sequences of concepts) Tzivia has built from the user's saved data. Optionally filter by domain.

ParameterTypeDescription
domainstringFilter by domain (medical/financial/science/code/legal/general)
limitintegerMax results

tzivia_feedback Rate a recall

Rate how useful the result of an earlier tzivia_recall was: score 0.0 = not useful, 0.5 = neutral, 1.0 = exactly right. Tzivia uses the rating to rank results better in future recalls.

ParameterTypeDescription
query *stringThe same query string passed to tzivia_recall
score *numberQuality score 0.0 (useless) to 1.0 (perfect)

tzivia_compress Save to memory

Save text to the user's Tzivia memory: notes, decisions, preferences, documents, or conversation excerpts the user wants kept. Any length is accepted; long input is processed in chunks. Returns a compress_id and a summary of what was stored. Use tzivia_recall to retrieve it later.

ParameterTypeDescription
text *stringRaw text to compress (any length -- streamed internally)
cyclesintegerLearning cycles to run (0 = auto from corpus size)
labelstringHuman-readable label for this compression (optional)

tzivia_job_status Save progress

Poll the status of an async ingestion job submitted via tzivia_compress when ingestion_mode is 'async'. Returns state (queued/running/done/failed), progress (0.0-1.0), chunks processed, tokens added, synthesis nodes built, and the full result once done.

ParameterTypeDescription
job_id *stringThe job_id returned by tzivia_compress in async mode

tzivia_recall Recall from memory

Search the user's Tzivia memory and return the most relevant saved information for a query, as a compact text summary of at most max_tokens. Pass compress_id from an earlier tzivia_compress call to search only that save, or leave it empty to search everything.

ParameterTypeDescription
query *stringThe current question or topic to retrieve knowledge for
compress_idstringcompress_id from tzivia_compress (empty = search all)
include_historicalbooleanInclude facts superseded by a newer, contradicting update (Memory DNA). Default False = current view only; set True for 'what did we believe before X' queries.
max_tokensintegerTarget size of the returned context string in tokens

tzivia_provenance Why Tzivia believes this

Show where a stored belief came from. Given a node ID (from tzivia_synthesis or tzivia_recall) or a query, trace the evidence chain back to the original sources, with their labels, save times and trust scores.

ParameterTypeDescription
node_idstringA specific node ID to trace (any tier)
querystringAlternative to node_id -- trace the top recall match for this query