---
title: "AI Agent Workspace for Indie Developers: Build & Ship"
description: "Build, preview, test, and ship solo projects in one Cohub Space: cloud sandbox, live port previews, CLI publishing, local runtime, and scheduled tasks."
lang: "en"
canonical: "https://cohub.live/use-cases/indie-developer-ai-workspace"
image: "https://cohub.live/_seo/og/use-cases/indie-developer-ai-workspace.png"
updated: "2026-12-02"
---

# How one Cohub Space works as an AI agent workspace for indie developers

Cohub is an AI agent workspace for indie developers: each Space has a cloud sandbox the agent runs commands in, port previews, one-command publishing and prompts that run on a schedule.

- **Who:** A solo developer who builds and ships small products alone and wants the agent to run, test and publish code as well as write it.
- **When:** You have a side project, a demo or a paid tool to ship and no time to babysit servers and cron boxes.
- **Why:** A Cohub Space bundles the computer, the agent, previews, publishing and schedules, and the same Space works from the browser, the CLI or your own laptop.

![The Files panel of a Cohub Space: the project's data folder open and readings.csv previewed as a table, 120 rows by 7 columns](https://cohub.live/_seo/img/ui/ui-files-desktop-light.webp)

![The Files panel of a Cohub Space with two running ports ready to preview](https://cohub.live/_seo/img/spaces/space-files-ports.webp)

![Terminal output of cohub runtime --help: connect local harnesses and files to a Space](https://cohub.live/_seo/img/cli/cli-runtime-dark.webp)

Source: <https://www.npmjs.com/package/@neta-art/cohub-cli>

Shipping a side project or paid utility alone usually splits work across a local editor, a hosting dashboard, a cron box, and an AI chat tab. Using Cohub as an AI agent workspace for indie developers puts one cloud computer and an agent that actually executes commands inside the same Space—covering live port previews, immutable Saves, one-command App publishing, and background automation.

## What one solo Space holds
Instead of wiring separate services together, a single Space groups the moving parts a solo builder reaches for every day:

| Solo workflow need | Space capability | Key detail |
|---|---|---|
| Run servers and inspect UI | [Sandbox](https://cohub.live/docs/workspace/files-and-sandbox) | Runs processes and surfaces live port previews right next to Chat; `/workspace` persists across idle stops |
| Delegate coding and ops | In-sandbox agent | Reads files, runs shell commands, and loads `SKILL.md` skills inside the Space |
| Safe rollback before refactors | Saves | Immutable workspace snapshots you can diff, restore, or fork into a fresh Space |
| Ship a public link | Apps | Publishes a single file, static directory, or live port at `/:username/:space/w/:app` |
| Background maintenance | Schedules & Space hooks | Runs recurring prompts on a clock and reacts to file changes without an open browser |

## Five steps from blank Space to a live URL
1. **Scaffold and preview**: Create a Space for the project, ask the agent to build the initial structure, and open the dev server's live port preview beside Chat.
2. **Record a Save**: Snapshot the workspace once the first end-to-end flow works so you have an immutable baseline to diff or restore.
3. **Publish from the CLI**: Run `cohub -s <space> apps publish app --port 5173` for a running server, or add `--source workspace --dir dist` for a static build.
4. **Schedule morning checks**: Set up recurring checks with [Scheduled prompts](https://cohub.live/features/scheduled-prompts) so the agent runs routine work without your browser open.
5. **Run tests automatically on file edits**: Drop a Space hook under `.cohub/hooks/` to trigger `npm test` whenever files under `src/` change:

```yaml
# .cohub/hooks/test-on-change.yml
schema: cohub.space-hook.v1
on:
  event: space.fs.changed
  paths: [src/**]
run: |
  npm test
```

![The same directory App at phone width, side by side: the Northwind Atlas station list filtered by region, and the Kestrel Bay station page with readings and charts](https://cohub.live/_seo/img/demo/atlas-mobile-pair-light.webp)

## Switching between cloud sandboxes and your laptop
- **Customizing the cloud sandbox**: Put system dependencies and install steps in `.cohub/setup.sh`, which runs every time a fresh cloud sandbox starts. When creating a Space, choose a sandbox spec (`standard`, `boost`, or `ultra`) and an idle policy; larger specs can require a higher plan.
- **Attaching a local checkout**: Run `cohub runtime up ./my-project` to attach a folder on your laptop as the Space's runtime so the agent operates directly on your local tree. The [CLI docs](https://cohub.live/docs/developers/cli) list the local harnesses it can drive: Pi, Codex, Claude Code, WorkBuddy, and Cursor's `cursor-agent`. Commands execute under your local OS user, so the CLI prompts for consent before starting.

## Domains, one-time products, and usage billing
Any published port, file, or directory App can sit on your own subdomain for a one-time $5 fee per domain. When commerce is enabled on the Space, Apps can sell one-time products through Cohub commerce. On the hosted service, usage draws from a USD balance covering model calls, sandbox runs, and generations, with paid monthly plans starting at $10 a month (see [pricing](https://cohub.live/pricing)).

## Reference in the docs

**This page:** Whether one Space can cover a solo developer's build, run, publish and routine work.

- [Files & Sandbox](https://cohub.live/docs/workspace/files-and-sandbox): files, the sandbox, ports and previews
- [CLI](https://cohub.live/docs/developers/cli): every CLI command, including the local runtime

## FAQ

### Can I bring my existing repo?

Yes. Upload a folder, copy files in with the CLI, or connect the local checkout with cohub runtime up so the agent works on it directly.

### Does the sandbox keep running when I close the browser?

Scheduled prompts and hooks run without you. An idle sandbox can hibernate depending on the Space's auto-destroy setting; files stay on persistent storage.

## Related

- [How to publish a running app from an AI sandbox as a live link](https://cohub.live/use-cases/publish-app-from-ai-sandbox): To publish a running app from an AI sandbox in Cohub, run one CLI command, or use the Publish dialog, to point an App at the port your dev server listens on; static output can go out as a folder or a single HTML file instead.
- [Scheduled prompts: cron for AI agents](https://cohub.live/features/scheduled-prompts): Scheduled prompts are cron for AI agents: a Cohub prompt sent to a Space after a delay, at an ISO time, or on a cron expression with a time zone, with each run recorded in a Chat.
- [Space hooks: run scripts on AI agent events](https://cohub.live/features/space-hooks): Space hooks let you run scripts on AI agent events in Cohub: a YAML file in .cohub/hooks/ runs a command, sends a prompt or calls an App Action when a turn finishes, files change, a Save is created or a webhook arrives.
- [Choosing a Replit Agent alternative for collaborative and open-source builds](https://cohub.live/compare/replit-agent-alternative): Replit Agent 4 packages prompt-to-production deployment, domain purchasing, and built-in connectors in one vendor cloud; Cohub trades managed production databases for shared team Spaces, 5-field cron, messaging channels, and Apache-2.0 self-hosting.

## Sources

- [Cohub home page](https://cohub.live/)
- [Cohub docs: Files & Sandbox](https://cohub.live/docs/workspace/files-and-sandbox)
- [Cohub docs: Apps (targets, custom domain)](https://cohub.live/docs/create/apps)
- [Cohub docs: CLI (local Runtime)](https://cohub.live/docs/developers/cli)
- [Cohub docs: App development (commerce)](https://cohub.live/docs/developers/apps)
- [Cohub pricing](https://cohub.live/pricing)

Updated Dec 2, 2026
