Just usage-based billing that scales with your revenue.
Get started
Quickstart
Set up your first affiliate program in 5 minutes.
Agent Setup
Connect AgentRef to Claude, Codex, Cursor, OpenClaw, or any AI agent via MCP.
API Reference
Explore the REST API, SDKs, and authentication.
Why AgentRef?
Most affiliate platforms charge $50–500/month before you have a single affiliate. AgentRef flips that model:- $0 to start. No credit card required. Create your program, invite affiliates, and go live immediately.
- Usage-based pricing. You pay a small percentage of tracked commissions – only after conversions happen.
- Agent-compatible. Manage your affiliate program through AI assistants using the MCP server, SDKs, or REST API when it fits your workflow.
Core concepts
Before diving in, here are the terms you’ll see throughout these docs:| Concept | What it means |
|---|---|
| Program | Your affiliate program. It defines commission rates, cookie duration, payout rules, and tracking settings. One merchant can run multiple programs. |
| Affiliate | A partner who promotes your product using unique referral links. They earn commissions on conversions they drive. |
| Click | A tracked visit through an affiliate’s referral link. AgentRef records the click and drops a first-party cookie for attribution. |
| Conversion | A successful sale or signup attributed to an affiliate. Created automatically via Stripe webhooks or manually through the API. |
| Commission | The amount an affiliate earns for a conversion. Can be a percentage of revenue, a fixed amount, or recurring for subscription products. |
| Payout | The transfer of accumulated commissions to an affiliate once they hit the payout threshold. |
How it fits together
- You create a program with your commission structure.
- Affiliates join and share referral links.
- AgentRef’s tracking script captures clicks and sets attribution cookies.
- When a visitor converts (via Stripe), AgentRef matches the conversion to the affiliate.
- Commissions accumulate until the payout threshold is reached.
- Payouts are processed on your chosen schedule.
What makes AgentRef different
Agent-Compatible
OAuth-ready MCP server with setup, growth, payout, and affiliate workspace tools. Your AI assistant can operate AgentRef through natural language.
Zero-Cost Start
No monthly fees, no setup costs. You only pay when affiliates actually drive revenue for your business.
Stripe-Native
Connects directly to your Stripe account. Conversions are tracked automatically through webhooks – no manual reporting.
Built for SaaS
Supports recurring commissions for subscriptions, handles refunds and chargebacks, and scales from day one.
Next steps
How It Works
Understand the full attribution chain from click to payout.
Quickstart Guide
Get your first program running in under 5 minutes.