Mandates with MCP Integrations
Saline Mandates can be used not just by humans or scripts — but also by AI agents. Thanks to the declarative nature of mandates and on-chain visibility of intents, LLMs can now reason about asset logic, understand constraints, and even match on-chain intents — all without knowing smart contract internals or requiring special training.
These examples show how an AI agent (like Claude or ChatGPT) interacts with Saline via MCP (Machine Control Protocol) to safely transact on-chain.
AI Agent Attempts to Transfer a Blocked Asset and Fails Safely
In this example, we use a natural language prompt to ask an LLM to transfer 2 BTC from a wallet. However, the asset is protected by a mandate requiring that its BTC balance must always stay above 2.0
.
When the LLM tries to create and submit the transaction, the chain rejects it — and the LLM is able to explain why, thanks to the mandate's clear structure.
What this shows:
- Mandates safely guard assets, regardless of who or what is interacting
- Even powerful AI cannot bypass the rules
- LLMs can understand and explain mandate failures without extra training
Watch the demo:
LLM Agent Queries, Matches, and Submits On-Chain Intents
This is something never seen before in any blockchain system.
Most "intent protocols" keep intents off-chain, making it impossible for agents to reason about available opportunities. Saline’s intents are fully on-chain, so AI can:
- Query all existing swap intents using Saline SDK
- Parse them to find possible matches (even partial matches)
- Submit matching transactions — with no prior coding knowledge
All of this is done via prompts to the LLM.
What this shows:
- Mandates + on-chain intents enable open agent ecosystems
- AI can discover and execute trades across users and assets
- No custom smart contracts, no custom parser — just natural language + SDK
Watch the demo:
These examples demonstrate how AI agents can interact directly with Saline Network and its Mandates — safely, intelligently, and without privileged access — because the rules live on-chain.