Docs

Welcome to the Somnia docs

Good to see you.What will you build?

Somnia runs order books, matching, oracles, agents and settlement as smart contracts on one fast EVM chain. Pick a path below and we’ll take you to the right page, or hand these docs to your coding agent and build together.

I want to…

Pick a path

Six common starting points, each with the pages that get you there.

Agent-first docs

Hand the docs to your agent.

Every page is written so a coding agent can follow it. Pick a goal, paste the prompt into Claude, and it reads the whole corpus and builds with you on testnet.

A bot streaming a live order book and placing orders on testnet, fills visible in the explorer.

paste into Claude
Read https://docs.somnia.network/llms-full.txt, then build me a trading bot on Somnia testnet: pick a live market, stream its order book, place and cancel small post-only orders, and show my fills from the explorer API. Set up keys and testnet funds the way the docs describe, and ask me before anything touches mainnet.

The platform

Explore every section

The same sections as the Somnia Explorer, each with a page for every product in it. They’re in the sidebar too.

Stuck? We’ve got you.

Send feedback

Agents: POST the same to /api/feedback.