# Fix issues in Modal without the digging.

Connect your workspace with one token. Nothing to add to your code.

For connection steps, permissions and resource discovery, [Set up the Modal integration](/integrations/modal/).

## Supported resources

- Environment
- App
- Function
- Class
- Sandbox
- Image
- Volume
- Secret
- Queue
- Dict

## Polylane watches what Modal exposes.

### Tracks errors per app

Modal reports no error rate, and code that raises can still exit as a success. Polylane watches how much each app writes to stderr instead, against its own normal.

### Catches runaway spend

Polylane checks your Modal spend every hour. A looping function or a container that never exits shows up before the invoice does.

### Watches cold starts and queues

Polylane tracks sandbox startup time and queue depth, and tells you when they drift from normal.

### Links endpoints to their callers

Services on other clouds that call a modal.run endpoint show up connected to it in the graph.

### Fixes it in your code

When the cause is in your code, Polylane opens a pull request with the fix on the repo behind the app.

### Token kept away from agents

Your workspace token ID and secret are encrypted before they're stored and never reach an agent.

## Questions

**Is Polylane an AI SRE for Modal?**

It does that work; we call it self-operating software. Polylane keeps your apps, functions, sandboxes and queues in one graph, investigates what breaks and fixes it with your approval.

**Can Polylane change my Modal apps?**

Polylane investigates and tells you what it found. Code fixes go to the repo behind the app, and any write waits for your go-ahead unless you've allowed it ahead of time.

**How does detection work without alert rules?**

Polylane watches what Modal actually exposes, against the workspace's own history: stderr volume, spend per hour, sandbox startup time and queue depth. Modal doesn't expose error rates or GPU metrics.

**Does it work with my observability provider?**

Yes. Polylane supports all the major observability providers, and you can connect any other through MCP. The full list is on polylane.com/integrations.

**What does it cost?**

There's a free plan to get started. Every plan, price and limit is on polylane.com/pricing.

Get started with one command: `curl -fsSL https://polylane.com/setup | bash` installs the CLI, connects your coding agents, and creates the account.
