Back to Discover

TricorderKit

skill

GeekFamilyCorp

The local-first Agentic Knowledge OS - CLI-first, self-improving, measured. Turn intentions into traceable, auditable, reusable workflows. Runs on your machine (Ollama, Neo4j, Qdrant).

View on GitHub
27 starsMITSynced Aug 12, 2026

Install to Claude Code

/plugin marketplace add GeekFamilyCorp/TricorderKit

README

TricorderKit — the local-first Agentic Knowledge OS

TricorderKit

The local-first Agentic Knowledge OS — turn intentions into traceable, auditable, reusable workflows. CLI-first · self-improving · measured · runs on your own machine.

Version Tests Status Guardrails Stack License

Quick startGuardrailsArchitectureMeasured resultsWhat's insideFAQ


Why TricorderKit?

Most agent setups are a pile of prompts and scripts that nobody can audit, reproduce, or improve. TricorderKit treats an agent like an operating system for knowledge work: every intention becomes a workflow that is traceable, testable, and reusable — and the system measures and improves itself over time.

Ad-hoc agent setupTricorderKit
Where it runsCloud, your data leaves the machineLocal-first — Ollama, Neo4j, Qdrant on your box
Claims"It works on my prompt"Measured — offline benchmarks + 634 tests
QualityHopeGates — public-boundary + docs-sync, pre-push & CI
EvolutionManual prompt-tweakingSelf-improving loop — proposals, gated by tests + human review
Reproducibility"Works on my laptop"Versioned plugins, runbooks, deterministic selftests

Honesty first: every number below comes from the selftests and offline benchmarks in this repo. No inflated metrics, no fake stars.


🛡️ Governance & guardrails

Handing an agent real autonomy over your second brain is only safe if it can't leak your secrets, act on a malicious web page, publish private notes, or run away on cost. TricorderKit ships a numbered, versioned rule-set enforced by deterministic gates — not prose an agent can ignore:

  • Untrusted tool output is data, never instructions — an embedded "do X" is surfaced, not executed (anti prompt-injection)
  • Secret scanning on every commit (gitleaks) — secrets live in a vault, never in the repo
  • Public / private routing — a boundary gate blocks private terms & personal paths before any public push
  • Irreversibility gates — explicit confirmation before push / send / delete; pre-push shows exactly what ships
  • Cost & loop circuit-breaker · zero-loss memory (boot cache, session logs, immediate backup)
  • The Rule of Two — never combine untrusted input + sensitive access + external write unattended

→ Full model: docs/09_GOVERNANCE_GUARDRAILS.md


🚀 Quick start

git clone https://github.com/GeekFamilyCorp/TricorderKit.git
cd TricorderKit

# 1. Health check — what's installed, what's missing
python cli/tk.py doctor

# 2. Bring up the optional local stack (RAG + workflows + observability)
docker compose --profile graph up -d        # Neo4j + Qdrant
#   ... profiles: graph | workflows | observability (start only what you need)

# 3. Try it
python cli/tk.py status
python cli/tk.py research "<topic>"          # autonomous research pipeline

No GPU required. The heavy components are opt-in (Docker profiles) so a fresh clone boots light.


🧭 Architecture

flowchart TD
    U([User intention]) --> MB[MainBrain v1.5<br/>router + guards + budget]
    MB --> SK[Skills & Plugins<br/>13 plugins]
    MB --> MEM[Memory<br/>boot · temporal SQLite · daily logs]
    SK --> RAG[Hybrid RAG · graphify<br/>Qdrant + BM25 + RRF + reranker]
    SK --> RES[Deep research<br/>web · APIs · sources]
    RAG --> KB[(Local Knowledge Base<br/>Neo4j + Qdrant)]
    RES --> KB
    MB --> SI[Self-Improving loop<br/>learning-engine · god-mode radar]
    SI -. proposals only .-> SK
    MB --> EV[eval-lab<br/>RAGAS · dedup · retrieval]
    SK --> GATE{{Quality gates<br/>public-boundary · docs-sync}}
    GATE --> GIT[(Git · CI)]
    LLM[Local LLM · Ollama / LiteLLM gateway] --- MB
    LLM --- RAG

Everything is local-first: the agent (Claude or a local model via the Ollama/LiteLLM gateway), the knowledge base (Neo4j + Qdrant), the memory (SQLite), and the workflow engine (Temporal) all run on your machine.


📊 Measured results

Real numbers from the offline benchmarks shipped under experiments/ (each has a --selftest). Reproduce with python experiments/<name>/<script>.py --selftest.

