sdk-memory-layer

Store, retrieve, search, and reason over memories with the StixDB SDK client.

74|9|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Pr0fe5s0r/StixDB --skill sdk-memory-layer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdk-memory-layer
Source: https://github.com/Pr0fe5s0r/StixDB/tree/main/sdk/skills
Command: npx skills add https://github.com/Pr0fe5s0r/StixDB --skill sdk-memory-layer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stores, retrieves, searches, and reasons over memories using the StixDB SDK client, enabling memory-driven applications to persist experiences, facts, and metadata.

Core Features & Use Cases

  • Create collections and store memories with node types and hierarchical tiers.
  • Perform semantic search and agentic reasoning via MemoryAPI, SearchAPI, and QueryAPI.
  • Ingest documents, manage tags and metadata, and leverage synchronous or asynchronous SDK usage for scalable workflows.
  • Real-world example: build a personal assistant that recalls user preferences and actions to inform future interactions.

Quick Start

Install the stixdb-sdk, instantiate a client, and call memory.store to save your first memory.

Frequently Asked Questions about sdk-memory-layer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store and retrieve application memories using a Python SDK?

Store and retrieve application memories using the StixDB SDK by instantiating a client and calling memory.store. You can organize memories across collections with various node types and hierarchical tiers, then query them back via the available APIs.

What is the best way to perform semantic search over stored memories and documents?

Perform semantic search over stored memories and documents using the StixDB SDK's SearchAPI. It enables querying across collections and ingested documents, allowing memory-driven applications to find relevant facts, metadata, and past experiences.

Does the StixDB memory management SDK support asynchronous workflows in Python?

Yes, the StixDB memory management SDK supports both synchronous and asynchronous usage in Python. This allows you to build scalable workflows for document ingestion, memory storage, and agentic querying without blocking execution.

How do I ingest documents and manage metadata for agentic reasoning workflows?

Ingest documents and manage metadata for agentic reasoning using the StixDB SDK's MemoryAPI and QueryAPI. These interfaces support tagging, hierarchical memory tiers, and semantic search to inform future application interactions.

What Python version do I need to use the StixDB SDK for memory persistence?

You need Python 3.8 or higher and the stixdb-sdk package to use the StixDB SDK for memory persistence. The SDK provides synchronous and asynchronous clients to store, search, and reason over application memories.

Can I build a personal assistant that recalls user preferences with a memory layer?

Yes, you can build a personal assistant that recalls user preferences with a memory layer using the StixDB SDK. It stores user actions, facts, and metadata across collections, enabling the assistant to query past experiences and inform future interactions.