{"id":48852152,"url":"https://github.com/supervertaler/supervertaler-assistant","last_synced_at":"2026-04-15T10:03:33.025Z","repository":{"id":350273184,"uuid":"1205234562","full_name":"Supervertaler/supervertaler-assistant","owner":"Supervertaler","description":"Supervertaler Assistant \\u2013 cross-platform AI assistant for professional translators (standalone)","archived":false,"fork":false,"pushed_at":"2026-04-09T16:39:55.000Z","size":155,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-09T17:31:30.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Supervertaler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-08T19:10:36.000Z","updated_at":"2026-04-09T16:40:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Supervertaler/supervertaler-assistant","commit_stats":null,"previous_names":["supervertaler/supervertaler-assistant"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Supervertaler/supervertaler-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supervertaler%2Fsupervertaler-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supervertaler%2Fsupervertaler-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supervertaler%2Fsupervertaler-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supervertaler%2Fsupervertaler-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Supervertaler","download_url":"https://codeload.github.com/Supervertaler/supervertaler-assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Supervertaler%2Fsupervertaler-assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31835821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-15T10:03:28.780Z","updated_at":"2026-04-15T10:03:33.017Z","avatar_url":"https://github.com/Supervertaler.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supervertaler Assistant\n\nA cross-platform AI assistant for professional translators.\n\nThe Supervertaler Assistant is a desktop app (Python + PyQt6) that sits beside whatever CAT tool you use and helps you with the thinking side of translation work: looking up client preferences, terminology decisions, domain knowledge and style rules, and keeping that knowledge organised as your practice grows.\n\nIts long-term memory lives in a **memory bank** – a plain-text, Obsidian-compatible folder of Markdown articles with `[[backlinks]]`. No vector database, no RAG. The Assistant reads the memory bank fresh on every turn and reasons over it with any LLM of your choice.\n\n\u003e The memory-bank approach is inspired by Andrej Karpathy's [LLM Knowledge Base](https://venturebeat.com/data/karpathy-shares-llm-knowledge-base-architecture-that-bypasses-rag-with-an) architecture – structured Markdown + an LLM reasoning over it, instead of embeddings and retrieval.\n\n## What the Assistant does today\n\n- **Chat** – ask the Assistant anything about your clients, terminology, domains or style. Every answer cites the specific memory-bank articles it drew from, via `[[backlink]]`s you can click open in Obsidian.\n- **Process Inbox** – drop raw material (client briefs, glossaries, feedback emails, reference PDFs) into `00_INBOX/` and the Assistant compiles it into structured, interlinked articles in the right folders.\n- **Health Check** – scan the memory bank for conflicting terminology, broken links, stale content and duplicates; auto-fix what can be fixed, flag the rest in a dated report.\n- **Distill** – extract knowledge from TMX, DOCX, PDF and TBX files into inbox-ready Markdown articles, so you can seed a memory bank from existing assets.\n\nMemory-bank maintenance is the Assistant's first feature. More translator-facing features are planned – file them under the same roof, under the same chat.\n\n## Who this is for\n\nFreelance and in-house translators who want a single place to keep track of how they work for each client, and an assistant that actually uses that knowledge. Runs on Windows, macOS and Linux via Python + PyQt6.\n\nIt plays nicely with the rest of the Supervertaler family and with anything else you use:\n\n- [Supervertaler for Trados](https://github.com/Supervertaler/Supervertaler-for-Trados) – Trados Studio plugin that reads the **same** memory-bank format, so one memory bank serves both the standalone Assistant and your Trados projects.\n- [Supervertaler](https://github.com/michaelbeijer/Supervertaler) – the cross-platform desktop translation workbench.\n- Any other CAT tool or editor – the Assistant is host-agnostic; it just needs a folder to read and write.\n\n## Install\n\n```bash\ngit clone https://github.com/Supervertaler/supervertaler-assistant.git\ncd supervertaler-assistant\npython -m venv .venv\n# Windows:        .venv\\Scripts\\activate\n# macOS / Linux:  source .venv/bin/activate\npip install -e .\n```\n\nFor Distill support (TMX / DOCX / PDF / TBX extraction), also install the optional extras:\n\n```bash\npip install -e \".[distill]\"\n```\n\n## Run\n\n```bash\nsupervertaler-assistant\n```\n\nOr directly:\n\n```bash\npython -m supervertaler_assistant.ui.main_window\n```\n\nOn first launch, open **Edit → Settings** and configure:\n\n- **Memory bank folder** – point at any memory bank, or create a new one from the bundled [`skeleton/`](skeleton/) in this repo.\n- **Model** – any LiteLLM-supported model (Anthropic, OpenAI, Google, Mistral, Groq, Ollama, Azure, Bedrock, and ~90 others).\n- **API key** – can be left blank if the provider's env var is already set (`ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, etc.).\n\nThe Assistant will try to auto-load a memory bank at `~/Supervertaler/memory-bank/` on startup if one exists there.\n\n## The memory-bank format\n\nThe Assistant operates on an Obsidian-compatible memory bank with this structure:\n\n```\nmy-memory-bank/\n├── 00_INBOX/          Raw material drop zone\n├── 01_CLIENTS/        Client profiles\n├── 02_TERMINOLOGY/    Term articles with reasoning\n├── 03_DOMAINS/        Domain knowledge\n├── 04_STYLE/          Style guides\n├── 05_INDICES/        Auto-generated indexes\n└── 06_TEMPLATES/      Agent prompt templates\n```\n\nEvery article is a Markdown file with YAML frontmatter and `[[backlinks]]`. The format is documented in full in [SPEC.md](SPEC.md) – the **Supervertaler Memory Bank Format Specification** – and is shared byte-for-byte with [Supervertaler for Trados](https://github.com/Supervertaler/Supervertaler-for-Trados). A memory bank created by either host is openable by the other.\n\nA ready-to-use starting skeleton (with `.obsidian/` defaults, example articles and all prompt templates) lives in [`skeleton/`](skeleton/). Copy it to `~/Supervertaler/memory-bank/` to get started.\n\n## Architecture\n\n```\nsupervertaler_assistant/\n├── memory_bank.py         Memory-bank reader (frontmatter, scoring, context building)\n├── llm.py                 LiteLLM wrapper – one interface for ~100 providers\n├── settings.py            Cross-platform persisted settings (platformdirs)\n├── agents/\n│   ├── query.py           Chat backend – reads the memory bank fresh each turn\n│   ├── compile.py         Process Inbox\n│   ├── lint.py            Health Check\n│   ├── distill.py         TMX / DOCX / PDF / TBX extraction\n│   └── _output.py         Shared `### FILE:` parser + safe memory-bank writes\n├── ui/\n│   ├── main_window.py     PyQt6 shell – toolbar, chat, menus\n│   └── settings_dialog.py\n└── templates/             Bundled copies of compile / lint / query / translate / distill prompts\n```\n\n## Design principles\n\n- **No vector DB, no embeddings.** At translation-project scale (hundreds of articles, not millions), structured Markdown + LLM reasoning outperforms RAG – and stays auditable.\n- **Human-readable and auditable.** Every answer traces to specific `.md` files you can open, read and edit by hand.\n- **Self-healing.** Health Check catches inconsistencies, broken links and stale content automatically, in plain English, with file-level fixes.\n- **Portable.** It's just Markdown. If any tool in this ecosystem disappears, your knowledge stays – openable in Obsidian, VS Code, or any text editor.\n- **Bring your own LLM.** Including local models via Ollama or LM Studio – your memory bank never has to leave your machine.\n- **One memory bank, many hosts.** The same folder works with the standalone Assistant and with Supervertaler for Trados. Pick whichever host fits the job.\n\n## Licence\n\nMIT – see [LICENSE](LICENSE).\n\n## Part of the Supervertaler ecosystem\n\n- [Supervertaler](https://github.com/michaelbeijer/Supervertaler) – desktop PyQt6 translation workbench\n- [Supervertaler for Trados](https://github.com/Supervertaler/Supervertaler-for-Trados) – Trados Studio plugin (paid, source-available)\n- [supervertaler-assistant](https://github.com/Supervertaler/supervertaler-assistant) – this repo: the standalone Assistant, the memory-bank format spec, and the starting skeleton\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupervertaler%2Fsupervertaler-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupervertaler%2Fsupervertaler-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupervertaler%2Fsupervertaler-assistant/lists"}