Skip to content

v2.0.0 — Hermas: agent-powered rewrite

Latest

Choose a tag to compare

@xianjianlf2 xianjianlf2 released this 10 Jun 08:24
· 40 commits to main since this release

MindGenius AI v2.0.0

Complete rewrite, fully backward-compatible at the protocol level.

Highlights

  • Hermas Agent: multi-step tool-calling loop (Vercel AI SDK v5) — plans on its own, chains rag_query / mindmap_generate / node_expand, every step visible live as expandable tool cards
  • Unified workbench: chat + editable AntV X6 canvas + PDF sources drawer in one screen (replaces the old MindMap/Paper tabs); attach a PDF from the composer and Hermas reads it while drawing
  • New stack: React 18 + Vite + Zustand (web), Hono + AI SDK v5 (server), pnpm monorepo with a shared SSE/agent-event protocol package
  • Lightweight RAG: pdf-parse → overlap chunking → embeddings → in-memory cosine retrieval, no LangChain
  • Multi-provider BYO-key: OpenAI / Anthropic (Claude) / DeepSeek, runtime switch, keys stay in your browser
  • Custom design system: dark, restrained UI with CSS tokens — zero UI-framework dependency (antd removed)
  • Engineering: vitest workspace, CI (lint → typecheck → test → build), workspace-aware Docker builds, SSE-friendly nginx

Compatibility

Legacy SSE envelope {status, data} and all v1 endpoints (/chat, /chatMindMap, /chatNode, /document/*) unchanged. Agent events ride inside the existing protocol.

The previous Vue/Koa/LangChain implementation is preserved in git history before f8b03d9.