What problem does it solve?
This Skill enables smart contracts to perform deterministic LLM inference on-chain, so validator consensus can be maintained for AI-driven decisions. It turns natural-language prompts into byte-identical outputs that other contract logic can reliably branch on.
Core Features & Use Cases
- Deterministic LLM Inference: Uses Qwen3-30B with fixed seed and temperature=0 for byte-identical results across validators.
- Typed Inference APIs: Supports inferString, inferNumber, inferChat, and inferToolsChat for both simple classification and multi-turn reasoning.
- On-chain Tool Yield/Resume: Lets contracts request LLM tool usage, yield calldata back to callers, then resume the conversation after execution.
- MCP Tool Calling: Enables auto-executed MCP tool calls for real-world data or deterministic tool outputs.
- Allowed-Values Constraints: inferString can be forced into a closed set to support safe branching logic.
Quick Start
Ask the LLM Inference agent to classify a review into one of the allowed sentiment labels and return the resulting string label for your contract to act on.