Skip to main content

No project description provided

Project description

Elroy

Discord Documentation PyPI

Elroy is a scriptable, memory augmented AI personal assistant, accessible from the command line. It features:

  • Long-term Memory: Automatic memory recall of past conversations
  • Reminders Track context based and timing based reminders
  • Simple scripting interface: Script Elroy with minimal configuration overhead
  • CLI Tool interface: Quickly review memories Elroy creates for you, or jot quick notes for Elroy to remember.

Reminder demo

Quickstart

The fastest way to get started is using the install script:

curl -LsSf https://raw.githubusercontent.com/elroy-bot/elroy/main/scripts/install.sh | sh

Or install manually with UV:

# Install UV first
curl -LsSf https://astral.sh/uv/install.sh | sh

# Then install Elroy
uv pip install elroy

For detailed installation instructions including Docker and source installation options, see the Installation Guide.

Basic Usage

Once installed, run elroy to open the interactive chat interface:

elroy

Elroy opens a terminal UI where you can chat, create memories, and manage reminders. Use /help inside the chat to see available slash commands.

Memory and Reminder Tools

Slash commands

Elroy's tools allow it to create and manage memories and reminders. In the background, redundant memories are consolidated.

As reminders or memories become relevant to the conversation, they are recalled into context. A Relevant Context panel makes all information being surfaced to the assistant available to the user.

All commands available to the assistant are also available to the user via / slash commands in the chat interface.

For a guide of what tools are available and what they do, see: tools guide.

For a full reference of tools and their schemas, see: tools schema reference

Configuration

Elroy is designed to be highly customizable, including appearance and memory consolidation parameters.

Configuration can be provided via environment variables (e.g. ELROY_CHAT_MODEL=gpt-5) or a config file at ~/.elroy/elroy.conf.yaml.

For full configuration options, see configuration documentation.

Supported Models

Elroy supports OpenAI, Anthropic, Google (Gemini), and any OpenAI-compatible API.

The model is selected automatically based on which API key is set, or can be configured explicitly:

# Use an Anthropic model
ELROY_CHAT_MODEL=claude-sonnet-4-5-20250929 elroy

# Use a specific OpenAI model
ELROY_CHAT_MODEL=gpt-5 elroy

# Use Gemini
ELROY_CHAT_MODEL=gemini/gemini-2.0-flash elroy

Common model aliases can be used as the chat_model config value:

  • sonnet: Anthropic's Claude 4.5 Sonnet
  • opus: Anthropic's Claude 4.5 Opus
  • haiku: Anthropic's Claude 3.5 Haiku
  • o1: OpenAI's o1 model

Claude Code Integration

Elroy provides skills for Claude Code that expose memory management as slash commands:

  • /remember - Create a long-term memory
  • /recall - Search through memories
  • /list-memories - List all memories
  • /remind - Create a reminder
  • /list-reminders - List active reminders
  • /ingest - Ingest documents into memory

Installation

Install the Claude Code skills using the Elroy CLI:

elroy install-skills

Or use the just command from the repository:

just install-claude-skills

This installs skills to ~/.claude/skills/ making them available in all Claude Code sessions.

Important: Restart your Claude Code session after installation to load the new skills.

To uninstall:

elroy install-skills --uninstall

For detailed usage and examples, see claude-skills/README.md.

Branches

main comes with backwards compatibility and automatic database migrations.

stable is sync'd with the latest release branch.

experimental is a test branch with upcoming changes. These may contain breaking changes and/or changes that do not come with automatic database migrations.

License

Distributed under the Apache 2.0 license. See LICENSE for more information.

Contact

Bug reports and feature requests are welcome via GitHub

Get in touch on Discord or via email

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

elroy-0.4.0.tar.gz (58.8 MB view details)

Uploaded Source

Built Distribution

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

elroy-0.4.0-py3-none-any.whl (171.9 kB view details)

Uploaded Python 3

File details

Details for the file elroy-0.4.0.tar.gz.

File metadata

  • Download URL: elroy-0.4.0.tar.gz
  • Upload date:
  • Size: 58.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for elroy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 bc5b566317b3375edcfb1ecf31d3f0f64c16f94161161db899e76c4115619f0e
MD5 ea17d0c70563064196c2fcf33ca110de
BLAKE2b-256 8e49f1a78a072578638e253bf90ca9a63bad6c9dc3a18500b56a475599299a71

See more details on using hashes here.

File details

Details for the file elroy-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: elroy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 171.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for elroy-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1010c0718f3d74b51c9efafe90b0bafec501bb8a4bcc47d8ec44b6c751c0f444
MD5 7eb4ae1ab1147c12981b6f381406d3ab
BLAKE2b-256 7098a07b2d1b5f465dccefd00dfc97e60528839e79728266cf71fad93c0c7c8a

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