Torqon MCP Memory Loop
Store a memory in Torqon, retrieve the right context, then optimize it for an Agent reply inside Heym.
Shared by Maan · 2026-07-03
The full canvas, before you import it
Click any node to see its config.
Click a node to select it — same as the Heym editor; the panel shows its settings.
3 nodes · Community-contributed
Torqon MCP Memory Loop
Use Torqon as a persistent memory and context optimization layer inside a Heym Agent workflow. This community template keeps the flow explicit: first store a memory, then retrieve relevant context, then optimize the context window before returning a response.
What this workflow does
- memoryRequest accepts a memory note, a question, and optional extra context
- torqonMemoryAgent starts the Torqon MCP server locally with
npx - The Agent calls
store_memorywith the memory note - The Agent calls
retrieve_contextwith the question - The Agent calls
optimize_contexton the retrieved context plus the extra context - memorySummary returns the stored-memory summary, retrieved context, and optimized context
Setup
Create a Torqon API key from dashboard.torqon.dev, then import this template into Heym. Open torqonMemoryAgent, find the Torqon MCP connection, and replace <user-api-key> in the TORQON_API_KEY env field with your own key. Heym runs the MCP server with npx -y @torqon/mcp@latest.
Connect an LLM credential to torqonMemoryAgent, run the workflow once with the sample fields, then swap in your own memory notes and questions.
Memory scope
Personal memory is tied to the API key, so only that key can read and write the stored memory. Workspace memory is shared across an organization, so member keys read and write to the same memory pool. The Torqon tools stay the same; scoping happens automatically from the key.
Notes
This first version intentionally uses the explicit store_memory -> retrieve_context -> optimize_context sequence instead of auto_process. The two-step memory loop is easier to inspect, and adding optimization shows where heavy context windows can shrink before the final Agent response.
Notes
This is a community-contributed template, shared by a member of the Heym community. Review the workflow and update any credentials or model settings before running it in your own workspace.
Curator note: Torqon shared the stdio MCP setup for this community template.
How to import this template
- 1Click Import → Copy JSON on this page.
- 2Open your Heym and navigate to a workflow canvas.
- 3PressCmd+V/Ctrl+V— nodes appear instantly.
Discover more automations
- Customer SupportHITL Support Reply AgentDraft a customer-facing support response, pause for human approval, then continue with the reviewed reply.
- Marketing & SEOReddit Subreddit GET Tool CallLet an Agent call a no-key HTTP GET tool that fetches hot posts from a subreddit JSON feed.
- AI AgentsBatch LLM Status TrackerSend an array through the OpenAI Batch API, branch on live status updates, and collect the final per-item results.
- Customer SupportIMAP Support Inbox TriageWatch a shared mailbox, summarize incoming support email, and route urgent messages to Slack.
- Document OpsFile Upload Intake MetadataMint a single-use upload link, receive a multipart file, and return clean metadata plus the Drive download URL.
- Document OpsJina Web FetcherFetch clean, LLM-ready text from any URL using the Jina Reader API.
- Dev & IT OpsCursor Post NotifierMonitor the Cursor blog on a schedule and Slack-notify your team when a new post goes live.
- Marketing & SEOGemini Image CreatorGenerate images from a text prompt using Gemini's native image output.
- Document OpsPDF / DOCX Translation AgentTranslate the full text of any uploaded document using an AI agent.
- Dev & IT OpsClaude Blog MonitorMonitor the Anthropic blog on a schedule and Slack-notify your team on new Claude posts.
- App IntegrationsOpen-Meteo Weather SnapshotPull live weather (no API key) from Open-Meteo for any city coordinates — great for travel bots and dashboards.
- Dev & IT OpsGitHub Release RadarCompare the latest GitHub release tag against Redis and notify Slack when a project ships a new version.