Skip to content

Rival Documentation

Rival Platform · Docs

The platform for AI agents - and the tools they call.

Configure an agent in 30 seconds. Ship a tool in any runtime. Publish to a marketplace. Run any of it with one HTTP request.

Browse the marketplace ↗

rival-bot · chat
Summarize the top three AI papers from this week.
YOU
RB

On it - pulling from arXiv and Hacker News.

tool · arxiv_search · success

Top three: Tree-of-Thought v2, Mixture-of-Depths, Agentic Self-Verification.

Draft a launch email for our new pricing tier.
YOU
RB

Pulling brand voice and recent launch templates.

tool · brand_voice · loaded

Draft ready - three variants attached. Want me to schedule send?

Find 5 fintech leads that raised $10M+ this quarter.
YOU
RB

Querying enriched data and filtering by raise.

tool · search_companies · 412 hits

Top 5 ranked by fit - opening them in your CRM now.

Start here

Quickstart

Create your account, set up your organization, and unlock your welcome credits in five minutes.

Get started →

Build your first Agent

Configure an AI assistant with tools, knowledge, and a personality. Publish it to your org or the marketplace.

Build an agent →

Ship your first Tool

Write a serverless function in Python, JavaScript, or Lua. Test it in the browser. Run it via API.

Create a tool →

Run with one request

Every published tool and agent is callable over HTTP with your API key. No SDK required.

API reference →


Two ways to build


What you get on Rival

Versioned by default

Every publish is immutable. Old versions stay callable. New versions ship without breaking anyone.

Marketplace built in

Publish privately to your org, or publicly to the marketplace. Free or paid, your choice.

Multi-runtime

Python 3.13, JavaScript, and Lua - pick the right tool for the job, per tool.

Pay only for what you run

Run Balance covers agent usage. Wallet covers direct tool execution. Top up any time.

Built for AI

First-class MCP support. Agents can call tools, sub-agents, and OAuth connectors out of the box.


Run anything with one request

Every published tool and agent is callable over a simple HTTP endpoint.

Terminal window
curl 'https://cortexconnect.rival.io/api/v1/functions/{function_id}/{version}/invoke' \
--header 'Authorization: <your_api_key>' \
--header 'Content-Type: application/json' \
--data '{"event": {"key": "value"}}'

Your API key lives in account settings. Function ID and version appear on every tool’s detail page.


Get going in four steps

  1. Sign up and create your org

    Sign up at cortexone.rival.io, name your organization, and verify your phone to unlock welcome credits.

  2. Build something

    Configure an agent in 30 seconds - or write a tool in your favorite runtime. Use RivalBot to generate the first draft for you.

  3. Test in the browser

    Run test events against your tool, or chat directly with your agent to validate behavior before sharing.

  4. Publish and call

    Choose visibility (Private, Org, Public), set a version, and you’re live. Call your tool or agent from anywhere with one HTTP request.


Pick your runtime

Python 3.13

Data processing, ML inference, and full library support via requirements.txt. Docker-based execution, fresh environment per call.

Python guide →

JavaScript

Lightweight logic, JSON transforms, and fast cold starts. Isolated V8 worker per execution. Synchronous-only - no async / await.

JavaScript guide →

Lua

Ultra-fast sandboxed scripting with minimal overhead. Perfect for transformations and lightweight policy code.

Lua guide →


Go deeper