Skip to content

Releases

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 20:34
bd632d3

Added

  • Named subagents defined in markdown, in the same format as Claude Code and Antigravity CLI
    (agy): a file under .agents/agents/, .claude/agents/, ~/.quark/agents/,
    ~/.claude/agents/ or ~/.gemini/config/agents/ (<name>.md or <name>/agent.md) with
    name, description and optional tools, disallowedTools, model and maxTurns in its
    frontmatter, and its instructions as the body. With --subagents-mode ask/auto,
    spawn_agent lists them and takes an agent argument to run one: its own instructions, its
    tools (Claude Code's, agy's or Quark's tool names) and its model (inherit, sonnet/opus/
    haiku/fable on Anthropic, flash/pro on Gemini, or a full model id).

  • --shell-sandbox now works on macOS too, using the built-in Seatbelt sandbox (sandbox-exec):
    run_shell commands can read everything but write only inside the workspace, the temp
    directories and /dev. Linux keeps using bubblewrap.

  • --shell-network off (also QUARK_SHELL_NETWORK=off, or shell_network in
    ~/.quark/config.json) cuts the network for run_shell: bwrap --unshare-net on Linux,
    (deny network*) on macOS. It implies --shell-sandbox, and where no sandbox can enforce it
    commands are refused instead of run with the network. Default on.

  • File checkpoints. Quark snapshots the workspace before the agent runs any tool that can
    change files, and /rewind now puts back the files the dropped messages changed (created
    files are removed, deleted ones come back; files you edited by hand since are left alone).
    New /undo undoes the last turn, messages and file changes. --keep-files on either rewinds
    only the conversation. Works in quark tui, quark chat, quark sessions rewind, the
    desktop app (including editing an earlier message) and Telegram. Snapshots are kept in a
    private git repository under ~/.quark/checkpoints/, inside or outside a git project,
    without touching the project's own repository. New quark checkpoints list|restore <id>;
    every restore can itself be undone. Off with --no-checkpoints, QUARK_CHECKPOINTS=0 or
    "checkpoints": false.

  • quark acp: Quark as an Agent Client Protocol agent, so
    it runs inside Zed, JetBrains IDEs, Neovim (CodeCompanion, avante.nvim) and any other ACP
    editor. Each editor thread is a Quark session for the opened folder (listable, reloadable
    with its history, and shared with quark tui); replies, reasoning and tool calls stream in,
    file edits come with diffs, approvals (run_shell, MCP, subagents, plugins) become the
    editor's permission prompts with "always allow in this session", writes go through the
    editor's buffers when it offers that, and Build/Plan modes, the model, /compact, /init
    and custom commands are available from the editor. MCP servers the editor passes are started
    for the session. Setup for each editor is in docs/editors.md.

  • web_fetch tool: downloads a web page and returns its readable content as Markdown (HTML
    converted with the standard library, JSON pretty-printed, text as-is), up to 2 MB downloaded
    and 40,000 characters per call with an offset to continue. Hosts on loopback, private or
    link-local addresses are refused unless QUARK_WEB_FETCH_ALLOW_PRIVATE=1. On by default next
    to web_search, and part of the web topic with --progressive-tools.

  • OAuth for remote MCP servers, following the MCP authorization spec (2026-07-28):
    quark mcp login <name> discovers the authorization server (RFC 9728 Protected Resource
    Metadata, RFC 8414 / OpenID discovery), registers Quark (pre-registered client, Client ID
    Metadata Document, or Dynamic Client Registration), and signs in through the browser with
    PKCE (S256), the RFC 8707 resource parameter and RFC 9207 iss checks. Tokens are kept in
    ~/.quark/mcp-auth.json (mode 600), sent on every request and refreshed automatically; a
    403 insufficient_scope is remembered so the next login asks for the extra scopes.
    --port, --no-browser and --paste cover remote machines. quark mcp logout <name>
    forgets the tokens.

  • quark mcp add <name> --url <url> adds a remote (HTTP) MCP server that isn't in the catalog.

  • Quark's OAuth Client ID Metadata Document, served at
    https://rmoya81.github.io/Quark/oauth/client-metadata.json (docs/oauth/).

  • bench/: a reproducible Quark vs pi benchmark with four
    coding tasks, hidden tests and a runner (bench/run.py) that records pass/fail, requests,
    tool calls and tokens for each agent.

  • packaging/: a Homebrew formula and cask (for the rmoya81/quark tap) and winget manifests
    for rmoya81.Quark (quark.exe) and rmoya81.Quark.Desktop (the desktop app installer).

  • README: code signing policy.

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 05 Dec 10:06
2d4b105

