{"id":50991769,"url":"https://github.com/edlontech/mnemosyne_zvex","last_synced_at":"2026-06-20T04:05:45.471Z","repository":{"id":358863996,"uuid":"1237750364","full_name":"edlontech/mnemosyne_zvex","owner":"edlontech","description":"A Mnemosyne Adapter backed by ZVEC","archived":false,"fork":false,"pushed_at":"2026-05-19T11:24:59.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T13:09:45.070Z","etag":null,"topics":["agents","ai","vector-search","zvec"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edlontech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-13T13:26:19.000Z","updated_at":"2026-05-19T11:24:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/edlontech/mnemosyne_zvex","commit_stats":null,"previous_names":["edlontech/mnemosyne_zvex"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/edlontech/mnemosyne_zvex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlontech%2Fmnemosyne_zvex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlontech%2Fmnemosyne_zvex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlontech%2Fmnemosyne_zvex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlontech%2Fmnemosyne_zvex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edlontech","download_url":"https://codeload.github.com/edlontech/mnemosyne_zvex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edlontech%2Fmnemosyne_zvex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34556505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents","ai","vector-search","zvec"],"created_at":"2026-06-20T04:05:44.782Z","updated_at":"2026-06-20T04:05:45.466Z","avatar_url":"https://github.com/edlontech.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MnemosyneZvex\n\nA [Mnemosyne](https://github.com/edlontech/mnemosyne) `GraphBackend` backed by\n[Zvex](https://github.com/edlontech/zvex), an in-process vector database, plus\na DETS sidecar for typed links and mutable per-node metadata.\n\n## Installation\n\n```elixir\ndef deps do\n  [\n    {:mnemosyne_zvex, \"~\u003e 0.1.0\"} # x-release-please-version\n  ]\nend\n```\n\n## Usage\n\n```elixir\n# Configure Mnemosyne's shared adapters once in your supervisor\nchildren = [\n  {Mnemosyne.Supervisor,\n    config: %Mnemosyne.Config{\n      llm: %{model: \"gpt-4o\", opts: %{}},\n      embedding: %{model: \"text-embedding-3-small\", opts: %{}}\n    },\n    llm: MyApp.LLMAdapter,\n    embedding: MyApp.EmbeddingAdapter}\n]\n\n# Then open a repo backed by MnemosyneZvex\n{:ok, _pid} =\n  Mnemosyne.open_repo(\"my-project\",\n    backend: {MnemosyneZvex.Backend,\n      path: \"/var/data/mnemosyne/my-project\",\n      dimension: 1536}\n  )\n\n# Use Mnemosyne normally\n{:ok, session} = Mnemosyne.start_session(\"Help user plan a trip\", repo: \"my-project\")\n:ok = Mnemosyne.append(session, \"User says they want to visit Tokyo\", \"Asking dates\")\n:ok = Mnemosyne.close_and_commit(session)\n\n{:ok, memories} = Mnemosyne.recall(\"my-project\", \"What does the user want?\")\n```\n\n## Options\n\n| Option | Required | Default | Description |\n|---|---|---|---|\n| `:path` | yes | — | Directory under which `zvex/` and `sidecar.dets` will live |\n| `:dimension` | yes | — | Embedding dimension (must match your `embedding` adapter) |\n| `:index` | no | `:hnsw` | Vector index type: `:hnsw`, `:ivf`, or `:flat` |\n| `:metric` | no | `:cosine` | Distance metric: `:cosine`, `:l2`, or `:ip` |\n| `:index_opts` | no | `[m: 16, ef_construction: 200]` | Index-specific parameters |\n| `:fetch_multiplier` | no | `3` | Over-fetch factor for value function reranking |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedlontech%2Fmnemosyne_zvex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedlontech%2Fmnemosyne_zvex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedlontech%2Fmnemosyne_zvex/lists"}