MuzeAnisichael/GreatSage
About
GreatSage · 大贤者 — a Windows desktop voice secretary that listens, remembers across sessions, turns meetings and Markdown notes into cited minutes and todos, and asks before it acts. Cloud or local AI, auditable, with a desktop pet.
Productivity & AutomationMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalGreatSage
A Windows desktop secretary that listens, remembers and acts only with your approval
It hears what you say and can also listen in on meeting audio from your computer. It remembers facts across sessions and turns meetings and notes into minutes, todos and documents with sources. Anything with side effects waits for your approval.
Quick start · Usage (Chinese) · Project status (Chinese) · Roadmap (Chinese) · Changelog
简体中文 · English
[!NOTE] GreatSage is an alpha, developed on Windows 11 with Python 3.11. Use the Windows x64 folder ZIP, experimental NSIS installer or source setup.
- Current version 0.9.0-alpha.1 helps you pick up yesterday’s work. Reopen a conversation, check its decisions, revise the brief and approve the file save. Release · Validation and limitations
- Frameworks and scope: LangChain, LangGraph, MCP HTTP, Pipecat, LangMem and local inspection remain in use. v0.7 adds two fixed read-only research roles with Deep Agents, not a general autonomous multi-agent system. See the development log for individual changes (Chinese).
- Language: the interface and the detailed docs are in Simplified Chinese. Replies can be in Chinese, English or Japanese.
- Screenshots: made with fictional data and a local demo model.
Everyday voice in v0.5: start the next sentence while the previous one awaits recognition. Confirmed turns enter history in order, while older replies wait until you finish speaking. The UI distinguishes interim, confirmed and unfinished transcripts, displays source activity and offers an explicit retry of one failed recognizer. Pipecat, optional Deepgram streaming STT, playback/interruption receipts and voice monitoring are included. Live service quality, device behavior and manual installation remain unverified; performance targets are optimization references. See v0.5 validation.
Reviewable memory in v0.6: opt in to background extraction using your selected chat model. Choose automatic, necessary-only or mostly-confirmation (default). Review candidates, original quotes and entity relationships; rejecting or deleting a memory suppresses further extraction from that old source version. Exact-name grouping is not identity resolution, and quote validation does not guarantee semantic correctness. See v0.6 validation.
Research documents in v0.7: select imported Markdown materials or the current session. A planner delegates source organization and evidence review to two read-only subagents in sequence, producing a cited document with unresolved items. Each workspace save requires a click after review; declining keeps the artifact. Task details expose the plan, role status, usage and save progress. OpenRouter GPT-4.1 completed one synthetic-source workflow; mini's schema and quotation failures remain recorded. This does not establish general quality or an advantage over the minutes workflow. See the v0.7 scope and validation record.
What it does
Pick up work across days (v0.9)
- Select 接续工作 from a conversation card, the chat or the tasks view. Preview the time range and message count, and optionally add Markdown sources. Asking about yesterday selects the previous local calendar day. An empty day lets you choose another date.
- Review the brief’s confirmed decisions, next steps and unresolved items. Follow a citation to inspect its source.
- Select 纠正简报 to type a correction or record and edit its transcript. Submitting opens the new version’s diff. Select 查看保存审批 to check the version, destination and content hash before authorizing a file write.
Daily document workspace (v0.8)
- Continue a previous conversation and see its related work. Restart restores the session entry, with unfinished tasks requiring explicit resumption.
- Select relevant evidence within chosen Markdown/session sources, inspect originals and pin/exclude passages. Source updates are explicit; a full-coverage request stops if it exceeds the budget.
- Review evidence, parent versions and diffs; store corrections as separate user sources and revise the same document. Each new save requires approval and preserves the previous export.
Listens and decides when to speak
- Captures the microphone plus one desktop source: all system audio, or a single app.
- Three presets (conversation partner, listening assistant, proactive secretary) and your own global instructions decide whether it answers, explains, reminds or stays quiet.
Remembers across sessions
- Transcripts, explicit/structured memories and three levels of summaries all keep their sources. Search is keyword-based, with optional semantic search.
- Correcting or deleting a transcript also invalidates the summaries, memories and answers derived from it.
Writes minutes with sources (v0.3)
- Import
.mdnotes, then turn a meeting and those notes into minutes, editable todos and a document draft. - Every item cites its sources as
[S1]-style markers; items it cannot source are labeled.
- Import
Research documents (v0.7)
- Plan, organize and review within selected sources, separating supported findings from conflicts and unresolved items.
- Every save is bound to the document version and content and requires a click. Subagents cannot browse the network, execute commands or write memories.
Asks before acting (v0.3)
- Writing, opening and deleting need a click in the console by default. Writes and deletes can be undone, and the command tool is off by default.
- Overheard audio and imported notes can never start an action.
Cloud or local models
- Speech recognition, the language model and speech synthesis are configured separately. You can mix OpenRouter, OpenAI-compatible APIs, Ollama and local engines.
Auditable
- Every interaction has a trace ID with the sources actually used, Skill versions, stage timings and the usage reported by each service.
- Request snapshots keep metadata only unless you opt in.
Shared frameworks (v0.4)
- LangChain connects cloud models and Ollama; LangGraph runs task graphs and approvals. MCP HTTP tools require explicit discovery and a click for each call.
- The local inspector shows task nodes, message metadata, context estimates and memory changes, with links to request evidence.
Desktop pet
- A chibi owl shows its status, simplified task progress and pending approvals. You can pat it.
Screenshots
![]() Tasks and outputs: each step of a minutes task shows its status and timing. Operations with side effects wait here for approval. |
![]() Minutes with sources: each marker in the text links to a source excerpt you can check. |
![]() Tools and permissions: deny beats ask, ask beats allow. Delete and command tools can never be always-allowed. |
![]() Long-term memory: explicit memories and transcripts persist across sessions and can be corrected or deleted. |
Local runtime inspector
Synthetic data only. Request bodies require prior opt-in and a separate inspection action.

