Skip to main content

Agent Workflow

Agent Workflow

1. Introduction

The Agent Program allows you to earn revenue by referring new users to the platform. This tutorial explains how to find your referral code, track your earnings, and use the Jules AI assistant to support your referred users.

2. Step 1: Get Your Referral Code

  1. Click Help in the navigation bar.
  2. Look for the "Invite User" section (visible if referrals are enabled).
  3. Copy your unique Referral Link or Code.
  4. Share this code with potential users via email, social media, or direct outreach.

How referrals work: When a user signs up using your referral link or code, they are permanently linked to your account. Both you and the new user receive Awarded Credits as a sign-up incentive (subject to the platform's maximum referral cap).

3. Step 2: Track Referrals and Revenue

  1. When a user signs up with your code, they are linked to you.
  2. Click Revenue in the navigation bar.
  3. Switch to the Referral Revenue tab.
  4. Referral List: Use the dropdown menu to view and select users you have referred.
  5. Revenue Metrics:
    • True Revenue — The portion of your referred users' spending that came from Purchased Credits (not Awarded Credits). This is the figure used to calculate your commission.
    • Total Deployments — Number of deployments completed by your referred users.
    • Drill down into a specific user to see their individual deployment history and credit spending.

Commission note: Your earnings are calculated as a percentage of True Revenue generated by your referred users. Awarded Credits consumed by a referred user do not count towards your commission.

4. Step 3: Using Jules AI to Support Referred Users

Jules is an AI assistant integrated into the platform that can help you analyse module issues, suggest configuration improvements, and debug deployment failures on behalf of your referred users.

Setting Up Jules

  1. Click your Profile Avatar > Profile.
  2. Scroll to API Settings.
  3. Enter your Jules API Key.
  4. Click Save API Settings.

Using Jules

Once configured, Jules is accessible from the Publish page for any module you have access to:

  1. Navigate to Publish.
  2. Find the module you want to analyse.
  3. Click the Sparkles Icon (✨) on the module card to open a Jules session.
  4. In the Jules panel you can:
    • Ask questions about the module's Terraform code or variable definitions.
    • Describe a deployment error from a referred user's logs and ask Jules to suggest a root cause and fix.
    • Request improvements — Jules can suggest variable defaults, descriptions, or structural changes to the module.
    • Approve suggestions — Review Jules's recommended changes and click Approve to apply them to the module source, or dismiss them if not applicable.
  5. Each conversation is tracked as a Jules Session. You can return to a previous session to continue a conversation or review earlier suggestions.

Jules Session Reference

ActionWhat It Does
New SessionStarts a fresh conversation with Jules scoped to the selected module
Send MessageSubmits a question or instruction to Jules
View ActivitiesShows a history of all suggestions Jules has made in this session
ApproveApplies a Jules suggestion (code change, variable update) to the module
Add SourceAttaches additional context (e.g., a log snippet, a Terraform file) to the current session

5. Step 4: Withdrawals

(This section is informational)

  • Payouts are processed monthly based on the previous month's True Revenue from your referred users.
  • Contact support if you need to update your payout method or have questions about a specific payout amount.