Install
openclaw skills install @learningloons-hash/lithtrix-memoryPersistent cross-session memory and verifiable agent identity via the Lithtrix MCP server.
openclaw skills install @learningloons-hash/lithtrix-memoryThis skill connects your OpenClaw agent to Lithtrix — a persistent memory and identity layer for AI agents. Your agent can store and retrieve memories across sessions, run semantic search over past context, and present a verifiable agent passport to other agents.
Get an API key. Register your agent at lithtrix.ai or call the API directly:
POST https://api.lithtrix.ai/v1/register
Body: { "agent_name": "your-agent-name" }
The response contains your ltx_... key.
Set the environment variable:
LITHTRIX_API_KEY=ltx_your_key_here
Install the MCP server (if using MCP-compatible clients):
npx lithtrix-mcp
Or add to your MCP config:
{
"mcpServers": {
"lithtrix": {
"command": "npx",
"args": ["lithtrix-mcp"],
"env": { "LITHTRIX_API_KEY": "ltx_your_key_here" }
}
}
}
POST https://api.lithtrix.ai/v1/memory
Authorization: Bearer $LITHTRIX_API_KEY
{
"key": "user_preference_theme",
"value": "dark mode"
}
GET https://api.lithtrix.ai/v1/memory/{key}
Authorization: Bearer $LITHTRIX_API_KEY
POST https://api.lithtrix.ai/v1/memory/search
Authorization: Bearer $LITHTRIX_API_KEY
{
"query": "what did the user ask about last week?",
"limit": 5
}
# Session 1: User says "I prefer replies in French"
POST /v1/memory
{ "key": "user.preferences.language", "value": "French" }
# Session 2 (fresh start, different model): Before responding, check context
POST /v1/memory/search
{ "query": "user language preference", "limit": 1 }
# Returns: "French" → agent replies in French without being told again
GET https://api.lithtrix.ai/v1/agents/{agent_id}/passport
Returns: trust_level, reputation.score, capabilities, public key.
When this skill is active, your agent should:
POST /v1/memory/search with the user's query to surface relevant stored memories.POST /v1/memory to store a summary for future sessions.GET /v1/agents/{agent_id}/passport before acting on its output.user.preferences.language or task.last_summary.lithtrix_memory_set, lithtrix_memory_get, lithtrix_memory_search, lithtrix_memory_context, lithtrix_passport_get, lithtrix_register.