← oncell.aiCOMPARISON

OnCell vs Fly Machines

Fly Machines are lightweight VMs you can start and stop via API. OnCell is sandboxed environments with storage, database, and search already inside.

The core difference

Fly Machines give you fast-starting containers with persistent volumes. You bring your own application, your own database, your own everything. They're flexible — you can run anything — but you're building the agent infrastructure yourself.

OnCell gives you an opinionated environment purpose-built for AI agents. You get storage, a database, search, streaming, crash recovery, and per-user isolation out of the box. You write the agent logic — one file — and everything else is handled.

Feature comparison

FeatureOnCellFly Machines
What you getEnvironment with storage, DB, searchBare container + optional volume
SetupOne API callDockerfile + fly.toml + volumes config
Per-user isolationBuilt-in — one env per userOne Machine per user (you manage)
StorageBuilt-in NVMe (0ms)Persistent volumes (network-attached)
DatabaseBuilt-in SQLite per userNot included
SearchBuilt-in full-text + vectorNot included
StreamingBuilt-in SSECustom implementation
Pause / resumeAuto-pause, 200ms resumeStop/start via API, ~1-3s
Crash recoveryJournal-based, auto-resumeRestart from scratch
Custom domainsBuilt-in with auto SSLFly proxy + certs
Docker requiredNoYes
Pricing$0.10/hr, $0.003/hr pausedPer-second, shared-1x ~$0.005/hr

When to use Fly Machines

Fly Machines are the right choice when you need full control over the container, want to run any Docker image, or need global edge deployment. If you're building something that doesn't fit the AI agent pattern, Fly gives you maximum flexibility.

When to use OnCell

OnCell is the right choice when you want to ship an AI agent without building infrastructure. You skip the Dockerfile, the volume configuration, the database setup, and the search index. Your agent code calls ctx.store, ctx.db, ctx.search and it works.

Try OnCell

One API call creates a sandboxed environment with storage, database, and search.