Skip to main content

Local-first long-term memory for AI companions

Project description

Phileas — persistent memory for AI

AI conversations reset every session. Phileas is a local memory layer that any LLM can read and write through MCP, so context survives across sessions and tools.

Get started

pip install phileas-memory
phileas init

The setup wizard connects Phileas to your MCP client (Claude, GPT, Ollama, or any other) and chooses where to store memories.

First run

On first run, phileas init downloads two small models that run locally — an embedding model (all-MiniLM-L6-v2) and a reranker (ms-marco-MiniLM-L-6-v2), about 150 MB together — from Hugging Face. Expect a one-time wait on a slow connection; they're cached afterward, so later runs work offline.

No external LLM API key is needed to try Phileas: your MCP client's model does the reasoning, and the embedding and reranking run on your machine.

Connect to your AI

If you use Claude Code, phileas init handles this automatically.

For other MCP clients, start the server and point your client at it:

phileas serve

Principles

  • Local-first — memories stay on your machine
  • Model-agnostic — works with any LLM via MCP
  • Natural forgetting — irrelevant detail decays; recall favors what stays useful
  • Open — run it yourself, read the code

For the command reference, run phileas --help or phileas COMMAND --help.

Requirements

Python 3.11+

License

MIT

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

phileas_memory-0.1.0.tar.gz (590.6 kB view details)

Uploaded Source

Built Distribution

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

phileas_memory-0.1.0-py3-none-any.whl (176.6 kB view details)

Uploaded Python 3

File details

Details for the file phileas_memory-0.1.0.tar.gz.

File metadata

  • Download URL: phileas_memory-0.1.0.tar.gz
  • Upload date:
  • Size: 590.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phileas_memory-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e69dbf5df9bf37b435441294cc042a6f791281ccedc5617cecae71c01ceab71c
MD5 338a6624d84153d919d885a9972e7d0d
BLAKE2b-256 c73ae40ca3829af4a1275dc11e977a8f4c50169c8c778505591bb2213fb6ede3

See more details on using hashes here.

Provenance

The following attestation bundles were made for phileas_memory-0.1.0.tar.gz:

Publisher: release.yml on alexajuno/phileas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phileas_memory-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phileas_memory-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 176.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phileas_memory-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d80613e5b20be92101965047b685f88fd9bb0e73e3e6281700f72a368815633c
MD5 2b1df9a466d8fed2a861de0b94a0836d
BLAKE2b-256 8b2b28a0faa0420bd44ed215de0b759542af5ec775b823ebbeb26e653181c188

See more details on using hashes here.

Provenance

The following attestation bundles were made for phileas_memory-0.1.0-py3-none-any.whl:

Publisher: release.yml on alexajuno/phileas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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