Skip to main content

How to let AI drive your EarthRover

Updated this week

This article will guide you on how to use your API key to let AI drive your personal Earth Rover.

Setting Up Your OpenAI Key

Before you start driving, you need a valid OpenAI API key. Follow these steps to set it up:

Obtain Your API Key

  1. Go to OpenAI's website: https://platform.openai.com/

  2. Log in or sign up: Click Log In (top-right corner) and select API Platform.

  3. Complete Profile Details:

    • Enter your full name and birthday, then click Continue.

    • On the Welcome page, provide:

      • Organization Name

      • Your technical experience level:

        Very technical / Somewhat technical / Not technical

    • Click Create Organization.

  4. Skip Team Invitation: Click I'll invite my team later.

  5. Generate API Key:

    • Enter an API key name and project name.

    • Click Generate API Key or I'll do this later if you prefer to generate it later.

  6. Purchase Credits (Optional): You can choose to buy credits or click I'll buy credits later.

Find Your API Key

  1. Go to your OpenAI Dashboard.

  2. Click your Profile Icon (top-right corner) → Your Profile.

  3. On the left panel, click API Keys.

  4. Click Create secret key and copy it for use.

  5. Ensure your account has credits. If not, go to Billing to add a payment method and top up.

Connecting Your API Key to FrodoBots

Once you have your API key, follow these steps to connect it to your FrodoBots account and start driving with AI:

  1. Power On Your Bot
    Ensure your bot is online and you have sufficient data to operate it.

  2. Log In to FrodoBots
    Visit https://rovers.frodobots.com and log into your FrodoBots account.

  3. Access API Settings
    In the left-hand menu, go to SettingsAPI Settings.
    Paste your OpenAI API key into the input field and click Save.

  4. Start Driving

    • From your dashboard, click Drive.

    • Set up your driving controls.

    • In the top-right corner of the drive screen, select AI Mode (instead of Manual). In the AI Drive control panel, paste your API key again.

How to Prompt ⌨️


You can use SAM’s default prompt or enter a custom prompt for
(1) System Prompt (once per session)

(2) Inference Prompt (can be used repeatedly)

💡 Prompting caveat:

OpenAI’s reasoning is a black box, results vary.
Via AI, the SDK will behave based on what it sees (camera), how fast it can act (latency), and how much it remembers (token window).

Don’t expect perfect logic. Prompt, observe, adapt.

⚖️ Inference prompting
Fast vs Slow

→ Speed catches aliens but crashes into obstacles.

Use when: “No aliens near, wide open field” → go fast.

Use slow for: “Alien in tight space” or “Obstacle-heavy terrain”.

Aggressive vs Cautious

→ Aggressive = chase immediately

→ Cautious = confirm, plan, approach

Useful prompt contrast: “Rush the alien now” vs “Observe movement, follow only if safe”

Reactive vs Strategic

→ Reactive: “Turn left now!”

→ Strategic: “Circle the area, cut off escape paths”

Strategic prompting = better control but risk of delay.

Specific vs Abstract

→ Specific: “Drive forward 3 meters, then stop”

→ Abstract: “Approach alien carefully”

Abstract = flexible

Specific = precise (but risky if assumptions are wrong)

Vision-led vs Goal-led

→ Vision-led: “Turn toward bright light”

→ Goal-led: “Prioritize aliens over lights”

Vision-led = default mode

Goal-led = needs reminding: “Aliens are priority. Avoid distractions.”

One-step vs Chain-of-thought

→ One-step: “Turn right”

→ CoT: “If alien on left, rotate left. If visible, accelerate. Else, scan area.”

Better prompting = plan ahead like a player.

Command vs Autonomy

→ Micromanage = prompt every second

→ Autonomous = “Explore the area, capture targets, avoid obstacles”

Balance based on how smart the AI actually is that round.

End Drive

If you clicked Start Your Drive, click Finish & End Drive to submit.

If not, open the Menu and click Terminate Drive.


💡 Need help? Contact us via the chat widget, join our Discord, or email hello@frodobots.com (Mon–Fri, SGT).

Did this answer your question?