wisemann
Health Uyari
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
A free, open-source assistant that answers questions from your own documents, with every answer cited, and nothing leaving your machine or your company network.
Ask your documents. Get cited answers. Nothing leaves your computer.
A free, open-source assistant for people who work with piles of confidential files.
Apache-2.0 · macOS 14+ on Apple Silicon · Rust, Tauri 2, Leptos · part of the CraftMann family
Status: 0.1.0, the first public release. Everything in "What 0.1.0 does" below works. It is a first release: answer quality is good but not yet at our targets (see Quality), and the app is large (about 300 MB, plus the models you download).
Install
You need a Mac with Apple Silicon and macOS 14 or later.
- Download
WiseMann-0.1.0-arm64.dmgfrom the Releases page. - Optional: check it.
shasum -a 256 WiseMann-0.1.0-arm64.dmgmust match the.sha256file next to it. The app is signed with a Developer ID and notarized by Apple, so macOS can verify it (it may still ask once to confirm it was downloaded from the internet). - Open the DMG and drag WiseMann to Applications.
- Start it. The first screen helps you pick an AI model that fits your Mac and downloads it (about 5 GB for the recommended one, plus about 1.2 GB for the search and reranking helpers). That is the only time WiseMann goes online; after that it works offline.
- Add a folder, wait for it to be read, and ask.
Your data stays in ~/Library/Application Support/app.craftmann.wisemann. To remove WiseMann, delete the app and that folder (Settings has a "Delete all indexes and history" button too). Your own documents are only read, never changed or moved.
Or install with Homebrew: brew install --cask craft-mann/tap/wisemann; update with brew upgrade --cask wisemann.
There is no auto-update: download new versions from the Releases page (or upgrade through Homebrew).
What it is
WiseMann reads the folders you choose and answers questions in plain words. Every claim links to the exact passage it came from, or WiseMann says "Not found in your documents". It runs on your Mac, works offline after one model download, and has no account and no telemetry.
It is made for back-office people (finance, HR, legal assistants, operations, admin) who hold documents they can't paste into a cloud assistant. Local model runners such as LM Studio and Ollama run models well but have no persistent knowledge base, no folder watching and nothing a non-technical person can set up in minutes. WiseMann is that layer, and it can use LM Studio or Ollama as its engine if you already run one.
| Someone asks | Why local matters |
|---|---|
| "Which of our contracts have an uncapped liability clause?" | Client confidentiality |
| "How many days of parental leave do employees get?" | Personal employee data |
| "List invoices over $10k without a matching PO." | Client financial data |
| "What did the board decide about the 2027 budget?" | Unpublished internal records |
Principles
- Friendly first. Warm colours, round shapes, plain words. Anyone should know what to do within five seconds of any screen.
- Cited or silent. Every answer cites its passages, or says it found nothing. Uncited model text is never shown as an answer.
- Local and private. Offline after one model download. One module owns all outbound traffic, with an allow-list.
- No knobs by default. The app picks models for your hardware; technical settings live in AI models and Settings.
- One app. A single signed Rust app. No Python, no Docker.
- AI-native. Everything the app does, the command line and AI agents can do too, through one action layer. Agent access is off until you turn it on.
Screens
Screenshots of the app with sample data, built from the design system. English and Vietnamese, light and dark.
![]() Welcome. Plain promise, one button, language switch. |
![]() Choose a model. WiseMann checks your Mac and recommends one. |
![]() Compare. Cited passages side by side, amendments struck through. |
![]() Dark theme. Follows macOS, or set it yourself. |
![]() Quick ask. ⌥ Space from any app. |
![]() Agents & CLI. Off by default; you approve each app and each kind of action. |
What 0.1.0 does
| Area | In the MVP |
|---|---|
| Collections | Add folders and files by picker or drag and drop; watched for changes; only changed files are re-read |
| File types | PDF with a text layer, DOCX, XLSX, PPTX, Markdown, TXT, HTML, EML. Scans are flagged "needs OCR", not read |
| Answers | Hybrid search, reranking, streaming, a cited answer or "not found"; follow-up questions; filters by type and date; English and Vietnamese, across languages |
| Citations | Source cards with the cited span highlighted; open the file at the passage; copy or export an answer with its sources as Markdown |
| Compare | Two or three cited passages side by side, with amendments struck through |
| History | Every question and answer saved locally and searchable; warns when a source changed since |
| Models | Built-in engine (llama.cpp on Metal), plus LM Studio and Ollama; download, load, unload, remove; verified by SHA-256 |
| Agents | wisemann CLI and an MCP server, with permission tiers and per-app approval |
| Settings | Light, dark or system theme; English or Tiếng Việt; open at login; menu-bar quick ask |
Not in 0.1.0: Windows, Linux, Intel Macs, cloud connectors, OCR, job templates, a local HTTP API, an encrypted index, auto-update.
How an answer is made
flowchart LR
Q["Question<br/>+ thread, filters"] --> S["Hybrid search<br/>vector + keyword, top 40"]
S --> R["Rerank<br/>keep the best 8"]
R --> G["Generate<br/>streams with [n] markers"]
G --> V["Verify citations<br/>drop unsupported sentences"]
V --> L{"Anything left?"}
L -- yes --> A["Cited answer + sources"]
L -- no --> N["Not found,<br/>with a next step"]
If search finds nothing relevant, the answer model isn't even called. Models: Qwen3 (4B to 32B) for answers, bge-m3 for multilingual search, bge-reranker-v2-m3 for reranking. WiseMann recommends the largest one that fits 80% of your Mac's GPU memory.
AI-native: CLI and MCP from day one
Every action exists three times with identical behaviour: a button in the app, a command in the CLI, and a tool in the MCP server. They are three clients of one action layer (wm-core), so permissions, errors and history are shared.
wisemann status # is WiseMann running, and may other apps use it?
wisemann system info --json # chip, memory, free disk
wisemann settings get # theme, language, shortcuts, …
wisemann settings set theme dark # asks you on screen first
wisemann agent clients # which apps connected, and who you approved
wisemann model catalog # recommended models and whether they fit this Mac
wisemann model download bge-m3-q8_0 # checksum-verified, resumes if interrupted
wisemann collection create Work
wisemann source add Work ~/Documents/contracts # a folder or a file; kept up to date
wisemann ask Work "What is the notice period?" # cited answer, or "Not found in your documents."
wisemann thread list --query notice # search past questions and answers
wisemann agent-reference # Markdown list of every command and MCP tool
wisemann mcp # MCP server on stdio, for Claude Desktop, Cursor, …
Privacy for agents. Agent access is off by default. When on, every action has a tier:
| Tier | Meaning | Examples |
|---|---|---|
| Free | Metadata only | list collections, model status |
| Read content | Returns text from your documents | search, ask, get_passage |
| Confirm | Changes things; asks you on screen each time | add a folder, delete, download a model |
| Blocked | Never available to agents | wipe all data, change agent permissions |
A cloud-hosted agent that reads passages does receive document text. WiseMann says so when you approve an app. The socket and stdio are local only; WiseMann itself opens no outbound connection except model downloads and localhost engines. Details: specs/04-agent-interface.md.
Architecture
flowchart TB
subgraph Clients
UI["Desktop UI<br/>Tauri + Leptos"]
CLI["wisemann (CLI)"]
MCP["wm-mcp (MCP)"]
end
subgraph D["wm-daemon: the one owner of data and models"]
CORE["wm-core: actions, tiers, errors"]
SVC["store, ingest, models, retrieve, answer"]
CORE --> SVC
end
UI -->|in-process| CORE
CLI -->|Unix socket| CORE
MCP -->|Unix socket| CORE
SVC --> DATA[("SQLite + LanceDB<br/>on this Mac")]
SVC --> ENG["llama.cpp (Metal)<br/>LM Studio / Ollama on localhost"]
FILES["Your folders<br/>read-only"] --> SVC
apps/desktop Tauri shell; embeds the daemon
apps/ui Leptos UI (Trunk, WASM)
crates/wm-types shared payloads, error codes, tiers
crates/wm-core action registry
crates/wm-ipc JSON-RPC over a local Unix socket
crates/wm-i18n Fluent strings (en, vi)
crates/wm-daemon owns data and models
crates/wm-cli the `wisemann` command
crates/wm-mcp the MCP server
crates/wm-store, wm-ingest, wm-models, wm-engine-llama, wm-engine-http,
wm-retrieve, wm-answer, wm-eval placeholders until M1 to M4
design/ tokens, CSS, icons, fonts, Fluent strings, logos
specs/ product vision, MVP spec, agent interface, screens
packaging/macos/ bundle, entitlements (none), local release script
The app is a regular Developer ID app (Hardened Runtime, notarized), not sandboxed, so it can read the folders you add wherever they are. Documents are only read, never written or moved. The webview loads bundled assets only; there are no CDN fonts or remote images.
Build and run
You need macOS 14+ on Apple Silicon and:
rustup target add wasm32-unknown-unknown
cargo install --locked trunk cargo-nextest cargo-deny cargo-audit
cargo install --locked tauri-cli --version "^2.12"
make check # fmt, clippy -D warnings, nextest
make deny # licences, advisories, no analytics crates
WM_PROFILE=debug packaging/macos/bundle.sh # target/bundle/WiseMann.app, ad-hoc signed, Hardened Runtime
Try the CLI against a throwaway profile. Agent access is off and new apps wait for your approval; a debug build started with WISEMANN_DEV_AUTO_APPROVE=1 skips both prompts so you can try it without the UI:
export WISEMANN_DATA_DIR=$(mktemp -d) WISEMANN_DEV_AUTO_APPROVE=1
cargo run -p wm-daemon &
echo '{"agent_access": true}' > "$WISEMANN_DATA_DIR/settings.json"
cargo run -p wm-cli -- status
To ask real questions, download the two models and index the sample files (about 3 GB; needs network access once):
wisemann model download bge-m3-q8_0 && wisemann model download qwen3-4b-q4_k_m
wisemann collection create Demo && wisemann source add Demo fixtures/docs
wisemann ask Demo "How many days of annual leave do employees get?"
Measure quality with the evaluation harness (public SQuAD 2.0 data, real models): eval/fetch.sh && cargo run --release -p wm-eval -- --articles 5. See docs/development/m4-notes.md.
WISEMANN_SOCKET overrides the socket path. The app binds its socket under its data folder (~/Library/Application Support/app.craftmann.wisemann/run/wm.sock), and the CLI and MCP find it there.
Releases are signed and notarized locally by the maintainer with make release (see RELEASE.md). CI never holds Apple secrets.
Roadmap
| Milestone | State | |
|---|---|---|
| M0 | Skeleton: workspace, action layer, CLI, MCP, app shell, CI | done |
| M1 | Store and types: SQLite, settings, agent switch and approvals, Fluent, theme and language | done |
| M2 | Ingestion: parsers, chunker, folder watching, resume after restart | done |
| M3 | Models: hardware check, catalog, download, llama.cpp engine, LM Studio and Ollama | done |
| M4 | Retrieval and answers: hybrid search, rerank, citations, evaluation set | done; quality below target (see docs/development/m4-notes.md) |
| M5 | Every screen and state from the design | done |
| M6 | Hardening: performance, crash safety, network test, VoiceOver | done except a few measurements (see RELEASE.md) |
| M7 | Signed, notarized v0.1.0 | built; see RELEASE.md |
Quality targets are public and measured every release: at least 95% of citations support their sentence, and at least 90% of unanswerable questions return "not found". Details in the MVP spec.
Documentation
specs/01-product-vision.md: why WiseMann exists and who it's forspecs/02-mvp-functional-technical-spec.md: requirements, architecture, data model, build plan (source of truth)specs/03-screen-inventory.md: every screen, route and statespecs/04-agent-interface.md: CLI, MCP, permission tiersdesign/DESIGN.md: brand book and UI contractdocs/development/spikes.md: feasibility spikes and resultsCLAUDE.md: repo map and rules for AI coding tools
Quality
Every answer is checked sentence by sentence against the passages it cites, and dropped if unsupported. We measure how well that works on public data (eval/, SQuAD 2.0, Qwen3 8B with the reranker). Targets and where we are at 0.1.0:
| Target | 0.1.0 | |
|---|---|---|
| Citations that support their sentence | 95% | 89.7% (29 citations, one run: indicative) |
| Questions about topics not in the documents answered "not found" | 90% | 30 of 30 |
| Questions with a false premise answered "not found" | 90% | 40% |
The misses are mostly answers built on a false premise in the question. Details and method in docs/development/m4-notes.md. Performance numbers are in RELEASE.md. Please report wrong or badly cited answers with the "wrong answer" issue template.
Contributing
Issues, ideas and pull requests are welcome. Read CONTRIBUTING.md and CLAUDE.md first: every user-facing change needs its CLI command and MCP tool, strings in both English and Vietnamese, and tokens instead of hard-coded colours. Please follow the code of conduct. Security problems: SECURITY.md, privately.
Licence
Apache-2.0 (LICENSE) for the code and tokens. Third-party work (llama.cpp, the Rust crates, the fonts, and the models you download) is listed in NOTICE and THIRD_PARTY_LICENSES.md; both ship inside the app too. Fonts (Nunito, Nunito Sans, JetBrains Mono) are SIL OFL 1.1. Each AI model keeps its publisher's licence. The owl mark and the WiseMann name are the project's identity; please keep them unmodified.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi





