memcal
Memory and calendar for AI agents
Memcal gives your agent a memory of your plans, conversations, and commitments. It brings together sources such as iMessage, email, WhatsApp, and calendars, then uses a nightly Dream pass to update events and other memories as things change.
Ask “What's my weekend looking like?” and your agent can recall a possible dinner with a friend, a community event, or a family visit—even when those plans started in different conversations.
Memcal prepares a brief of the next 30 days so an agent can answer common questions without a separate lookup. The brief tells you if its token budget leaves events out. Events keep their history and evidence: a past appointment does not automatically mean you attended it.
Get started
You'll need Python 3.11+, SQLite with FTS5, and a model backend. Codex is the default; Claude Code, Antigravity, Grok, OpenRouter, and OpenAI-compatible APIs are also supported.
pip install memcal
memcal setup
memcal doctor
memcal brief
Setup walks you through your provider and sources. For Codex via OAuth, sign in with codex login first; setup lists available models without making an inference call. The default model is gpt-6-luna for Codex and openai/gpt-6-luna for OpenRouter. Your saved model choice takes precedence. Optional provider fallback, WhatsApp startup
and cleanup, and recent unnamed-sender windows are configurable in Settings; see
Configuration.
Memcal is built first for macOS, where it can use Messages, Calendar, and launchd scheduling. iMessage reads the local Messages database by default and uses a local bridge to memcal.app, which holds Full Disk Access. Calendar and Reminders also use the app bridge, including during memcal dream; their consent belongs to Memcal. Your terminal or agent does not need these grants. Use memcal permissions setup for guided macOS approval and read checks, or open Settings → Full Disk Access in the web UI. See the permission helper and iMessage setup for details. Email, MCP, and optional chat integrations also work on Linux; install Slack support with pip install 'memcal[slack]'.
Memcal reads sensitive personal data and sends selected source text to your configured model provider. Read the privacy notes before connecting real accounts.
For a checkout instead of PyPI:
git clone https://github.com/cuuush/memcal.git
cd memcal
./install.sh
See the quickstart for your first ingest and nightly schedule.
Connect your agent
Memcal works with any MCP client and has native integrations for Hermes and OpenClaw. To start the MCP server:
python3 -m memcal.mcp_server
See the MCP guide for client configuration. Agents can also look beyond the brief with tools such as memcal_list_month(month="2026-10") and memcal_list_days(when="2026-01-01", days=365).
Using Memcal
memcal dreamcollects and processes updates, then shows a summary. Add--verbosefor details or--dry-runfor a cost estimate without model calls.memcal reviewshows recent changes and open questions. Answer a question using its displayed handle, for examplememcal answer Q12 "your answer".memcal open E42shows a record, its changes, and cited source messages. Usememcal activity E42to see newer or uncited conversation traffic.memcal schedule installinstalls the macOS scheduler;memcal schedule statuschecks it. Reinstall the schedule after changing runtime locations.memcal updateupdates a checkout or pip installation from GitHub, upgrades dependencies, migrates the store, and refreshes the brief and installed scheduler. Local edits or unpublished commits stop a checkout update. Restart running UI and agent sessions afterward.
Run memcal setup --advanced for model, brief, Dream, and publishing settings, or memcal setup --section imessage to revisit a section. See configuration for provider and model options, including OpenAI-compatible endpoints.
How it works
Memcal stores events, recurring series, todos, questions, and wiki entries in typed stores. It joins related information across sources, keeps older values in history, and applies updates using the time their evidence was said. The nightly Dream pass collects information, proposes and merges changes, and refreshes the brief. See Memcal vs. retrieval for the design.
Learn more
Metadata
Release files for memcal 0.8.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| memcal-0.8.8.tar.gz | 2.3 MB | With provenance | Details for memcal-0.8.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| memcal-0.8.8-py3-none-any.whl | Python 3 | none | any | Details for memcal-0.8.8-py3-none-any.whl |
Total release size: 4.1 MB
Release files / memcal-0.8.8.tar.gz
| Download URL | memcal-0.8.8.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7108e88f44c0678d606be38f459897d631d81f97b005a88a76a91fe5ab348965
|
|
BLAKE2b-256 checksum How to use checksums |
8055aa067527368756747d6d4804a740252873975cd62518edebf59da778529e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logRelease files / memcal-0.8.8-py3-none-any.whl
| Download URL | memcal-0.8.8-py3-none-any.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f43e45a60a45fb9dbc13dd87575cae2f23ba6b097df4892ca13c12520101a40f
|
|
BLAKE2b-256 checksum How to use checksums |
a5b05fc19744813b7a81d3bdce8e2565e4389df7cebe01a76d8c7f6e7b787fd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logSecurity for memcal 0.8.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for memcal-0.8.8.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.