Plain HTTP against the Checkfu API needs no private package.
The Checkfu CLI and TypeScript SDK are optional private-alpha artifacts; the HTTP requests work without them.
The documented path is usable as written for an admitted Workspace.
Confirm capability status before making availability part of your application’s contract.
Choose capabilities
Start with what the Agent must do, then select a supported execution path. A Computer may be headless; a browser or graphical desktop is an additional capability.
Where the harness runs and where its tools execute are separate choices.
A Worker-native harness can use a Linux tool backend without becoming a
container-hosted harness. Some harnesses need Linux to run themselves; others
can use qualified Worker tools for file, text, or JavaScript work. A Linux tool
backend is needed only when the workload requires its capabilities.
The selected path must support the required combination. A configuration field
or a running Computer does not establish that every tool is available. Check
capability status for the exact harness and execution
path.
Create an Environment
Create a named definition, then reuse itsenv_… ID. This request stores
configuration; it does not allocate a machine or attach a Computer.
Session admission
A direct Session create selects an AgentVersion and Environment explicitly:Keep a Computer between Sessions
Attach a Computer when work needs a persistent machine identity. The Workspace owns the Computer independently of any Session. A Session borrows it; ending the Session detaches that use and does not grant permission to destroy the Computer. Creating a Computer stores the resource without starting a machine. Starting, stopping, sleeping, archiving, and destroying it are separate operations. Keeping its identity does not keep compute or processes alive. See Computers for creation, attachment, and lifecycle APIs. For the reporting Agent, a later Session may need the saved CSV files and report without needing the old analysis process. Choose persistence and recovery for each kind of state:
Required retained state must restore exactly or the operation must visibly
refuse. Missing, stale, or incompatible state cannot silently become a fresh
machine, empty workspace, or different recovery grade. Retention and erasure
can make state unavailable; a readable Session log does not recreate it.
Viewing and control also require separate capabilities and current authority.
A Checkfu-governed view-only connection cannot send input. Where takeover is
qualified, the server enforces the current controller and revokes the previous
controller’s Checkfu-governed access. An agent with direct access to the same
desktop needs a separately enforced isolation or pause boundary; UI takeover
alone does not establish exclusive physical control.
Loading a viewer page does not restore revoked control, and closing it
does not cancel a Run or destroy the Computer. See
desktop control.
Deployment
Choose Checkfu-managed or customer-operated Cloudflare. That choice determines who operates the installation; it does not choose a harness, grant execution capabilities, or guarantee recovery. See Deployment. BYOH selects a harness. BYOK selects model access. A supported ConnectedRuntime attaches an operator-owned process under its own contract. These are separate choices. An Environment declaration alone does not install or qualify any of them.Networking
Alimited networking configuration accepts allowed_hosts,
allow_package_managers, and allow_mcp_servers:
allowed_hostsnames the hosts execution may reach directly.allow_package_managersadds the public package registries.allow_mcp_serversadds no direct network hosts. Supported MCP tools go through the Agent Gateway under current tool and Connection authority.
allow_mcp_servers: true still
requires no direct sandbox network access. Storing that requirement does not
prove enforcement or make an MCP tool available. The selected execution path
must enforce its advertised network boundary; authorized gateway calls are a
separate path.
Credentials
An Environment can allow network paths, but it does not own external-account secrets. A Vault owns Checkfu-custodied Credentials. A Connection is the nonsecret governed link to an external account or provider capability. Connected actions require current permission, policy, and approval where applicable. Checkfu checks the Connection and revocation state before trusted provider I/O. Checkfu-custodied credentials attach at that boundary and stay outside Agent configuration, model context, Session events, working files, and untrusted execution. Separately qualified harness-owned authentication has its own custody limits; it does not grant Checkfu permissions. See Connections and Permissions for the resource and authorization contracts.Requirement resolution helper
The work-environment resolver is a read-only planning helper. It evaluates execution requirements without creating an Environment, admitting a Session, reserving usage, or authorizing allocation.Composing an attached Computer
A composition input evaluates execution and Computer requirements together. Affinity specifies whether they must share an execution environment or may be separate. For example:connected placement, such as
the connected_computer recipe, instead normalize to remote_permitted.
The resolver cannot replace a required shared environment with a detached
Computer, or replace an explicitly selected Computer with a fresh allocation.
A detached placement without the required spend and data-egress authorization
is refused. These planning inputs do not themselves grant that authority.
A successful resolution explains an intended placement. Session admission and
execution still check current authorization, usage, retention, locality, and
capability support. The resolver never provisions the proposed resources.