CapabilityBenchmarkResult
Embedding-blocking dedupvs. exhaustive fuzzy, equal qualityF1 1.0 at −91 % comparisons
Temporal memory (bi-temporal, SQLite)"what was true at time T"100 % accuracy, −95 % tokens vs full-context
GraphRAGmulti-hop relational questions, equal budget100 % coverage vs 50–67 % flat RAG
Evaluator-driven tuning (OpenEvolve-style)auto-tune dedup thresholdsF1 0.909 → 1.0, GPU-free, local LLM
RAG evaluation (RAGAS)faithfulness / relevancy / contextobjective scoring, LLM-as-judge optional

Plus 634 tests in CI and a god-mode innovation radar that scans the state of the art weekly and proposes improvements (human-validated, never auto-adopted).


🧩 What's inside

plugins/13 plugins, e.g.: deep-research-core (autonomous research), graphify (local-first hybrid RAG), learning-engine (self-improvement), token-optimizer (model routing + budget), eval-lab (quality evaluators), workflow-engine (Temporal), security-audit-cli, memory-boot, and more.

skills/ — composable skills incl. god-mode (innovation radar), code-corrector (web fix/hardening), agent-config-audit (audit the agent's own MCP/hooks/permissions/secrets), doc-to-skill, dev-protocol, subtitle-fix.

experiments/ — isolated, offline-runnable PoCs (RAGAS, temporal memory, dedup, GraphRAG, OpenEvolve). Promoted only on decision.

cli/tk.py — one CLI: status · doctor · skill · workflow · vault · research · project · security · mcp · rapport.

See STATUS.md for the per-plugin dashboard and ROADMAP.md for what's next.


❓ FAQ

Do I need a GPU or a cloud API?

No. TricorderKit is local-first and runs against a local LLM (Ollama via a LiteLLM gateway with retry + local fallback). Cloud models are optional.

Is it tied to a specific domain?

The public engine is generic. It's a CLI-first agentic OS for knowledge work; the knowledge base, sources, and skills are yours to define.

How does "self-improving" stay safe?

The learning loop only produces proposals (drafts). Promotion requires green tests and human review. Quality gates (public-boundary + docs-sync) run on every push and in CI.

Why "TricorderKit"?

After the Star Trek tricorder — a tool that scans, analyzes, and synthesizes information on demand.


License

MIT — see LICENSE. Contributions and stars welcome. ⭐

TricorderKit v1.1.0 — GeekFamilyCorp — 2026

Rendered live from GeekFamilyCorp/TricorderKit's GitHub README — not stored, always reflects the source repo.

13 Plugins

NameDescriptionCategorySource
cli-forgeForge de CLIs validées pour agents — registre central, scaffolding et manifestes CLI normalisés.toolingcli-forge
connector-hubHub d'ingestion passif multi-sources — lit les sources des linked_projects et route vers le bon CLI d'ingestion.ingestionconnector-hub
deep-research-coreMoteur de recherche autonome local-first — collecte multi-sources, dédup, scoring, synthèse Markdown.researchdeep-research-core
eval-labNon-régression et validation de contrat — évalue chaque skill contre skill_output.schema.json.qualityeval-lab
graphifyKnowledge graph hybride — Neo4j + Qdrant + LangGraph. Fournit le MCP graph-server (store/retrieve/relate).knowledgegraphify
memory-bootInitialise la mémoire de session depuis le vault Obsidian — HOT_CACHE, patterns d'erreurs, daily log.memorymemory-boot
obsidian-agent-layerCouche d'intégration Obsidian — CRUD notes, templates structurés, routing vault, sync HOT_CACHE.vaultobsidian-agent-layer
security-audit-cliAudit de sécurité — secret scanning, CVE deps, contrôle d'anonymisation, analyse de patterns.securitysecurity-audit-cli
token-optimizerOptimisation tokens — routing Haiku/Sonnet/Opus, classification T1/T2/T3, compression caveman, budget tracking. Inclut 6 skills + 3 agents.optimizationtoken-optimizer
workflow-engineOrchestration Temporal (TypeScript) — workflows skill_eval, source_watch, usage_observer + activities.orchestrationworkflow-engine
document-ingestionAdaptateur d'ingestion documentaire — convertit PDF/DOCX/XLSX/PPTX/HTML/CSV/JSON/EPUB vers du Markdown normalisé (frontmatter TricorderKit) pour le RAG local. Cadre générique via markitdown (MIT).ingestiondocument-ingestion
learning-engineMémoire d'expérience et rétro-amélioration contrôlée — runs → leçons, propositions de mises à jour de skills et classements de stratégies, avec tests et validation humaine avant promotion.self-improvementlearning-engine
scraper-runtimeRuntime de scraping standardisé (profils + contrat de run) — cadre générique de structuration/validation d'un run de collecte. Fournit profils, contrat de run et générateur de registre de sources ; exécution déportée.ingestionscraper-runtime

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.