The pet shows short prompts; details stay in the console.
Quick start
Download the Windows folder build
Download the Windows x64 ZIP and SHA256SUMS.txt from the v0.9.0-alpha.1 prerelease. In your download directory, compare the ZIP's SHA256 with the checksum file:
Get-FileHash -LiteralPath '.\GreatSage-0.9.0-alpha.1-win-x64.zip' -Algorithm SHA256
Get-Content -LiteralPath '.\SHA256SUMS.txt'
Extract the entire ZIP into a new folder and run GreatSage.exe, keeping all accompanying files. Python and Node.js are bundled; configure your own model services and credentials. The build is unsigned and has not passed clean-machine install, upgrade or uninstall acceptance. Existing users should quit the old app and back up their data before using the new folder; keep the existing data directory.
The same release includes experimental GreatSage-0.9.0-alpha.1-win-x64-Setup.exe. Verify its checksum too. It installs for the current user and is configured to preserve data on uninstall. Quit the previous app from the tray and back up the complete data directory before installing or upgrading. Manual installation and upgrade checks remain open. The ZIP is preferred for initial trials.
Run from source
You need Windows, Python 3.11 and Node.js/npm. This API-first setup does not download large speech models:
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[dev]"
npm.cmd ci
npm.cmd start
For local speech recognition or Windows system voices, add the optional dependencies:
.\.venv\Scripts\python.exe -m pip install -e ".[local]"
After it starts:
- In Settings, choose the speech recognition, language model and speech synthesis services, save them and test each connection.
- Go back to the conversation page, pick your audio sources and start listening.
Listening, spoken replies and recording are all off on first launch.
- API keys: read from environment variables, or entered in Settings and encrypted with Windows DPAPI. Keys are never shown again.
.env.exampleonly documents variable names;.envis not loaded automatically. - Local models: local recognition models must be prepared explicitly in Settings. Starting to listen only loads models already in the cache.
Build a local folder package
.\.venv\Scripts\python.exe -m pip install -e ".[build,local]"
npm.cmd run package
The default produces release/win-unpacked/GreatSage.exe; keep every file in that folder. To create a ZIP with electron-builder, run .\scripts\build.ps1 -Target zip; the archive is written to release/ and remains a folder build, not an installer. Set GREATSAGE_DATA_DIR to use a separate data directory.
If local policy prevents PowerShell scripts from running, invoke the installed build tools directly:
.\.venv\Scripts\python.exe -m PyInstaller --noconfirm greatsage-backend.spec
.\node_modules\.bin\electron-builder.cmd --win zip
How it works
flowchart LR
Mic[Microphone] --> ASR[VAD and speech recognition]
Desktop[System or app audio] --> ASR
ASR --> Runtime[Response policy<br/>presets and instructions]
Text[Typed input] --> Runtime
Docs[Markdown notes] --> Memory[(Memory and materials<br/>SQLite)]
Runtime <--> Memory
Runtime --> LLM[LangChain adapters<br/>cloud or local]
LLM --> Output[Text, speech and pet]
Runtime --> Tasks[LangGraph tasks<br/>minutes, todos, documents]
Tasks --> Research[Deep Agents<br/>two fixed read-only research roles]
Research --> LLM
Tasks --> Policy{Permission layer}
Policy -->|after you approve| Tools[Local tools and MCP HTTP]
Runtime -.-> Audit[Events, audit and inspector]
Electron runs the windows, pet and tray. The Python backend listens only on 127.0.0.1 and handles audio, models, memory, tasks and events. Desktop audio is stored as overheard content; only your typed text, microphone requests and console actions can start a tool call.
Data and privacy
| Data | Default |
|---|---|
| Transcripts, chats, summaries, explicit memories | Kept until you delete them |
| Imported notes, minutes and documents (v0.3) | Kept until you delete them; citations to deleted or changed sources are invalidated |
| Detailed audit events, request snapshots | 30 days, configurable; snapshots store metadata only by default |
| Raw recordings | Off by default; kept 7 days when enabled |
| API keys | Environment variables or DPAPI-encrypted for the current Windows user |
When you run from source, runtime data lives in .runtime/ and never enters version control. Cloud services receive the audio, context or text they process; deleting data locally does not recall what a service already received.
Known limitations
- Speech recognition: the original API/local path uses segment snapshots; optional Deepgram native streaming is implemented but its live quality remains unverified. These three runs are the historical v0.2 API voice baseline, not v0.7 measurements:
- Median time to first text was about 3.14 s, and to audio ready about 4.90 s.
- The targets of 1–2 s to first text and 2–3 s to playback are not met yet.
- Echo: echo handling combines process exclusion, playback references and text de-duplication. It is not full acoustic echo cancellation; headphones help.
- Model output: listening decisions, conflict suggestions, summaries and minutes can be wrong. Original transcripts are always kept, so check names, numbers and dates.
- v0.3 validation: minutes were evaluated on fictional meetings only. Opening files and running commands have unit tests only. Voice-approval misrecognition has not been measured.
- Framework validation: historical model, MCP server and build coverage is recorded in v0.4 validation; it does not establish compatibility with every model or server. stdio and OAuth remain unimplemented. See v0.6 validation for structured memory coverage.
- v0.7 research: only two fixed read-only roles run in sequence; there is no general concurrent/recursive autonomy or web search. Exact quotes do not prove factual correctness. GPT-4.1 completed one synthetic sample; mini still showed schema/quotation failures, and Ollama research was not tested this round. Recovery reruns an unfinished research stage, not an individual child checkpoint.
- Distribution: Windows x64 folder ZIP and experimental NSIS installer, without trusted signing. Clean-machine installation, upgrades, uninstallation and cross-machine compatibility remain unverified. Prefer the ZIP for initial trials; packaged component checks do not validate the installation cycle.
Measurements and samples are in v0.2 validation, v0.3 validation and v0.4 validation (Chinese).
Roadmap
| Stage | Status | Scope |
|---|---|---|
| v0.1 alpha | Released | Voice secretary basics: presets, cloud/local models, memory, logs and the pet |
| v0.2 alpha | Released | Response-quality evaluation, hybrid search, layered summaries, request audits and background recovery |
| v0.3 | Included in v0.4 alpha | Materials, cited minutes/todos/documents, controlled tools and task recovery; real-world validation remains pending |
| v0.4 alpha | Released from main | LangChain, LangGraph, MCP HTTP, local inspection and a Windows x64 folder ZIP |
| v0.5 alpha | Features delivered from main; live acceptance pending | Pipecat, consecutive turns, source recovery, transcript status, ZIP and experimental NSIS |
| v0.6 alpha | Features delivered from main | LangMem extraction, confirmation policies, entities, evidence and deletion protection |
| v0.7 alpha | Features delivered from main | Two fixed read-only subagents: organize sources, review evidence, produce documents and save with a separate click; source, budget and recovery boundaries retained |
| v0.8 alpha | Features delivered from main | Conversation continuation, scoped selection, evidence review, document revisions and fresh save approval |
| v0.9 alpha | Cross-day work | Time-scoped handoff briefs, citations, editable voice corrections, parent-version diffs and separate file approval |
Contributing
Issues and pull requests are welcome. Please read CONTRIBUTING.md first:
Developer references (Chinese): working method, feature-to-code map and call graphs, lessons learned, and development log.
- Tests use fictional data only.
- Never commit runtime data, recordings, transcripts or credentials.
- Behavior changes come with updated docs and recorded test results.
Report security issues privately as described in SECURITY.md.
License and name
GreatSage is released under the MIT License. The name pays tribute to the "Great Sage" skill in That Time I Got Reincarnated as a Slime. The interface and the owl mascot are original designs.
Explore related projects
Loading…



