Skip to main content

A self-improving, multi-channel AI agent framework with memory, learning, and extensibility

Project description

Remedy

The self-improving, multi-channel AI agent framework that grows with you.

Remedy is a standalone AI agent framework designed for autonomous, long-running projects. It combines:

  • Depth — A self-improving learning loop that distills task traces into reusable skills
  • Memory — Persistent SQLite+FTS5 knowledge store with structured handoff notes and session continuity
  • Breadth — Multi-channel gateway (CLI, REST API, Telegram, Discord, Slack, webhooks)
  • Compatibility — Native agentskills.io support, plus adapters for Hermes and OpenClaw/ClawHub

Download the Desktop App

The recommended way to use Remedy is the native desktop application — no Python, Node, or Rust toolchain required.

Download the latest installer (Windows)

  1. Download the .exe installer from GitHub Releases
  2. Run the installer — Remedy Desktop installs to your local app folder
  3. Launch from the Start Menu — the SetupWizard guides you through provider and model configuration
  4. Start chatting with /help to see available commands

The desktop app bundles the full Remedy server as a sidecar, so everything runs locally on your machine.

Desktop Features

Feature Description
Chat UI Streaming tokens, markdown rendering, syntax highlighting
Session tabs Multi-tab session management — open, switch, close tabs
Attachments Drag-and-drop or attach files/images into the session
Plan/Build mode Toggle between plan mode (no tools) and build mode
@file references Type @ to search and autocomplete project files
First-run setup Setup wizard for provider/API key before chat
Bundled skills Default skills pack loads on start (not an empty skill list)
Undo Hover any assistant message to revert it
Themes 6 themes — Dark, Light, Emerald, Amethyst, Amber, Ocean
Side panels Memory browser and Skills viewer accessible from the status bar
Slash commands /help, /new, /sessions, /models, /memory, /skills, /handoff
Tray icon Minimize to system tray
Auto-update In-app check → download → install → relaunch (minisign-signed releases)

Architecture

┌─────────────────────────────────┐
│        Remedy Desktop            │
│  ┌───────────────────────────┐  │
│  │   Tauri 2 Shell (Rust)    │  │
│  │   • Server lifecycle       │  │
│  │   • System tray            │  │
│  │   • Auto-updater           │  │
│  └──────────┬────────────────┘  │
│             │ spawn sidecar     │
│  ┌──────────▼────────────────┐  │
│  │   remedy serve (Python)   │  │
│  │   FastAPI on :7400        │  │
│  └──────────┬────────────────┘  │
│  ┌──────────▼────────────────┐  │
│  │   React 19 + Vite (JS)   │  │
│  │   REST + SSE client       │  │
│  └───────────────────────────┘  │
└─────────────────────────────────┘

Advanced / Power Users

For users who prefer CLI, custom deployments, or development:

# PyPI name is remedy-ai (the name "remedy" is a different, unrelated package)
pip install remedy-ai
# or from source:
git clone https://github.com/AhmiDarrow/RemedyAI && cd RemedyAI && uv sync
# editable local install:
pip install -e .

CLI Quick Start

remedy --help                    # See all commands
remedy config init               # Create ~/.remedy/config.toml
remedy skill discover ./skills   # Load bundled & custom skills

# Launch interactive chat with the agent
remedy chat
# Type /help for commands, /exit to quit

# Start the API server
remedy serve --host 127.0.0.1 --port 7400
# Dashboard at http://127.0.0.1:7400/dashboard
# OpenAPI docs at http://127.0.0.1:7400/docs

# Desktop app management (for devs)
remedy desktop launch            # Launch the installed desktop app
remedy desktop status            # Check if the server is running
remedy desktop install           # Install Node deps (for dev)
remedy desktop dev               # Start desktop dev server

Desktop Dev

remedy desktop install    # Install Node.js deps (one-time)
remedy desktop dev        # Start dev server at http://localhost:5173
# Requires: remedy serve running in another terminal

# Or full Tauri desktop build (requires Rust toolchain):
cd desktop && npm run tauri:dev

Architecture

                  Channels (CLI · API · Telegram · Discord · ...)
                                   |
                           remedy-gateway
                       (event router + heartbeat)
                                   |
                            remedy-core
                   (runtime + learning loop)
                         /        |         \
              remedy-skills  remedy-tools  remedy-execution
             (unified engine)  (MCP client)   (sandbox)
                         \        |         /
                          remedy-memory
                   (SQLite+FTS5 · handoff · sessions)
