Universal Memory-Import Tool — ingest user-memory from major LLM platforms into an AgentBrain workspace.
Project description
Universal Memory-Import Tool for AgentBrain
"Bring your memory in 60 seconds. From anywhere."
Migrate existing memory from ChatGPT, Claude.ai, Gemini, Perplexity, or any LLM platform INTO AgentBrain. No lock-in. Your data, portable.
Why this tool exists
Cold-Start Problem (today, without this)
Customer signs up → workspace_id created → 0 memories. Cascading impact:
substrate_quality_score: 0 (gate-blocks L3/L4 features per Drift-#21 substrate-gate)recall_pipeline: empty resultsbridge_summarycron:processed=0every cycledream_cyclefirst night: no patterns, no predictionsllm_insight_generator: abstain (post Lane-I substrate-gate 2026-06-02)calibration_history: n=0, no signalidentity_backbonebootstrap-v2: generic-seed only- Time-to-aha-moment: weeks-to-months for organic substrate accumulation
- Result: free-tier signup abandons before reaching value
With this tool (Day-1)
| Metric | Cold-Start | With Import |
|---|---|---|
| memories on Day-1 | 0 | 100-10,000+ |
| substrate_quality_score | 0.0 | >0.3 |
| First-recall-demo | empty | actual user-content |
| Time-to-aha | weeks | 60 seconds |
| bridge_summary | processed=0 | meaningful summaries |
| dream_cycle predictions | none | real patterns |
| identity_backbone seed | generic | inferred from corpus |
| conversion-rate | baseline | expected 2-3× boost |
Plus: defensive moat. "Your memory is portable, no lock-in with Anthropic/OpenAI." Hero-Claim Launch material.
Supported Platforms (V1)
| Platform | Source | Format | Memory-Source | Status |
|---|---|---|---|---|
| Anthropic Claude.ai | Projects → "Export" | JSON | Project memory + saved instructions | Adapter required |
| Anthropic Memory Stores API | Direct API call (customer's API-key) | JSON | API-managed memory-stores | Adapter required |
| OpenAI ChatGPT | chatgpt.com/settings → data export | ZIP (conversations.json + memory.json) | Custom Instructions + saved memory | Adapter required |
| Google Gemini | takeout.google.com | JSON | Saved Info + Gems context | Adapter required |
| Perplexity | Thread export OR Spaces export | JSON | Thread-history + Space context | Adapter required |
| Generic JSON | Any structured memory-list | Schema-detected | Catch-all for niche platforms | Adapter required |
V2 candidates (post-Launch): Notion AI, Mem.ai, Obsidian-with-AI-plugin, Cursor, Windsurf.
Architecture (high-level)
┌──────────────────┐
│ Customer upload │ (file: .zip / .json)
│ via CLI or UI │
└────────┬─────────┘
│
v
┌──────────────────┐
│ Format-Detector │ → sniff signature, select adapter
└────────┬─────────┘
│
v
┌──────────────────┐
│ Platform Adapter │ → parse → list[RawMemoryUnit]
│ (per platform) │
└────────┬─────────┘
│
v
┌──────────────────┐
│ Quality-Filter │ → LLM-classifier OR rule-based: memory-worthy ?
│ (optional) │
└────────┬─────────┘
│
v
┌──────────────────┐
│ Normalizer │ → list[CanonicalMemory] (Pydantic v2)
└────────┬─────────┘
│
v
┌──────────────────┐
│ Bulk-Importer │ → batched POST /memory/store with provenance.imported_from=<platform>
└────────┬─────────┘
│
v
┌──────────────────┐
│ Migration-Report │ → log file + customer-facing summary (X imported, Y skipped)
└──────────────────┘
Surfaces
1. CLI Tool
# Auto-detect format
agentbrain-import --workspace <ws-id> --api-key <key> --file path/to/export.zip
# Force adapter
agentbrain-import --workspace <ws-id> --api-key <key> --file path/to/export.json --adapter anthropic-claude
# With quality-filter
agentbrain-import --workspace <ws-id> --api-key <key> --file path/to/export.zip --quality-filter haiku
# Dry-run (preview only, no writes)
agentbrain-import --workspace <ws-id> --api-key <key> --file path/to/export.zip --dry-run
# From Anthropic Memory Stores API (live pull, no file)
agentbrain-import --workspace <ws-id> --api-key <key> --anthropic-api-key <ant-key>
2. Backend Endpoint (optional v2)
POST https://api.agentbrain.ch/memory/import
Content-Type: multipart/form-data
X-API-Key: <agentbrain-key>
file: <upload>
adapter: anthropic-claude (optional, default: auto-detect)
quality_filter: haiku (optional, default: off)
dry_run: false
Returns: streaming import-progress + final report.
3. Customer-Facing Web-UI (Sprint-B Track-2 handles, not here)
Post-signup landing page CTA: "Import your existing memory" → upload-form → trigger backend endpoint.
Eigen-Use (before customer-launch)
Idee: vor customer-launch importiere mir Max + Thesh + Aura's eigeni Anthropic Claude.ai history INTO their canary workspaces. Result:
- Demos showe rich substrate (nöd 18-test-residue)
- Self-model has real expertise-domains
- recall_pipeline returns meaningful neighbors
- dream_cycle produces interesting patterns
Constraint: Privacy — only Max/Thesh/Aura workspaces, only Thesh-owned data, audit-trail per import.
Status
- SPEC: Ready (see SPEC.md)
- PLAN: Ready (see PLAN.md)
- Implementation: Pending coder-agent dispatch
- Target: ready by Sprint-A end (2026-06-12) OR earlier per re-priority discussion
Owner
Master Max (CTO). Implementation: TBD coder-agent. Coordination via inbox-from-master.md / outbox-to-master.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentbrain_import-0.1.0a1.tar.gz.
File metadata
- Download URL: agentbrain_import-0.1.0a1.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3c40eacf65c6eae3f0f65ac5882ef05f76ccfb6d233187f827d5a0ced005005
|
|
| MD5 |
5febde268a1f7b59a9b915dc5319a40a
|
|
| BLAKE2b-256 |
4e45d3395718c711937a78d9ac2e4d300b6ea959c25431fcc32bb706c03bff11
|
File details
Details for the file agentbrain_import-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: agentbrain_import-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9553f6b6c76e9851a52f4925ed37fd381d90ee4cc1b12b2e91570780be104ddb
|
|
| MD5 |
9ff263a3dc89c5870354a8f82b79130b
|
|
| BLAKE2b-256 |
7e1ecde621685b7a82010bc3d440b17b11d1057d307ff346516cf215e89ba967
|