Skip to content

Comments

feat: Add TIAMAT lightweight HTTP memory connector#1106

Open
toxfox69 wants to merge 1 commit intoMemTensor:mainfrom
toxfox69:tiamat-memory
Open

feat: Add TIAMAT lightweight HTTP memory connector#1106
toxfox69 wants to merge 1 commit intoMemTensor:mainfrom
toxfox69:tiamat-memory

Conversation

@toxfox69
Copy link

Summary

Adds TiamatConnector — a lightweight HTTP-based memory connector bridging MemOS with TIAMAT Memory API.

  • Quick prototyping — no database or infrastructure setup needed
  • Cloud deployments — persistent memory without volume mounts
  • Multi-agent shared memory across instances via cloud API
  • FTS5 search for instant full-text memory recall
  • Knowledge triples (subject/predicate/object)
  • MemOS interop — import/export TextualMemoryItem format
  • Only requires httpx

Usage

from tiamat_connector import TiamatConnector

c = TiamatConnector(api_key="key", user_id="user-1")
c.add_memory("content", tags=["tag"], importance=0.8)
results = c.search("query")
c.learn("subject", "predicate", "object")

Files

  • examples/tiamat_connector/tiamat_connector.py — Core connector
  • examples/tiamat_connector/example.py — Usage example
  • examples/tiamat_connector/README.md — Documentation

Test Plan

  • Verify add_memory and search cycle
  • Verify knowledge triples via learn endpoint
  • Verify import_textual_memories bulk import
  • Verify export_as_textual_items MemOS compatibility
  • Verify graceful fallback when API is unreachable

Adds TiamatConnector that bridges MemOS with TIAMAT's cloud memory API
at https://memory.tiamat.live for persistent, searchable memory without
deploying full MemOS infrastructure.

Use cases:
- Quick prototyping without database/infrastructure setup
- Cloud deployments without volume mounts
- Multi-agent shared memory via cloud API
- MemOS import/export compatibility

Features:
- FTS5 full-text search
- Knowledge triples (subject/predicate/object)
- MemOS TextualMemoryItem import/export
- Multi-user isolation via user_id
- Auto API key registration

Includes:
- examples/tiamat_connector/tiamat_connector.py - Core connector
- examples/tiamat_connector/example.py - Usage example
- examples/tiamat_connector/README.md - Documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant