somnia-agents-llm-inference

Community

Deterministic on-chain LLM inference for smart contracts.

Authoremrestay
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables smart contracts to access a deterministic on-chain LLM, ensuring consistent AI outputs across validators.

Core Features & Use Cases

  • On-chain LLM Invocation: Call a fixed-seed, temperature=0 language model for predictable results in applications like moderation, classification, or decision-making.
  • Multi-Function API: Supports string, number, multi-turn chat, and tool- calling inference methods tailored for complex AI interactions.
  • Use Case: Build on-chain governance bots that classify comments or generate summaries with guaranteed deterministic outputs.

Quick Start

Use the inferString function with a prompt and specify allowed values to classify content on-chain.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: somnia-agents-llm-inference
Download link: https://github.com/emrestay/somnia-agents-skills/archive/main.zip#somnia-agents-llm-inference

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.