Skip to main content
Normalized for Mintlify from knowledge-base/neurigraph-memory-architecture/cross-platform-memory-transfer-architecture.mdx.

ChatGPT → Brain Ingestion Pipeline

Cross-Platform Memory Transfer Architecture


Executive Summary

This document defines how Brain by aiConnected can ingest ChatGPT conversation exports and transform raw conversation logs into structured, three-dimensional cognitive memory that can persist across AI platforms. The Core Insight: ChatGPT exports are flat conversation trees. Brain’s Cognigraph is a structured knowledge hierarchy. The pipeline transforms one into the other, extracting knowledge from conversations.

Part 1: Understanding ChatGPT Export Structure

1.1 Export File Contents

When a user exports their ChatGPT data, they receive a ZIP file containing:
Our target: conversations.json

1.2 conversations.json Structure

Each conversation is a tree structure (not linear) due to ChatGPT’s edit/regenerate features:

1.3 Key Challenges


Part 2: The Transformation Pipeline

2.1 Pipeline Overview


Part 3: Stage Implementation Details

3.1 Stage 1: Parse & Linearize

3.2 Stage 2: Knowledge Extraction Prompt

3.3 Stage 3: Classification Prompt

3.4 Stage 4: Deduplication Logic

3.5 Stage 5: Cognigraph Storage

Following your existing schema:

Part 4: Export Format (Brain → Other Platforms)

4.1 Universal Memory Format

For exporting Brain memories to other platforms:

4.2 Platform-Specific Adapters

For Claude Projects:
For ChatGPT Custom Instructions:
For Gemini/Other:

Part 5: Implementation Phases

Phase 1: MVP (Week 1-2)

  • ZIP extraction and JSON parsing
  • Tree linearization
  • Basic knowledge extraction (facts only)
  • Manual category/concept/topic assignment
  • Storage in Cognigraph tables

Phase 2: Automation (Week 3-4)

  • LLM-powered knowledge extraction (full prompt)
  • Automatic classification
  • Basic deduplication
  • Reflection generation
  • Vector embedding

Phase 3: Intelligence (Week 5-6)

  • Conflict detection and resolution
  • Cross-conversation linking
  • Relationship mapping
  • CTL rule application
  • Index file generation

Phase 4: Export (Week 7-8)

  • Universal export format
  • Claude adapter
  • ChatGPT adapter
  • Gemini adapter
  • API endpoints for programmatic access

Part 6: Cost & Performance Estimates

Per Import (1000 conversations)

With Index Files (retrieval)


Part 7: The Competitive Moat

This pipeline creates something no one else has:
  1. ChatGPT → Brain → Claude = seamless migration
  2. Brain as cognitive escrow = you own your knowledge
  3. Structure, not dumps = actually useful memory
  4. Continuous Memory Protocol = future open standard
This positions Brain as the Switzerland of AI memory - neutral, portable, user-owned.

Next Steps

  1. Review and approve this architecture
  2. Set up development environment
  3. Build Stage 1 parser (no AI required)
  4. Test with sample ChatGPT export
  5. Iterate on extraction prompts with real data