At a glance
What it does
A DeepSeek Harness bundle that connects a local Minta memory-quality engine and adds its agent preset.
Web Profile
Not declared in supplied evidence
Evidence-verified
Checked Sep 6, 2026, 1:51 PM UTC
Code-evidenced contributions
What it adds to DSH
Adds a streamable-HTTP MCP client connection to a locally running Minta engine at 127.0.0.1:18721.
Mechanism evidence ↗Bundles a Minta preset intended to apply per-turn memory preflight and postflight behavior.
Mechanism evidence ↗Before you choose it
Minta adds a Cordis plugin and MCP wiring for a locally running Minta engine. It is designed to help agents surface stale or conflicting memory, review corrections through an inbox, and apply memory context across sessions.
Best for
DeepSeek Harness users who run Minta locally and want agent memory with lifecycle and quality checks.
Common tasks
- Connect DeepSeek Harness to a local Minta MCP server.
- Use memory context intended to flag staleness, conflicts, redundancy, and fragility.
- Apply the bundled Minta agent preset for per-turn memory handling.
Permissions and data
The bundle connects Harness to a local HTTP MCP endpoint; Minta documentation describes local-first storage by default.
Permissions- Connect to http://127.0.0.1:18721/mcp.
- Load the @xxinchen/dsh-plugin Cordis plugin.
- The supplied documentation states that Minta databases, vectors, and logs stay on the local machine by default.
- Minta write-path tools require a registered API key.
- No external service is configured in the supplied Cordis patch; it targets localhost.
- A registered Minta API key is required for Minta write-path tools.
Limitations
- A local Minta engine must be started separately.
- The manifest requires Node ^22.19.0 or >=24.0.0 and @deepseek-ai/cordis ^4.0.1.
- Harness version compatibility is not declared in the supplied evidence.
- The open-edition documentation says six expert/dialogue MCP tool names depend on enterprise-side backends not included in the repository.
What DSHub checked
- The immutable Git source, package structure, and Cordis patch were verified.
- The patch configures streamable HTTP to the local Minta MCP endpoint.
- The package declares Node and Cordis dependency requirements.
What DSHub did not check
- Installation and runtime behavior were not executed.
- The npm registry package contents were not audited.
- No DeepSeek Harness version range was supplied.
Pinned install
Install Minta for DeepSeek Harness
This plugin bundle does not have a DSH Plugin install action. Use its source documentation for the delivery method.
Maintainer source
Project README
⭐ New (2026-08): open-core v2 — memory engine + research compliance engine + expert domain pack, now with DeepSeek Harness integration (verified).
Why Minta
Other memory systems store. Minta verifies what remains true.
Memory has three tenses: it was true, it is true, and it is still true today. Almost every memory system optimizes the first. Minta is built for the second and third.
| What others do | What Minta does |
|---|---|
| "Here are your relevant memories" | "2 of these conflict. 1 is stale. Here's the truth." |
| Store everything forever | Detect what expired, flag it, decide with you |
| Treat all memories equally | Type-specific decay: preferences last longer than project state |
| Hope the LLM figures it out | Lifecycle scan + health score + staged gates (no over-claims) |
The same agent, with or without Minta
| Without Minta | With Minta | |
|---|---|---|
| A fact expires | Keeps using the old truth | Marks it stale, archives it, shows you |
| Two memories conflict | Returns both, glues them together | Surfaces the contradiction; you decide |
| You correct the agent | Forgets by next session | Inbox → your confirm → becomes a rule |
| Context grows | 10,000 memories in one prompt | Token-budgeted context pack |
Contents · Why Minta · Quick Start · Features · Open-Core · Benchmarks · DeepSeek Harness · Roadmap
Product UI
The full Minta workspace (Personal Context Layer, V8.3 engine UI). The layers you see — research cockpit, expert infer, memory health — map to the engine tiers below; the open-core dist ships the memory hub UI, and the rest activate through the same API.
| <img src="assets/ui/ui-hero.png" width="420"> | <img src="assets/ui/ui-context-draw.png" width="420"> | |
| Context Hub — "Stop re-onboarding your AI" | Context Draw — 3D knowledge graph + card recall | |
| <img src="assets/ui/ui-health.png" width="420"> | <img src="assets/ui/ui-inbox.png" width="420"> | |
| Context Health — lifecycle dashboard (decay/conflict at a glance) | Inbox — confirm/discard corrections, counter-example review | |
| <img src="assets/ui/ui-skills.png" width="420"> | <img src="assets/ui/ui-research.png" width="420"> | |
| Skills Library — 50 registered workflows | Research Workspace — projects, evidence, run packages |
Three layers, one engine:
L1 Memory governance → stale / conflict / redundant / fragile, found not stored
L2 Expert knowledge → rules promoted from your corrections, domain-typed
L3 Claim gates → the agent cannot claim a stage it never did (math-model
/ research workflows) — with calibrated confidence
Quick Start
60 seconds. Local-first, no cloud, no API subscription for the open core.
git clone https://github.com/xinchen03/minta.git
cd minta
python -m pip install -r server/requirements.txt
python minta_cli.py start # API :8772 · Autopilot :18730 · MCP :18721
Or Docker: docker compose up -d. Then connect your agent:
docker compose固定构建Dockerfile.web(业务服务:8772/18721);仓库根Dockerfile默认目标为 AMC 评测容器(见README_AMC.md),两者互不影响。
# any MCP-capable editor/agent — Claude Code / Codex / Cursor / dsh
python minta_cli.py connect claude
# DeepSeek Harness: dsh plugin --profile web add @xxinchen/dsh-plugin (or connect via MCP → docs/dsh-integration.md)
The web UI opens at http://127.0.0.1:8772 — memory health dashboard, 3D knowledge graph, inbox review, expert panels.
Configuration & Keys (first run)
cp .env.example .env # then edit secrets
python -c "import secrets; print('MINTA_API_KEY=minta_'+secrets.token_hex(32))" # generate a secure key
Register the key: the minta_ prefix alone is not enough — the API accepts a key only if it exists in the keys table. While the engine runs, create the record in the Web UI (Settings → API keys) or call POST /api/keys with a user token. Write-path tools (inbox, write_context) require a registered key; read tools do not.
| Variable | Default | What it does |
|---|---|---|
MINTA_DATABASE_URL |
sqlite:///./minta.db |
Zero-config SQLite; switch to MySQL in one line |
MINTA_JWT_SECRET |
(must set) | Session signing secret — generate, don't copy |
MINTA_API_KEY |
auto-generated on first run | Programmatic access + MCP (connect your editor → python minta_cli.py connect claude) |
Full variable reference, SMTP, CORS, feature flags → docs/configuration.md.
Agent integration per editor → docs/mcp-integration.md.
Features
| Layer | Feature | What you get |
|---|---|---|
| Memory | Semantic search — POST /api/search (local-vector, per-user isolated, compact → full → pack disclosure) |
Auto-indexed on every write; finds your memory, not somebody else’s |
| Memory | Lifecycle engine (decay/conflict/redundancy/fragmentation) | Quality checks run on schedule, not on faith |
| Correction loop | Inbox + counter-example capture (hooks: SessionStart → UserPromptSubmit → PostToolUse → Stop) | What you correct becomes a rule — after your confirm |
| Expert domains | Multi-domain rules (ankle/knee/c-spine injury, ISO9001, PRISMA…) + CUMCM staged workflow | Domain-typed reasoning with trust metrics |
| Research | Manuscript inventory + compliance rule evaluator | "Does this draft meet the venue checklist?" — before submission |
| Metacognition | Conformal confidence (calibrated, data-locked) | The agent says what it knows with a coverage guarantee |
| Delivery | Dist web UI + MCP (13 core tools; expert/dialogue layer enterprise-side) + DSH plugin verified | Three entry points, one memory |
Open-Core: Open Code, Locked Assets
| In this repo (Apache-2.0, free) | Via API key / Enterprise license |
|---|---|
| Memory engine — full, runnable | Managed engine + monitoring |
| Quality-kernel algorithms (conformal, rule promotion, DGM, compiler) | Full precision: auto-calibration, private domains |
| Research compliance engine + domain pack (CUMCM stages) | Sports-medicine / clinical packs |
| Web dist · MCP · DSH integration · 12 guides | Data flywheel: calibration sets, weights, rule bases |
The hosted tiers above are roadmap features — the open core is always a complete, runnable memory system.
Tool surface note: the open-edition MCP server registers the same 19 tool names as the full engine, but the 6 expert/dialogue ones (
minta_expert_*,minta_chat) depend on the enterprise-side backends (/api/expert/*,/api/dialogue) which are not included in this repo — they serve as extension points for the full/enterprise deployment, not as working tools here.
Benchmarks
<img src="assets/benchmark_comparison.png" alt="Memory quality comparison — only Minta measures conflict and staleness">| Detection | Metric | Score | Mem0 | Hindsight |
|---|---|---|---|---|
| Conflict | F₁ | 0.81 (held-out, 5 unseen domains) | N/A | N/A |
| Staleness | UFA | 0.86 (12 fact-pair templates) | N/A | N/A |
| Redundancy | Compression RR | 0.67 (25 clusters) | N/A | N/A |
| Fragmentation | MCR | 0.746 (15 fragment sets) | N/A | N/A |
| Retrieval (LoCoMo) | Recall@20 | 97.1% | — | — |
Research first
Minta started as the memory layer of a research workflow — literature notes, manuscript checklists, journal compliance, verdict-gated claim tracking. See runtime/compliance/ and docs/interaction-guide.md. Manuscripts describing the framework (memory quality; data governance) are in preparation.
Companion execution skills (Apache-2.0, separate repo): nature-skills — reading, figures, citations, polishing.
DeepSeek Harness
Verified integration (2026-08): dsh plugin --profile web add @xxinchen/dsh-plugin wires Minta into DSH in 2 minutes — the plugin composes the official dsh-mcp-client row for the locally-run engine (which provides the 19 minta_* tools). A manual cordis.patch.yml insert is also supported; see docs/dsh-integration.md. The plugin also ships the minta agent preset (per-turn memory protocol): copy dsh-plugin/presets/minta into ~/.dsh/.agent-presets/ and pick it in the session picker.
Building & contributing
python scripts/build_open_release.py # sync publish lineage (A-level only)
python -m pytest tests/ # server test suite
We welcome good-first-issue PRs: entity_linker English patterns, richer demo scenarios. More in CONTRIBUTING.md.
Guides
Interaction Guide · Startup Order · DSH Integration · Configuration · User Guide · MCP Integration
Data & Privacy
- Local-first: database, vectors and logs stay on your machine. No telemetry by default.
- Data export / delete:
GET /api/user/export-data·DELETE /api/user/delete-data(authenticated). - Secrets: generated on first run into
.minta_api_key(never committed); privileged APIs are off by default unless explicitly configured. - See
SECURITY.mdfor disclosure policy.
Vision: Where This Is Going
Memory is the easy part; truth is the product. The agent era already has plenty of
"remember more" systems. The bottleneck is the opposite — AIs confidently serve stale,
contradicted, or unearned claims. Minta's answer is a context quality layer:
the memory knows its own health (stale / conflict / redundant / fragile), the expert
layer knows its own limits (calibrated coverage), and the claim gates know what was
actually done. The long thesis:
- Personal: every AI assistant, every session starts from a context hub that already understands you — stop re-onboarding your AI.
- Team / enterprise: memory, expertise, and compliance checks shared across a research group or a clinical unit — with audit trails and governance reports.
- Vertical: sports-medicine, clinical-triage, and manufacturing expert packs layered on the same engine, tuned by their users' corrections (data flywheel).
Roadmap
- 2026 Q4 — hosted API (full precision, monitoring), sports-medicine domain pack, npm plugin v1 release
- 2027 Q1 — enterprise private deployment + governance audit reports; SME (structure-mapping) engine public
- 2027 — multi-agent shared memory workspaces (team context layers)
Community & Contact
- 🐛 GitHub Issues — bugs, feature requests (we respond fast)
- 💬 GitHub Discussions — questions, RFCs, show-your-work
- 📧 Contact: xxinchen03@gmail.com (direct; research collaboration, consulting) are the publishable signs of this repo's claims; HackerNews/DSH plugin discussions welcome at every release.
Star Us
🔭 If Minta saved you an hour, give it a ★. One click, three seconds — and it tells the next contributor, integrator, and journal reviewer that this experiment deserves their attention.
References & Lineage
Where the ideas come from (and how Minta differs):
| Work | What Minta took | What Minta differs in |
|---|---|---|
| Mem0 / MemOS | Memory store + hybrid retrieval | They store; Minta verifies quality (decay, conflict, redundancy, fragmentation) |
| Vovk (2005), conformal prediction | Distribution-free coverage guarantee | Used as the metacognitive gate, not just an estimator |
| JEPA (LeCun) | Predict in latent space, not raw space | Domain rules > JEPA — predictions only fire when history exists |
| Ebbinghaus-inspired decay (MemoryBank et al.) | Time-aware forgetting | Type-specific half-lives: preferences > project state |
| Paperclip doc-maintenance | Audit-driven maintenance | Same discipline, now for AI memory, not files |
License
Apache-2.0. Upstream bundled resources retain their own licenses — see skills/ notes if added later.
Operate deliberately
Install and manage
Prerequisites and target Profile
Target: Web Profile
Delivery: Dsh Bundle Git — xinchen03/minta#32902dc06b23c060d34b93f67d57ee4a74dd35c9。
Verify, update, and remove
Show lifecycle commands
dsh plugin --profile web listCompatibility and access
Requires a local Minta engine and Cordis Based DeepSeek Harness setup: Not declared in supplied evidence。
Review compatibility evidence ↗
Risk facts
Connects to a local Minta MCP service on 127.0.0.1:18721.
Evidence ↗Minta write-path tools require a registered API key.
Evidence ↗Evidence and editorial reviewManifest, Bundle patch, distribution and freshness
Immutable evidence
Review status and source activity
Apache-2.0 license identifier is present; review local-engine setup and API-key configuration before enabling write tools.
AI reviewed Sep 10, 2026, 11:36 AM UTC。GitHub facts last checked Sep 10, 2026, 11:36 AM UTC。
No material source change has been recorded since this evidence baseline.