Memory Integration

Build and manage a persistent knowledge graph by creating, connecting, and retrieving memories.

Overview

The Memory integration enables your AI to create and manage a persistent knowledge graph. Each memory can store different types of information and be connected to other memories through various relationship types, allowing for complex knowledge structures and contextual recall.

When to Use

Memory Integration is ideal for:

  • Building persistent knowledge bases
  • Managing project-related information
  • Tracking conversations and their context
  • Organizing tasks and their dependencies
  • Managing configuration settings
  • Tracking financial information
  • Creating and managing todo lists
  • Building connected knowledge graphs
Create a new project memory for our website redesign initiative

How It Works

The Memory integration provides several tools to manage your knowledge graph:

  1. Create memories of different types
  2. Retrieve specific memories by ID
  3. Search memories by type or content
  4. Update existing memories
  5. Create relationships between memories
  6. Query related memories
  7. Delete memories when no longer needed
1. Create a project memory
2. Add related task memories
3. Connect tasks with dependencies
4. Update task status as work progresses
5. Query related tasks to track progress

Memory Types

The following memory types are supported:

  • Conversation: Store dialogue and discussion context
  • Topic: Organize information around specific subjects
  • Project: Track project-related information
  • Task: Manage individual tasks and their status
  • Issue: Track problems and their resolutions
  • Config: Store configuration settings
  • Finance: Track financial information
  • Todo: Manage todo items

Parameters

The Memory integration tools accept various parameters depending on the operation:

  • Name
    type
    Type
    string
    Description

    The type of memory (Conversation, Topic, Project, Task, Issue, Config, Finance, Todo).

  • Name
    content
    Type
    string
    Description

    The main content of the memory.

  • Name
    title
    Type
    string
    Description

    Optional title for the memory.

  • Name
    metadata
    Type
    object
    Description

    Additional metadata for the memory.

  • Name
    id
    Type
    string
    Description

    Identifier for retrieving or updating specific memories.

  • Name
    status
    Type
    string
    Description

    Status information for tasks or issues.

  • Name
    dueDate
    Type
    number
    Description

    Timestamp for due dates on tasks or todos.

Examples

Here are examples of how to use Memory integration for different scenarios:

Create a new project memory for our AI integration initiative

The AI will use the memory tools to manage these operations:

{
  "type": "Project",
  "title": "AI Integration Initiative",
  "content": "Project to integrate AI capabilities into our platform",
  "metadata": {
    "startDate": "2024-03-20",
    "priority": "high"
  }
}

// Create related task
{
  "type": "Task",
  "title": "Setup API Endpoints",
  "content": "Create necessary API endpoints for AI integration",
  "status": "pending",
  "dueDate": 1711238400000
}

// Create relationship
{
  "fromId": "project-123",
  "toId": "task-456",
  "type": "CONTAINS",
  "properties": {
    "order": 1
  }
}

Advanced Usage

Memory integration supports advanced features for complex knowledge management:

Relationship Types

You can create different types of relationships between memories:

  • CONTAINS: Hierarchical relationship
  • RELATED_TO: General association
  • DEPENDS_ON: Dependency relationship
  • PART_OF: Component relationship
  • RESOLVED_BY: Issue resolution relationship
  • CREATED_AT: Temporal relationship
  • UPDATED_AT: Update relationship
{
  "fromId": "task-123",
  "toId": "task-456",
  "type": "DEPENDS_ON",
  "properties": {
    "criticality": "high"
  }
}

Search and Query

You can search memories by type and content, and query related memories:

Search for all high-priority tasks in the AI integration project

The AI might process this as:

{
  "type": "Task",
  "keyword": "high priority AI integration",
  "topResults": 5
}

What's next?

Now that you understand Memory integration, explore other integrations to make your AI even more powerful.

Integrations

Sequential Thinking

Enable dynamic and reflective problem-solving through structured thinking steps.

Read more

Memory

Access your Memory directly in your workflow.

Read more

Linear

Get issue details, create issues, add updates to issues, and more.

Read more

Github

Access your repositories, PRs, and issues directly in your workflow.

Read more

Slack

Send updates to your team in Slack about issues and PRs.

Read more

Jira

Access your Jira issues and projects directly in your workflow.

Read more

Postgres

Access your Postgres databases directly in your workflow.

Read more

Sequential Thinking

Break down complex problems into manageable steps.

Read more

Notion

Access your Notion databases directly in your workflow.

Read more

MySQL

Access your MySQL databases directly in your workflow.

Read more

Sentry

Access your Sentry issues and projects directly in your workflow.

Read more

Figma

Access your Figma files and designs directly in your workflow.

Read more

Redis

Access your Redis databases directly in your workflow.

Read more

OpenSearch

Access your OpenSearch databases directly in your workflow.

Read more

Was this page helpful?