Repository navigation
Пупра́стик v0.1.0
██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗███████╗████████╗███████╗███████╗██╗ ██╗
██╔══██╗██╔═══██╗██╔═══██╗██╔══██╗██╔══██╗██║ ██║██╔════╝╚══██╔══╝██╔════╝██╔════╝██║ ██╔╝
██████╔╝██║ ██║██║ ██║██████╔╝██████╔╝██║ ██║███████╗ ██║ █████╗ █████╗ █████╔╝
██╔═══╝ ██║ ██║██║ ██║██╔═══╝ ██╔══██╗██║ ██║╚════██║ ██║ ██╔══╝ ██╔══╝ ██╔═██╗
██║ ╚██████╔╝╚██████╔╝██║ ██║ ██║╚██████╔╝███████║ ██║ ███████╗███████╗██║ ██╗
╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝
Пупра́стик · v0.1.0 — the first stable release 🎉
A fast, beautiful TUI coding agent in Rust, powered by DeepSeek
A free, terminal-native alternative to Claude Code — parallel chats, sub-agents, an iterative GOAL loop, MCP with OAuth, multiple LLM providers, and a fully local RAG layer over skills, tools, and your own conversation history.
⚡ Grab it and go — no Rust required
Download pooprusteek-win64.zip below, unzip anywhere, and run pooprusteek.exe. That's it.
- Self-contained Windows x64 build — the ONNX runtime is compiled in, and the Visual C++ runtime DLLs ship inside the archive. Nothing to install.
- First launch has a short onboarding for your DeepSeek token, then quietly pulls the ~120 MB embedding model once in the background. Every launch after that runs fully offline.
Prefer to build from source?
cargo install --path .(Rust edition 2024, MSRV 1.91).
✨ What's inside
🗂️ Parallel conversations, no lost streams
Every chat is an isolated conversation with its own forked session — turns never collide. /new + /chats open and cycle sessions (Tab / Shift+Tab); /btw <question> fires a background side-question without disturbing your main turn. Background chats keep streaming while you work elsewhere.
🧠 Local RAG — the agent finds its own skills, tools, and memories
A fully offline semantic layer: multilingual e5-small embeddings (quantized ONNX) + Snowball-stemmed TF-IDF, fused with Reciprocal Rank Fusion. Cross-language out of the box — a Russian prompt matches English descriptions and back. Three corpora, one engine:
- Skills — every prompt is matched against the whole catalog; top hits ride along as an ephemeral hint. The model discovers capabilities instead of you enabling them by hand.
- MCP tools — same matching, plus deferred schemas: with many tools connected the prompt carries only a server-level summary (
playwright (25 tools)), saving thousands of tokens per request. Full definitions arrive exactly when needed, or on demand viatool_search. - Conversation history — every saved session is chunked, embedded, and persisted incrementally. Search it yourself with
/search, or let the agent recall past solutions viahistory_search.
Retrieval quality is guarded by an MRR eval harness — skills 0.927, MCP tools 0.836.
🔀 Providers — from the DeepSeek free tier to anything
The built-in DeepSeek web client is the default; /providers manages any number of extra endpoints across three wire protocols — OpenAI Chat Completions (LM Studio, Ollama, vLLM, OpenRouter…), Anthropic Messages, and Google Gemini. Add via wizard or one-liner, switch instantly, pick models with /models (validated against the live list).
🤖 Sub-agents & 🎯 GOAL mode
Spin off isolated agents for sub-tasks — the model via the task tool, or you via /agent <task>; foreground for clean context, or background:true to detach. /goal arms a worker + evaluator loop that iterates until the goal is actually met, auto-swapping sessions to escape dead ends.
🛠️ Real tooling
Shell (bash / powershell) with foreground, background, and interactive PTY processes. /jobs · /ps manage background jobs that survive turns. edit / write file tools with anchored diffs. Tool approval with a /whitelist for trusted tools.
🔌 MCP & 🧩 Skills
Model Context Protocol over stdio / HTTP / SSE, auto-discovered from 8 config sources (Claude Desktop, VS Code, Cursor, Opencode…). Full OAuth (RFC 9728/8414/7591 + PKCE) with tokens stored encrypted in the OS keyring. Skills are reusable markdown instruction sets discovered from a dozen agent-ecosystem directories — pinned manually or suggested automatically by the semantic matcher.
💅 Polished terminal UX
Markdown + syntax highlighting, token-by-token streaming with a live thinking indicator, multi-line input with history, @file mentions, session save/load, Markdown export/import, a dedicated search screen, and a Catppuccin Mocha theme — all on an event-driven loop with no render races.
📥 Assets
| File | What it is |
|---|---|
pooprusteek-win64.zip |
Ready-to-run Windows x64 build (exe + bundled runtime DLLs). Unzip → run. |
| Source code | The tagged v0.1.0 tree. |
⌨️ First steps
pooprusteek # launch the TUI
/help # every command, grouped
/providers # pick or add an LLM endpoint
/rag # semantic-layer status
Uses the reverse-engineered DeepSeek web API (chat.deepseek.com), not the official API-key product — it needs a session token and solves the SHA-3 proof-of-work locally. Unofficial; may break if the upstream API changes.
Made with Rust 🦀 · MIT licensed · runs entirely in your terminal