Bring your own runtime (the lead path)
The lowest-friction adoption: keep your existing agent (Vercel Eve, AWS Bedrock AgentCore, LangGraph, CrewAI, or your own loop) and just inject the agent profile’s governed tools.Naïve-hosted (optional)
Declare aruntime.pool in naive.config.ts, then start agents on microVMs:
runtime in naive.config.ts (and registered by naive up)
are validated on start() — an unknown pool name returns a clear error listing
the declared pools.
Inside a hosted agent, use @usenaive-sdk/runtime — credentials are injected at boot
(never on the agent’s filesystem):
Hosted runtime is enabled per deployment. When it is configured (the orchestration
cluster is set),
start() claims an isolated agent container for the agent profile —
sealed to a per-agent profile scoped key, never your company key — and dispatches the
run; startSystem({ system }) is a standing team — it provisions the system’s
root + member profiles once (reused on later calls, not re-spawned) under the
root’s shared budget, then dispatches the run. When it is not enabled, start()
returns a clear error directing you to the BYO-runtime path. Either way,
governance is identical: every action the agent takes flows back through the
gateway under the agent profile’s policy.Billing
A claimed hosted-runtime container is duration-metered in credits (runtime_usage):
2 credits/vCPU-hour + 0.25 credits/GB-hour, so a default 1 vCPU / 2 GB agent costs
≈ 2.5 credits/hour while its container is up — busy or idle. revoke() releases the
slot immediately and stops the meter. Bring-your-own-runtime incurs no runtime_usage
(you pay only for the API primitives the agent calls). The shared warm pool that keeps
start-up fast is platform overhead and is never billed to you. See
Credits.