# Share Replit Agent Output — Without Handing Out a Replit Account

Canonical: https://commareports.com/agents/share-replit-agent-output
Published: 2026-09-05

> Replit Agent's analysis lives inside a repl, so sharing it means inviting someone into your workspace. Publishing gives the document its own URL and its own access setting.

# Share what Replit Agent produced

Replit Agent is quick at the jobs that end in a document: read this dataset and
tell me what is odd about it, compare these two APIs, write up what the scraper
actually collects. The result lands in a repl.

Sharing a repl to share a document is a bad trade. The reader gets an IDE, your
source, your secrets pane and a run button, and has to work out which pane the
answer is in. Making the repl public is worse — the code goes with it.

## Publish the document, keep the workspace

Put a token in the repl's secrets (from [API tokens](/docs/api-tokens)) and let
the agent publish:

```python
import os, requests

html = open("report.html").read()
r = requests.post(
    "https://commareports.com/api/v1/reports",
    headers={"Authorization": f"Bearer {os.environ['COMMA_API_TOKEN']}"},
    json={"title": "Scraper coverage review", "html": html},
    timeout=30,
)
print(r.json()["url"])
```

Tell the agent that this is what finishing looks like — write the HTML, run the
publish, reply with the URL — and the repl stops being the delivery mechanism.
Full request shape in [the API docs](/docs/api).

## Deployment is for apps, not documents

A deployment is a running process: it costs money while it runs, it sleeps, and
the URL dies when you tear it down. That is a reasonable price for an app and an
unreasonable one for a page of findings that will never change again. See
[hosting an HTML file](/host-html-file) for the general version of this
argument.

## What you get instead

- **Its own access setting**, separate from the workspace.
- **Faithful rendering** in a sandboxed iframe — charts, tables, the lot.
- **Anchored comments** on the specific number someone disputes — see
  [commenting on HTML](/comment-on-html).
- **A stable URL across revisions.** Re-run, update, same link.

## Worth knowing

- **`reports:write` only** — see
  [scoped tokens](/agents/scoped-tokens-for-ai-agents).
- **5 MB of HTML** per report body.
- **Nothing re-executes**, so a report opened by forty people costs the same as
  one opened by nobody.

## Try it

Free — unlimited reports, commenters and revisions.

**[Read the API docs →](/docs/api)**

### Related

- [Where should my agent post?](/agents/where-should-my-agent-post)
- [Share Devin output](/agents/share-devin-output) ·
  [Share Jules output](/agents/share-jules-output)
- [Host an HTML file](/host-html-file) ·
  [Upload an HTML file and get a link](/upload-html-file-get-link)
