Tool Types
Function, MCP, and Storm - when to use each. Read more →
This guide walks you through the full builder journey on Rival - from signup to earning from your published tools. Each step is self-contained, so you can jump to any section if you’re already partway through.
Go to cortexone.rival.io and create your account. You’ll verify your email, create an organization (your workspace on Rival), and set up a passkey. Choose your organization name carefully - it appears in tool URLs and marketplace listings and is difficult to change later.
For the full walkthrough, see the Quickstart.
After your org is set up, verify your phone to unlock $10 in Welcome Credits. These land in your Run Balance and are usable for any tool or agent run - perfect for testing your own work before spending more. Phone verification also unlocks Refer & Earn.
Before building, spend a few minutes in the Marketplace (top nav, or /marketplace). Browse Functions, MCPs, and Storm tools, run a couple using your Welcome Credits, and pay attention to how the published ones are documented. That’s your bar.
Open Studio at cortexone.rival.io/studio. This is where you build tools. You can either start from a blank Tool Editor or - much faster - chat with RivalBot and describe what you want.
In the “What do you want to build?” prompt, describe your tool in plain language. RivalBot generates code, an input schema, test cases, metadata, and an icon, then hands you the Tool Editor pre-filled. Iterate by chatting - “Add error handling”, “Also accept an optional language parameter” - instead of rewriting by hand.
See Building with RivalBot for the full chat experience.
Three options:
For Functions, pick Python, Python 3.13 — Fast, JavaScript, or Lua. For MCP tools, pick Python, JavaScript, or Lua. Python has the broadest ecosystem and is the default for AI/data work. Python 3.13 — Fast has the lowest Python latency but no outbound HTTP. JavaScript and Lua have fast cold starts. Storm tools don’t use a runtime.
The handler is the function Rival calls when your tool is executed. It receives the input event and must return a structured response. Keep it focused and return clear errors on bad input. See Writing Code for language-specific details.
The input schema is the contract between your tool and its callers - including AI agents that read it to know how to call you. After defining it, save at least one event with realistic values. Events power the Test panel and appear in the marketplace listing.
If you need API keys or secrets, set them as environment variables in your tool’s settings - don’t hardcode. See Environment Variables.
Run your saved events from the Test panel inside the Tool Editor. Check the output shape, edge cases, and error responses. Use the Run History to inspect any failed runs.
Add a clear one-sentence description, a useful overview, and per-field docs for your inputs and outputs. Usage is driven by clarity - a well-documented tool will out-perform a technically better but vague one every time.
When you’re ready, publish from the Tool Editor. Pick visibility (Private or Public) and pricing (Free or Paid). Paid tools earn you 85% of every run - see Monetization. See Versions & Publishing for the full publish flow.
Every tool has an API endpoint. Create an API key in your account settings, then POST to the tool URL with a JSON body containing an event field. Pass the key as Authorization: <key> (no Bearer prefix). See Error Reference for response codes.
The My Tools dashboard has tabs for All · Built by you · Used · Favorites · Run History. Run History shows every execution - input, output, run cost, status - so you can debug failures and watch real-world usage.
Earnings from paid tools land in your Wallet. Set up Payouts to withdraw. Share your Refer & Earn link to earn 5% of revenue from anyone who signs up through it - paid from Rival’s platform cut, capped at $500 per referred user per year.
Tool Types
Function, MCP, and Storm - when to use each. Read more →
Writing Code
Handler structure, runtime details, and language-specific guides. Read more →
Building with RivalBot
Generate tools from a plain-language prompt. Read more →
FAQs
Quick answers about credits, publishing, and plans. Read more →