Fixed

  • OpenAI-compatible providers: an empty assistant message without tool calls (left in a saved
    session by a failed turn) was sent as "content": null, which Ollama rejects with a 400
    ("invalid message content type: ") on every later request in that session. It's now
    sent as an empty string.
  • quark telegram: when Quark can't start (no API key, bad configuration) the bot now says so
    in the chat instead of staying silent, and failed replies are also written to the service log.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 09:51
b482ea0

Added

  • Quark desktop app for Windows, macOS and Linux (Tauri + Svelte, in desktop/). It runs
    Quark's own core through quark serve, one process per window: streaming chat, tool cards,
    inline approvals, the session tree, a model picker, a command palette, @files, /commands,
    pasted images and a first-run setup screen. The Python core is bundled inside, so nothing
    else needs installing. Every GitHub Release now carries the installers, built and
    launch-checked on each OS: Quark-<version>-windows-x64-setup.exe and .msi,
    Quark-<version>-macos-arm64.dmg and macos-x64.dmg, and Quark-<version>-linux-x86_64
    .AppImage, .deb and .rpm, each with a .sha256. The installers aren't code-signed
    yet, so Windows SmartScreen and macOS Gatekeeper will warn on first launch.
  • quark serve: the agent over line-delimited JSON on stdin/stdout, for front ends. It builds
    the same agent as quark tui (providers, tools, session tree, side agents, plugins, MCP) and
    exposes it as requests and events: streaming turns with tool calls, approvals answered by
    the client, queued messages, cancel, modes, models, fork/clone/rewind/edit-from, compact
    and init.
  • quark telegram: talk to Quark from Telegram through your own bot. Replies stream into the
    chat, tool calls show as they run, and approvals (run_shell in ask mode, MCP tools) come
    with ✅/❌ buttons. It's the same core as quark serve and the same session as quark tui.
    quark telegram pair saves the bot token and allows your account with a one-time code; only
    private chats with paired users are served. Commands: /stop, /status, /new, /plan,
    /build, /sh <command> (asks before destructive ones) and your custom slash commands.
    Optional fallback models take over when the main one fails before replying. Long polling
    only: no open port, no new dependency. English and Spanish.

Changed

  • The system prompt now names the model and provider Quark is running on, read on every
    request, so asking "which model are you?" gets a straight answer (and a /model switch
    shows up on the next turn) instead of the agent searching config files.
  • New demo GIFs for Linux, Windows and macOS (README and docs site), each recorded on that OS
    by the new Demo GIFs workflow: a real run_shell call in that OS's shell, a side agent
    writing tests and merging them back, /fork and /tree. scripts/record_demo.py now draws
    each OS's own terminal window around the screen and animates the typing.
  • spawn_agent now merges its changes back automatically outside a git repository too
    (before, only git workspaces did; elsewhere you got a temp copy to merge by hand, which
    is why earlier benchmark rounds lost parallel side agents' work). A second copy of the
    workspace taken at spawn time is the common ancestor, and the merge is the same 3-way
    git merge-file per file, with the same conflict markers and the same handling of files
    that can't be merged. Only if git isn't installed at all is the copy handed back as before.

Fixed

  • spawn_agent: files the side agent created inside a new directory (e.g. a new tests/
    folder) were silently dropped instead of merged back — git status only listed the
    directory. Every created, changed or deleted file is now listed individually.
  • spawn_agent: the side agent started from the last commit, so it couldn't see the main
    agent's (or your) uncommitted work, and could redo or undo it. It now starts from the
    workspace as it is right now — uncommitted, new and deleted files included — and that
    snapshot is the common ancestor for the merge back. The worktree is detached, so no
    quark-agent-* branch is created, and the snapshot commit disappears with it.
  • spawn_agent with a workspace that's a subdirectory of the repository: the side agent
    worked at the repository root (outside --workspace) and its changes were merged back
    to the wrong paths. It now works in the same subdirectory and merges back there.
  • spawn_agent: a file that can't be text-merged (a binary file changed on both sides) was
    overwritten with an empty file. It's now left untouched and reported, and the side agent's
    worktree is kept so its version isn't lost. Conflict markers now say workspace / side agent instead of temporary file paths.
  • edit_file: edits sent as a JSON string (common with local models) is now accepted, and a
    malformed edits list gets a clear error instead of a Python exception message.

v0.7.1

Choose a tag to compare

@rmoya81 rmoya81 released this 04 Dec 22:06
80c5859

Added

  • THIRD-PARTY-LICENSES.txt is now attached to every GitHub Release next to
    quark-windows-x64.exe: the name, version, declared license and full license text of every
    package the standalone executable bundles, plus the Python runtime's own license. The MIT/BSD
    licenses of Quark's dependencies require those notices to accompany binary copies too.
    scripts/third_party_licenses.py generates it from the build environment, and
    scripts/build_exe.py runs it after every build.

Changed

  • The copyright holder in LICENSE is now rmoya81, matching the package's author on PyPI.
  • pyproject.toml no longer repeats the license as a License :: classifier next to
    license = "MIT", as PEP 639 asks.

v0.7.0

Choose a tag to compare

@rmoya81 rmoya81 released this 04 Dec 22:06
991c4b0

Added

  • Native Windows support, tested in CI on Windows and macOS as well as Linux. On Windows,
    run_shell runs commands in Git Bash when Git for Windows is installed (never WSL's
    bash.exe), and otherwise in PowerShell; the tool description tells the model which
    one, so it writes the right syntax. Before, commands went to cmd.exe, which
    understands neither. Command output is now decoded as UTF-8 on every platform.
  • A standalone quark-windows-x64.exe (built with PyInstaller, no Python needed) is
    attached to every GitHub Release, with its SHA-256, and install.ps1 installs it:
    irm https://raw.githubusercontent.com/rmoya81/Quark/main/install.ps1 | iex.
  • quark --version.
  • spawn_agent's file changes are now merged back into the real workspace automatically
    when it finishes, in a git workspace, instead of being left behind in an isolated
    worktree for the user to merge by hand. A head-to-head benchmark against pi with a
    local model found this the hard way: the side agent did its job correctly, but its
    result stayed isolated, so the main agent kept re-reading unchanged files in a loop
    until the loop detector stopped it — 0 bugs actually fixed. The merge is per file with
    git merge-file (a real 3-way merge against the workspace's HEAD at spawn time as the
    common ancestor), not git apply/git merge, since those refuse when the real
    workspace's working tree doesn't already match its own index — exactly the case here,
    since the main agent keeps working while the side agent runs. A file that doesn't
    apply cleanly (including a genuine conflict between two sequential side agents) is
    left with normal conflict markers instead of silently failing or being dropped.
  • edit_file now accepts edits (a list of old_text/new_text pairs) alongside the
    existing single-pair form, applying them to the same file in one call instead of one
    round trip per change — applied in order and atomically (nothing is written if any one
    of them fails to match). Measured against pi head-to-head on the same task: pi's own
    edit already batches several changes per call, which is most of why it finished in
    about half the turns Quark needed for an equivalent multi-location edit.
  • Full session tree: /clone <name> (also quark sessions clone) copies a session's whole
    active branch into a new, independent one, alongside the existing /fork. Every forked or
    cloned session now records where it came from (parent name, fork vs. clone, and the message
    it branched at), and /tree (also quark sessions tree) prints that lineage across the
    workspace's saved sessions as a tree, with the current one marked.
  • /rewind <messages-back> (also quark sessions rewind): drops a session's last N messages
    in place instead of switching to a new one, saving them first as <name>-abandoned (so
    nothing's lost — /tree shows it) and, in quark tui/quark chat, asking the model for a
    one-line summary of what that abandoned attempt was doing.
  • A plugin can now register a provider or an MCP server, not just tools: Plugin.providers()
    returns a {name: factory} map, making name selectable with --provider, where factory
    takes (api_key, model, base_url) the same way get_provider()'s built-ins do — a plugin
    provider manages its own credentials (same pattern as BedrockProvider), so it's never
    asked for a Quark-managed key. Plugin.mcp_servers() returns extra mcpServers-shaped
    entries, started by load_mcp()'s new extra_servers param; the user's own mcp.json
    always wins a name collision. Both run while plugins load, in cli.build_agent(), before
    the provider is built — plugins are now loaded once, early, and passed into
    default_registry(plugins=...) instead of being imported a second time. --provider no
    longer restricts its choices to the built-in names, since a plugin's name isn't known
    until after plugins load.
  • quark plugin install <source>: fetches a plugin instead of writing one from scratch — a
    local *.py file, an http(s) URL to one, or a git repo (#path/to/plugin.py to disambiguate
    one that doesn't have exactly one *.py at its root). Validated with load_plugin() before
    being kept; a source that doesn't define a working PLUGIN is removed again, not left
    half-installed.
  • Two intercepting plugin hooks, for when the observation-only ones below aren't enough:
    Plugin.before_tool_call(name, arguments) can return {"arguments": {...}} to rewrite a
    tool call before it runs, or {"block": True, "reason": "..."} to stop it from running at
    all; Plugin.before_request(messages, tools, system) can override any of those three before
    they're sent to the provider. Both no-ops by default; run_before_tool_call_hooks()/
    run_before_request_hooks() chain multiple plugins (each sees the previous one's override)
    and isolate a broken plugin's exception the same way fire_hook() does.
  • Plugins can now observe a turn as it happens, not just contribute tools or system-prompt
    text: four optional lifecycle hooks on Plugin — on_turn_start(session)/
    on_turn_end(session, result) around each Agent.step() call, and
    on_tool_call(name, arguments)/on_tool_result(name, arguments, output) around each tool
    run inside it. All no-ops by default (existing plugins unaffected); observation only, a hook
    can't change, cancel or replace what's happening. fire_hook(plugins, hook_name, *args, **kwargs) calls a named hook on every plugin, each in its own try/except, matching the
    existing tools_from_plugins()/system_prompt_from_plugins() error-isolation style.
  • Plugins can now add to the agent's system prompt, not just contribute tools:
    Plugin.system_prompt(self, workspace) -> str | None (optional, additive — existing
    plugins with only tools() are unaffected). load_plugins()/tools_from_plugins()
    split out of build_plugin_tools() (still there, as a shorthand) so a caller can get
    at the loaded Plugin instances; default_registry()'s result now exposes them as
    registry.plugins.
  • 3 more providers: --provider huggingface (Hugging Face's Inference Providers router,
    HUGGINGFACE_API_KEY) and --provider moonshot (Moonshot AI's Kimi models,
    MOONSHOT_API_KEY) are both the same OpenAIProvider-with-base_url pattern as the other
    OpenAI-compatible providers; --provider cloudflare (Cloudflare Workers AI, CLOUDFLARE_API_KEY)
    is the same pattern too but, like custom, needs --base-url (its URL encodes your Cloudflare
    account id, so there's no single default endpoint). 19 providers now.
  • --progressive-tools now groups its unlockable tools by topic (files, web, and —
    when enabled — shell, agents, skills, plugins) instead of one flat
    request_more_tools escape hatch for mutating file tools alone. The new request_tools(topic)
    tool's description is the index: one line per topic, naming its tools and when to use them,
    so the model sees what exists without paying for every tool's full schema upfront. A topic's
    tools are also built lazily — a plugin isn't imported, a skill isn't read from disk — until its
    topic is actually unlocked. Real (tiktoken) baseline cost: 529 tokens (system prompt + 4
    tools) vs. 832 for loading everything upfront; unlocking one topic (e.g. files) converges
    back to the same cost as having loaded it directly, never more.
  • AWS Bedrock (--provider bedrock) and Vertex AI (--provider vertex) providers. Both reach
    what those platforms need without actually needing their heavy SDKs (boto3, google-auth):
    Bedrock is called over HTTPS with a from-scratch AWS SigV4 signer (hmac/hashlib only)
    against its Converse API, including the vnd.amazon.eventstream streaming format decoded by
    hand; Vertex reuses AnthropicProvider almost unchanged, since its Anthropic passthrough
    endpoint accepts the same request shape as Anthropic's native API, authenticating with a
    bearer token the user refreshes themselves (gcloud auth application-default print-access-token) instead of pulling in a token-refreshing SDK. 16 providers now.
  • Azure OpenAI (--provider azure, its own AzureOpenAIProvider — different auth header and
    URL shape than plain OpenAI, so not just a base_url swap) and --provider custom (an
    OpenAIProvider alias with no default endpoint, for any other OpenAI-compatible server —
    already possible via --provider openai --base-url, now with a clearer name and no default to
    accidentally fall back to). 14 providers built in now.
  • 7 more providers, all the same OpenAIProvider pointed at that service's own OpenAI-compatible
    endpoint — no new provider code: --provider mistral, groq, xai, deepseek, fireworks,
    together, cerebras (MISTRAL_API_KEY, GROQ_API_KEY, XAI_API_KEY, DEEPSEEK_API_KEY,
    FIREWORKS_API_KEY, TOGETHER_API_KEY, CEREBRAS_API_KEY). 12 providers built in now. Offered
    in quark init's provider picker too.
  • Documentation site redesign: a real landing page (hero, feature cards, a GIF of the actual
    terminal UI) instead of the README dumped as one long page, split into separate
    Getting started / Configuration & tools / Architecture & development pages (still sourced from
    the README via snippets, so there's still one copy to maintain), plus an original logo/favicon,
    a deep-purple palette, and light/dark mode (already built into Material, now themed).
  • scripts/record_demo.py: renders real screenshots and a GIF of quark tui without a live LLM
    provider — drives the actual app with Textual's headless pilot and a scripted fake provider, so
    the UI, agent loop and run_shell call are all genuine, only the model's replies are canned.
    Needs Playwright's Chromium (already used for nothing else in this project) to convert the
    SVG screenshots it captures into PNGs/GIF.

Changed

  • The default system prompt now asks the model to work i...
Read more

v0.6.0

Choose a tag to compare

@rmoya81 rmoya81 released this 04 Dec 22:06
d4fcddc

Added

  • TUI header: a live status readout (context tokens, % of the compaction threshold, and this
    session's estimated cost when the model's price is known), refreshed after every tool call and
    at the end of each reply.
  • quark sessions fork <name> <new-name> (--at N, --force): branches a saved session into a
    new, independent one — optionally from an earlier point in it (--at N keeps only its first N
    messages). Also available mid-conversation as /fork <name> [messages-back] in quark tui/quark chat, which switches to the new branch right away.
  • --provider gemini and --provider openrouter: Google's and OpenRouter's own OpenAI-compatible
    endpoints, the same way --provider ollama already worked — no new provider code, just their
    default base URLs and API key env vars (GEMINI_API_KEY, OPENROUTER_API_KEY). Offered in
    quark init's provider picker too.
  • --shell-sandbox (also QUARK_SHELL_SANDBOX, or shell_sandbox in ~/.quark/config.json):
    confines run_shell to writing only inside the workspace, using bubblewrap (bwrap) on Linux
    — the rest of the filesystem is bound read-only, network is unaffected. Falls back to
    unsandboxed (with a one-time warning) if bwrap isn't installed or the platform isn't Linux.
  • Documentation site (MkDocs Material, pip install -e ".[docs]" + mkdocs serve), rendering
    this README and the changelog as pages with no separate copy to maintain.
    .github/workflows/docs.yml deploys it to the gh-pages branch on every relevant push to
    main; see the README's "Documentation site" section for the one-time GitHub Pages setup.
  • README: a "Coming from pi or Claude Code" section mapping concepts for people arriving from
    either tool.
  • docs/demo.tape + docs/demo.md: a VHS script and
    instructions for recording a short quark tui demo GIF.

v0.5.0

Choose a tag to compare

@rmoya81 rmoya81 released this 04 Dec 22:06
6af0caf

Added

  • .github/workflows/release.yml: a version bump merged to main now tags the release, cuts the
    GitHub Release (with that version's changelog section as its notes) and triggers the existing
    PyPI publish workflow automatically; publishing a release no longer needs a manual step beyond
    the version bump itself.
  • quark plugin init <name> (--user for ~/.quark/plugins/, --force to overwrite): scaffolds
    a starter plugin file instead of starting from a blank one. PLUGINS.md is a plain index for
    community-written plugins to find and copy from.
  • quark mcp list / quark mcp add <name> [path]: a short catalog of the official reference MCP
    servers (filesystem, fetch, git, memory, time, sequential-thinking), so adding one of them to
    ~/.quark/mcp.json is a one-liner instead of hand-written JSON.
  • quark mcp import <path>: merges MCP server entries from another tool's config (Claude
    Desktop/Code's mcpServers, Cursor's .cursor/mcp.json, VS Code's .vscode/mcp.json) into
    ~/.quark/mcp.json, since the per-server shape is already the same one Quark understands.
  • README: documented that Quark's SKILL.md skills already use the same shape as Agent Skills
    (Claude Code, claude.ai, Claude Cowork plugins) — no conversion needed either direction.
  • Custom slash commands: a <name>.md file under .agents/commands/, .claude/commands/,
    .cursor/commands/ or ~/.quark/commands/ becomes a /<name> command in quark chat/quark tui, with $ARGUMENTS/$1.../$9 substituted into its body before it's sent as the next
    message — the same file Claude Code or Cursor already run. No mode flag; always on.

v0.4.0

Choose a tag to compare

@rmoya81 rmoya81 released this 04 Dec 22:06
v0.4.0
c087089

The biggest release since 0.1.0: seven features aimed at closing the gap with other minimal coding agents, plus two months of work that had been accumulating unreleased.

Highlights

  • MCP code mode (--mcp-code-mode): one run_mcp_code tool instead of a JSON-schema tool per remote MCP tool. The model writes a short, sandboxed Python script that calls MCP tools as plain functions — no imports, no file or network access beyond the listed calls — cutting context overhead when several MCP servers are configured. Each call still goes through the usual per-call approval.
  • Typed Python plugins (--plugins-mode): register your own tools from a *.py file, off by default.
  • spawn_agent: delegate a bounded sub-task to a side agent in an isolated git worktree.
  • quark usage: persistent token and estimated-cost tracking per session.
  • TUI @file fuzzy-search dropdown: ranked matches instead of a single guess.
  • Smarter compaction: stale re-reads are collapsed before falling back to trimming or an LLM summary.
  • Real startup benchmarks (scripts/bench_startup.py): no network, no API key.

Also in this release

Skills (--skills-mode), MCP servers (--mcp-mode), Build/Plan modes, read-only --read-dir, web_search, retries with backoff, --max-tokens, Anthropic prompt caching, and a round of security hardening (restricted project .env, read-before-edit enforcement, atomic safe writes, loop guards). Full list in CHANGELOG.md.

v0.3.0

Choose a tag to compare

@rmoya81 rmoya81 released this 04 Dec 22:06
v0.3.0
15658de

Added

  • quark with no subcommand now launches the interactive TUI by default
    (matching how claude behaves), falling back to the plain quark chat
    REPL if textual is somehow missing. textual is now a core
    dependency instead of the optional [tui] extra, so pip install quark-ai pulls it in automatically. quark chat and quark tui keep
    their existing behavior.
  • In-session TUI commands: /model, /compact, and /new.
  • Per-command approval for run_shell, instead of an all-or-nothing switch.
  • search_files tool: recursive filename/content search confined to the
    workspace, filling the clearest gap against comparable minimal agents.
    Supports mode (filename/content/both), case-insensitive matching by
    default, skips common generated/vendor directories and symlinks, and
    caps results at 200.
  • quark init: interactive first-run setup wizard. Asks for provider,
    model, workspace, tool mode, and whether to allow run_shell, then
    saves your answers to ~/.quark/config.json (API keys go to
    ~/.quark/.env instead, never the JSON config).

Fixed

  • quark/__init__.py's __version__ was stuck at 0.1.0 while
    pyproject.toml had already moved to 0.2.0; both now report 0.3.0.