Module Role
remedy-gateway Multi-channel event router with rate limiting, heartbeat, session-aware routing
remedy-core Agent runtime, learning engine, hook/plugin system, metrics, logging
remedy-memory Persistent SQLite+FTS5 store with handoff notes, session summaries, user profiles
remedy-skills agentskills.io loader + Hermes/OpenClaw adapters, executor, validator, exporter
remedy-tools MCP client (JSON-RPC stdio), tool registry with invocation stats
remedy-execution Sandboxed runners (async subprocess, Docker), execution policy engine
remedy-interfaces CLI (rich), FastAPI server, config system, plugin manager
remedy-migrate Import tools from Hermes and OpenClaw setups

CLI Commands

Command Subcommands Description
remedy chat Interactive REPL chat with the agent
remedy memory search, list, add, consolidate, repair, backup Persistent knowledge store with FTS5 search
remedy skill list, discover, info, load, run, test, export Skill lifecycle management
remedy learn reflect, history, changelog, stats, sync Self-improvement loop
remedy handoff create, list, search, show Cross-session handoff notes
remedy tool list, search, stats, run Tool invocation and stats
remedy session start, end Session lifecycle tracking
remedy user show, facts User profile and traits
remedy gateway start, status, serve, channels Multi-channel gateway
remedy config init, show, path TOML/YAML configuration
remedy serve Full API server (config-aware)
remedy desktop install, dev, build, launch, status Desktop app management
remedy migrate hermes, openclaw Import from other frameworks
remedy exec Execute commands in sandbox

Skill Format

Remedy natively supports agentskills.ioSKILL.md with YAML frontmatter:

---
name: my-skill
version: 1.0.0
description: What this skill does
kind: tool
tags:
  - utility
requires: []
tools: []
---

# Instructions

Step-by-step guidance for the agent.

```python
# scripts/run.py is discoverable
print("Skill executed")

Skills can bundle `scripts/` and `references/` directories for code and documentation.

### Export Formats

```bash
remedy skill export my-skill --format hermes   # Hermes-compatible
remedy skill export my-skill --format openclaw # OpenClaw/ClawHub
remedy skill export my-skill --format native   # agentskills.io
remedy skill export my-skill --format zip      # Portable archive

Memory & Handoff

Remedy's memory system provides companion continuity across sessions:

  • Full-text search (FTS5) with relevance scoring
  • Structured handoff notes with action items, decisions, and context summaries
  • Session summaries for tracking progress
  • Importance scoring for prioritized recall
  • User profile with persistent traits and facts
remedy memory add "milestone" "Phase 3 learning loop shipped"
remedy memory search "learning loop"
remedy handoff create "Context Transfer" "Working on Phase 4. Next: gateway channels."

Learning Loop

Remedy self-improves by distilling task traces into reusable skills:

Task completes
  -> ExecutionTrace extracted (steps, tools, errors)
  -> ReflectionEngine analyzes patterns
  -> GeneratedSkill proposed (auto-named, auto-tagged)
  -> SKILL.md saved to skills directory
  -> LearningHistory records event

Skill refines:
  -> SkillRefiner tracks success/failure
  -> Auto-promote: 3+ successes at >=80% -> ACTIVE
  -> Auto-demote: 5+ failures <50% -> DISABLED
  -> Changelog tracked across versions
remedy learn reflect "My Task" --steps_json '[...]'
remedy learn stats --skill my-skill
remedy learn changelog my-skill

Configuration

Config files live at ~/.remedy/config.toml (TOML or YAML):

name = "Remedy"
home_dir = "~/.remedy"
enabled_channels = ["cli", "web"]
log_level = "INFO"

[gateway]
heartbeat_interval = 60
rate_limit = 120

[execution]
default_timeout = 30
max_retries = 3
retry_backoff = 1.0

Environment overrides use the REMEDY_ prefix:

REMEDY_LOG_LEVEL=DEBUG remedy serve
REMEDY_EXECUTION__MAX_RETRIES=5 remedy exec python --version

API Server

remedy serve launches a FastAPI server with:

Endpoint Description
GET /api/status System status and health
POST /api/chat Send message, get response
POST /api/chat/stream SSE streaming chat
GET /api/memory/search Full-text memory search
POST /api/memory/add Add memory entry
GET /api/skills List available skills
POST /api/webhook/{source} Receive external webhooks
GET /api/sessions List session history
GET /api/handoffs List handoff notes
GET /api/openapi.json OpenAPI schema
GET /dashboard HTML dashboard

Full session management, streaming SSE events, file search, and command execution — see the desktop API docs.


Plugin System

Plugins are Python modules that register hooks in the Remedy lifecycle:

# my_plugin.py
def setup_plugin(hooks):
    hooks.register("on_startup", lambda: print("Plugin loaded!"), priority=10)
    hooks.register("pre_tool_exec", log_tool_call)

def teardown_plugin():
    print("Plugin unloaded")

Compatibility

Source Support
agentskills.io Native, full compliance
Hermes Agent Deep adapter — hermes_config.yaml parsing, tool mapping, batch migration
OpenClaw / ClawHub Deep adapter — SKILL.md, skill.yaml, claw.yaml, MCP extraction, channel config
MCP (Model Context Protocol) Native JSON-RPC stdio client — connect, discover tools, call tools

Development

git clone https://github.com/AhmiDarrow/RemedyAI.git
cd RemedyAI
uv sync --group dev
uv run pytest -q     # 375 tests
uv run remedy --help

Requirements

  • Python 3.12+
  • uv for package management
  • (Desktop) Node 20+, Rust toolchain for Tauri builds

Project structure

RemedyAI/
├── src/remedy/
│   ├── core/           # Runtime, ReAct policy/stream helpers, providers, metrics
│   ├── memory/         # SQLite+FTS5 store, handoff, profiles
│   ├── skills/         # Loader, registry, executor, adapters
│   ├── gateway/        # Event router, channels
│   ├── tools/          # MCP client
│   ├── execution/      # Sandbox, hidden process helpers, Docker
│   ├── interfaces/     # CLI, API (models/support/routes/*), plugins
│   ├── bundled_skills/ # Default skills shipped with the package
│   └── migrate/        # Hermes/OpenClaw importers
├── desktop/
│   ├── src/            # React + Vite frontend
│   ├── src-tauri/      # Tauri 2 shell (Rust)
│   └── package.json
├── examples/           # demo_plugin and sample scripts
├── scripts/            # build_desktop, sync_version, signing helpers
├── tests/
├── skills/
└── docs/

Desktop release (maintainers)

Signed Windows installers are built by GitHub Actions on version tags (v*):

# bump version across pyproject / package.json / tauri / Cargo / latest.json
python scripts/sync_version.py patch   # or: 0.10.5 | minor | major

git add -A && git commit -m "chore: release vX.Y.Z"
git push origin desktop-primary
git tag vX.Y.Z && git push origin vX.Y.Z
# → .github/workflows/desktop-release.yml builds sidecar + NSIS, signs, publishes
# Optional: publish Python package — uv build && uv publish

See CHANGELOG.md for release notes.

Signing (required for in-app auto-update):

Item Where
Public key desktop/src-tauri/tauri.conf.jsonplugins.updater.pubkey (committed)
Private key Local only: ~/.tauri/remedy.keynever commit (see .gitignore)
CI secrets TAURI_SIGNING_PRIVATE_KEY, TAURI_SIGNING_PRIVATE_KEY_PASSWORD
Artifacts flag bundle.createUpdaterArtifacts: true in tauri.conf.json

Re-upload secrets after rotating a key:

uv run python scripts/set_tauri_signing_secrets.py

Local signed build (optional):

$env:TAURI_SIGNING_PRIVATE_KEY = (Get-Content "$env:USERPROFILE\.tauri\remedy.key" -Raw).Trim()
$env:TAURI_SIGNING_PRIVATE_KEY_PASSWORD = ""
python scripts/build_desktop.py --clean
cd desktop; npm run tauri build

See docs/DESKTOP.md for API contract and full desktop notes.


License

Custom proprietary license — see LICENSE. Non-commercial personal use only; commercial use and redistribution require written permission.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

remedy_ai-0.10.10.tar.gz (151.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remedy_ai-0.10.10-py3-none-any.whl (193.1 kB view details)

Uploaded Python 3

File details

Details for the file remedy_ai-0.10.10.tar.gz.

File metadata

  • Download URL: remedy_ai-0.10.10.tar.gz
  • Upload date:
  • Size: 151.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for remedy_ai-0.10.10.tar.gz
Algorithm Hash digest
SHA256 420f37233fff93c4cef4f3ac87d5f194aab7d4a0f8c40cfdb69a1fd5535c15ee
MD5 ab7d3f6481884b5d3d2fd0dbe1055ffb
BLAKE2b-256 1c11003a4d9677ac6bb6639d3419f3c45400feeb5ce8df38308227067e2d241d

See more details on using hashes here.

File details

Details for the file remedy_ai-0.10.10-py3-none-any.whl.

File metadata

  • Download URL: remedy_ai-0.10.10-py3-none-any.whl
  • Upload date:
  • Size: 193.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for remedy_ai-0.10.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d0e4fa15d401c36ab552d44dac73da849d433406ae9cc21237717d4dc3c779a7
MD5 20131726cb02456be0a9143fc2c12ba3
BLAKE2b-256 9ddba40bc827b096be280eac8a7f0ac9172a936674cea8148d0374cdd4cff047

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page