Intent Surfaces™


Download on github
02
Problem
Still ignored. You resort to:
Maybe it works. Maybe it doesn't. You have zero control.
You're fighting stochastic execution with natural language.
The agent framework controls the tools.
LLM models control the interpretation (you don't)
Prompts are your only lever (unreliable)
This is the Control Problem.
Result: Every execution is a gamble.
Switch models? Breaks. Switch agents? Breaks. Switch frameworks? Breaks.
You need determinism. You're getting probability.
“ This is the Control Problem. mq solves it. ”
03
Solution
Not by writing code. By doing what you already do: exploring, querying, iterating.
Context is engineered by the agent executing the task through mq.
mq does the heavy lifting: assesses call flow, guides execution, converts successful patterns into scripts for future use.
Needs
Then, when you (or an agent) needs that context again:
No retries
No mistakes
No rediscovery
Deterministic invocation from natural language
Context
Your interactive MCP session becomes a first-class artifact: cached, compiled, discoverable, shareable.
That's the difference:
First time:
15 minutes, 8,400 tokens
Learns
Every time:
2 seconds, 250 tokens
Executes
Discovery
Prevents re-learning what's known
Caching
Enables instant error correction without retries
Reification
Transforms explorations into procedures
Three Features That Make Context Engineering Like Code
Watch how all three features work together
Session Management
-s flag handles all session headers
Template Variables
Extract once, use everywhere
Native Query Engine
jq-compatible <100μs query time
OAuth Validation
Flows validate tokens automatically
RUST
SPEED
Smart
MEMORY
Installation
Installation
curl -fsSL https://github.com/modiqo/mq-releases/releases/latest/download/install.sh | bash
Linux (x86_64/ARM64/musl)
macOS (Intel/Apple Silicon)
Windows
Quick Start
1
Search procedural memory first
2
If not found, agent explores (mq observes and guides)
3
Successful sequence becomes memory
4
Future invocations = habit execution
Why This Matters
HUMANS
AGENTS
MQ
mq demonstrates that MCP contexts can be first-class artifacts: learned through iteration, cached for efficiency, reified as procedures, shared across agents, adaptively forgotten when stale.
Context engineering is code. Agents write it through exploration. mq captures it.

For MCP Server Providers: Bootstrap Your Adoption
Here's a strategy that changes the game:
If you provide an MCP server, create common flows for your API and distribute them with your server.
Why this matters:
When customers install your MCP server, their agents start with procedural memory. No exploration phase. No trial-and-error. No token waste discovering your API patterns.
First interaction:
Your customers get instant value. Their agents invoke your API correctly from day one. You control the best practices through distributed procedural memory.
This is how MCP servers should ship: with habits, not just capabilities.
Open Source & MIT Licensed
Version 0.4.3
MIT Licensed • Pure Rust • No Neural Nets • Self-Learning Execution Layer
Made with love for MCP, curl, and jq by Modiqo




