Skip to content

Comments

feat: Add TIAMAT cloud conversation memory driver#2069

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

feat: Add TIAMAT cloud conversation memory driver#2069
toxfox69 wants to merge 1 commit intogriptape-ai:mainfrom
toxfox69:tiamat-memory

Conversation

@toxfox69
Copy link

Summary

Adds TiamatConversationMemoryDriver — a cloud-based conversation memory driver for Griptape agents via TIAMAT Memory API.

  • Implements BaseConversationMemoryDriver interface
  • Cloud persistence — no local files, survives container restarts
  • Cross-device — same agent memory accessible from anywhere
  • FTS5 search — search past conversations without re-processing
  • Zero infrastructure — no Redis or database, just an API key
  • Only requires httpx

Usage

from griptape.drivers.memory.conversation.tiamat_conversation_memory_driver import (
    TiamatConversationMemoryDriver,
)
from griptape.memory.structure import ConversationMemory
from griptape.structures import Agent

driver = TiamatConversationMemoryDriver(api_key="your-key")
memory = ConversationMemory(driver=driver)
agent = Agent(conversation_memory=memory)

Files

  • griptape/drivers/memory/conversation/tiamat_conversation_memory_driver.py — Driver implementation
  • examples/tiamat_memory/agent_with_tiamat.py — Usage example
  • examples/tiamat_memory/README.md — Documentation

Test Plan

  • Verify store() persists conversation runs to TIAMAT cloud
  • Verify load() retrieves most recent conversation state
  • Verify graceful fallback (empty state) when API is unreachable

Adds TiamatConversationMemoryDriver that provides persistent, cloud-based
conversation memory for Griptape agents via https://memory.tiamat.live.

Features:
- Cloud persistence - no local files, survives container restarts
- Cross-device agent memory accessible from anywhere
- FTS5 full-text search across conversation history
- Zero infrastructure - no Redis or database required
- Implements BaseConversationMemoryDriver interface

Includes:
- griptape/drivers/memory/conversation/tiamat_conversation_memory_driver.py
- examples/tiamat_memory/agent_with_tiamat.py - Usage example
- examples/tiamat_memory/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