Install
openclaw skills install telegram-agent-memoryLong-term Telegram memory for AI agents — search conversations, get digests, extract decisions. Connects to any Telegram channel via user's own account.
openclaw skills install telegram-agent-memoryGives 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_)# 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.
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.
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.
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.
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.
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.
curl -s https://agent.ai-vfx.com/api/v1/sync-status \
-H "Authorization: Bearer $AGENT_MEMORY_API_KEY"
Check remaining points.
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.