Quickstart

tyga.run + Cursor

Add 48 SDK modules and 4,627 endpoints to your Cursor workflow. Create and operate any SaaS from your agent.

Claude Code Cursor Cline Windsurf Aider

Setup

Step 1 — Install the CLI

Install the tyr CLI and create your SaaS tenant in one step:

npm install -g tygarun
tyr signup my-project --local

This creates the SaaS tenant and auto-saves the API key to .tyr/config.json.

Step 2 — Add to .cursorrules

Add this to your project's .cursorrules:

## tyga.run
This project uses tyga.run for SaaS infrastructure.
Use the `tyr` CLI for all operations. Key is in .tyr/config.json (auto-loaded).

### Session start
tyr status        # SaaS overview
tyr health        # SDK health

### Commands
tyr users                    # list users
tyr user create "email"      # create user
tyr plans                    # subscription plans
tyr invoices                 # list invoices
tyr tickets                  # support tickets
tyr api GET /any/endpoint    # raw API access
tyr --help                   # full reference

Cursor reads this at session start and gains full SDK knowledge.

Your First Commands

Step 3 — Create a SaaS

Ask Cursor: "Create a scheduling SaaS called MyBookings"

# Create your SaaS
tyr signup my-saas --local --category scheduling

# Check status
tyr status

# You're live. Start building.

What Your Agent Can Do

# Create a user
tyr user create "user@mybookings.com" --role member

# Create an event type
tyr api POST /scheduling/event-types --data '{"name":"30-Min Consultation","duration":30}'

# Create a booking
tyr booking create --event-type evt_123

# Create a support ticket
tyr ticket create "Booking issue" -p medium

# Check health
tyr health

48 SDK Modules

Every module is callable via the CLI. Your agent picks the modules it needs:

Identity:    auth, apikeys, teams, saas
Finance:     billing, accounting, open-banking
Sales:       crm, contracts, recruitment
Engagement:  scheduling, channels, support, community, notifications, email, surveys
Commerce:    ecommerce, event-ticketing, marketplace
Content:     website, news-publishing, elearning, file-management
AI:          ai, analytics, gamification, widgets, datagrab
Telecom:     icuk, mvno, broadband, broadbandprovisioning, isp, ispreseller, hosting, domains
Compliance:  compliance, hmrc, companieshouse
Infra:       appdeploy, webhooks, map, postcode, project-management, tyga
Verticals:   esports, fitness

Agent Autonomous Loops

Your agent doesn't just call APIs — it runs autonomous business loops:

LOOP 1: Customer Onboarding
  tyr user create "user@company.com" --role member
  tyr plan create "Pro" --price 29.99 --interval monthly
  tyr api POST /scheduling/event-types --data '{"name":"Consultation","duration":30}'
  → Customer can self-serve. Zero human touch.

LOOP 2: Support Operations
  tyr ticket create "Dashboard issue" -p high
  tyr tickets --status open
  tyr ticket update TICKET-ID --status resolved
  → Support runs 24/7. Agent handles it.

LOOP 3: Sales Pipeline
  tyr lead create "John Smith" --email john@co.com
  tyr opportunity create "Enterprise Deal" --value 50000
  tyr pipelines
  → Pipeline managed by agents. You watch the dashboard.

Full References

tyr --help — Full CLI reference
tyr init — Quickstart guide in terminal
llms.txt — Machine-readable API reference
API Docs — Interactive swagger UI for all 48 modules
Sign Up — Free tier, no credit card