> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onspace.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Scanner Agent

> Real-time detection of runtime errors and performance issues as you code.

### What is Scanner Agent?

Real-time monitoring and analysis of your application’s runtime behavior with intelligent error detection and performance profiling. Proactive issue identification with contextual debugging insights - your code gets a guardian angel that actually knows what it’s doing.

#### Follow these simple steps to activate real-time monitoring for your application:

#### **Step 1: Enable Runtime Scanner**

Click the **Runtime Scanner** toggle to activate Scanner Agent. The system needs a moment to initialize.

<img className="block dark:block" src="https://mintcdn.com/soulzaiinc/DP_um_9EGfdPiKQZ/images/enable.jpg?fit=max&auto=format&n=DP_um_9EGfdPiKQZ&q=85&s=a543839f124ff350f97bd35d0e803ad7" alt="Hero Dark" title={true} style={{ width:"100%" }} width="2868" height="1420" data-path="images/enable.jpg" />

#### **Step 2: Check Connection Status**

Once activated, Scanner Agent enters **monitoring mode** for real-time stability and performance tracking.

Look at the botton side of your screen to check the Scanner Agent status:

* **🟢 Live** - Your app is successfully connected to our cloud sandbox

<img className="block dark:block" src="https://mintcdn.com/soulzaiinc/DP_um_9EGfdPiKQZ/images/live.jpg?fit=max&auto=format&n=DP_um_9EGfdPiKQZ&q=85&s=4943d6c4e40b12a7a1c5c0541015fb77" alt="Hero Dark" title={true} style={{ width:"100%" }} width="2852" height="1420" data-path="images/live.jpg" />

* **🔴 Disconnected** - Network connection lost. Click **"Reconnect"** to restore the link

<img className="block dark:block" src="https://mintcdn.com/soulzaiinc/DP_um_9EGfdPiKQZ/images/disconnected.jpg?fit=max&auto=format&n=DP_um_9EGfdPiKQZ&q=85&s=63d786f9faaa0e1294240a9684081eff" alt="Hero Dark" title={true} style={{ width:"100%" }} width="2864" height="1426" data-path="images/disconnected.jpg" />

#### **Step 3: Monitor and Fix Runtime Errors**

When Runtime Scanner detects issues during app execution, they'll appear in the **Runtime Scanner** section.

You have three options:

* **Fix All** - Automatically resolve all detected errors at once
* **Expand & Fix Individual Issues** - Click on a specific error, then hit **"Fix Now"** for targeted repairs
* **Dismiss** - Ignore the error if you don't want to address it right now

<img className="block dark:block" src="https://mintcdn.com/soulzaiinc/DP_um_9EGfdPiKQZ/images/fixerror.jpg?fit=max&auto=format&n=DP_um_9EGfdPiKQZ&q=85&s=6005e29f25db89aee4fed8685aa1e855" alt="Hero Dark" title={true} style={{ width:"100%" }} width="2848" height="1424" data-path="images/fixerror.jpg" />

#### **Step 4: Verify Success**

After successful fixes, your Runtime Scanner should show a clean slate - no errors detected. Your app is now running smoothly under Cloud Agent's watchful eye.

<img className="block dark:block" src="https://mintcdn.com/soulzaiinc/DP_um_9EGfdPiKQZ/images/fixended.jpg?fit=max&auto=format&n=DP_um_9EGfdPiKQZ&q=85&s=4b3dc5dbfa3ee164ab3bab2ff5c056a2" alt="Hero Dark" title={true} style={{ width:"100%" }} width="2860" height="1420" data-path="images/fixended.jpg" />
