Gives you persistent long-term memory across Telegram channels and groups. Search conversations, generate digests, extract decisions and action items.
When the user asks anything related to Telegram memory, channels, or this skill, and AGENT_MEMORY_API_KEY is not configured, walk them through setup:
amk_)bash
# Add to openclaw.json skills config
cat ~/.openclaw/openclaw.json | jq '.skills.entries["agent-memory"] = {"env": {"AGENT_MEMORY_API_KEY": "USER_KEY_HERE"}}' > /tmp/oc.json && mv /tmp/oc.json ~/.openclaw/openclaw.json
Or if openclaw.json doesn't exist or has no skills section, create it. Then tell the user to restart the OpenClaw session.
All API calls use: Authorization: Bearer $AGENT_MEMORY_API_KEY
Base URL: https://agent.ai-vfx.com
Find information across synced Telegram channels. Use for any question about channel content.
bash
curl -s -X POST https://agent.ai-vfx.com/api/v1/memory/search \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AGENT_MEMORY_API_KEY" \
-d '{"query": "what was discussed about topic X", "scope": "@channel", "limit": 10}'
scope: optional — @username for one channel, folder:Name for a folder, omit for all{"answer": "...", "sources": [{"url": "https://t.me/...", "channel": "..."}]}See which channels are connected.
bash
curl -s https://agent.ai-vfx.com/api/v1/sources \
-H "Authorization: Bearer $AGENT_MEMORY_API_KEY"
Connect a new Telegram channel. User must have connected their Telegram in the bot first.
bash
curl -s -X POST https://agent.ai-vfx.com/api/v1/sources/add \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AGENT_MEMORY_API_KEY" \
-d '{"handle": "@channel_username", "sync_range": "1m"}'
sync_range options: 1w, 1m, 3m, 6m, 1y
Summarize conversations for a period.
bash
curl -s -X POST https://agent.ai-vfx.com/api/v1/digest \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AGENT_MEMORY_API_KEY" \
-d '{"scope": "@channel", "period": "7d"}'
period options: 1d, 3d, 7d, 30d
Get decisions, action items, and open questions.
bash
curl -s -X POST https://agent.ai-vfx.com/api/v1/decisions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AGENT_MEMORY_API_KEY" \
-d '{"scope": "@channel", "topic": "optional filter"}'
Check if channels are still syncing after add_source.
bash
curl -s https://agent.ai-vfx.com/api/v1/sync-status \
-H "Authorization: Bearer $AGENT_MEMORY_API_KEY"
Check remaining points.
bash
curl -s https://agent.ai-vfx.com/api/v1/account/balance \
-H "Authorization: Bearer $AGENT_MEMORY_API_KEY"
1 point ≈ $0.01. Search: 3 pts, Digest: 25 pts, Decisions: 12 pts. Top up via TON in @AgentMemoryBot.