Skip to main content

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 results
  • bridge_summary cron: processed=0 every cycle
  • dream_cycle first night: no patterns, no predictions
  • llm_insight_generator: abstain (post Lane-I substrate-gate 2026-06-02)
  • calibration_history: n=0, no signal
  • identity_backbone bootstrap-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentbrain_import-0.1.0a1.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

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

agentbrain_import-0.1.0a1-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

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

Hashes for agentbrain_import-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 c3c40eacf65c6eae3f0f65ac5882ef05f76ccfb6d233187f827d5a0ced005005
MD5 5febde268a1f7b59a9b915dc5319a40a
BLAKE2b-256 4e45d3395718c711937a78d9ac2e4d300b6ea959c25431fcc32bb706c03bff11

See more details on using hashes here.

File details

Details for the file agentbrain_import-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for agentbrain_import-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 9553f6b6c76e9851a52f4925ed37fd381d90ee4cc1b12b2e91570780be104ddb
MD5 9ff263a3dc89c5870354a8f82b79130b
BLAKE2b-256 7e1ecde621685b7a82010bc3d440b17b11d1057d307ff346516cf215e89ba967

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