Skip to content

Install AgentBox with Docker for Sandboxed Coding Agents

Install AgentBox with Docker and Node.js, verify its browser tools, then optionally expose a discovered HTTP endpoint securely with Localtonet.

Summary in your language
In this article 9 sections
Developer Tools · Agent Sandboxing · Docker · Localtonet · 2026

Run coding agents in isolated local containers, verify the development workflow, and publish only a deliberate HTTP endpoint

AgentBox creates dedicated environments for coding agents such as Claude Code, Codex, OpenCode, and Pi. This guide focuses on its local Docker provider for macOS and Linux, explains both the official one-command npx workflow and a persistent global CLI installation, and shows how to verify a box before trusting it with project work. It also draws an important networking boundary: AgentBox's portless preview hostname is not automatically a usable Localtonet target. To add public access, you need a conventional HTTP listener that is reachable and tested from the device running the Localtonet client.

🔒 Local Docker sandbox for agent workloads 🌐 Portless previews kept separate from public tunnels ⚡ Quick-start and persistent CLI workflows

How AgentBox and the local Docker provider fit together

AgentBox CLI uses the local Docker provider to run tools inside an isolated Docker box.
AgentBox controls a Docker-backed box while its shell, browser, preview, and screen tools run inside the sandbox.

AgentBox is a command-line and macOS application for creating dedicated environments in which coding agents can work on projects. Its current first-party description covers several deployment models: a local Docker sandbox, Docker on a machine you own, and supported cloud environments. These models should not be described as if they were identical.

In the workflow covered here, Docker runs containers on your local macOS or Linux host. The resulting box is a sandboxed development environment, not a separate hardware machine and not necessarily a full virtual machine. A remote provider may use a dedicated machine or provider-managed virtual machine, but that does not change the nature of the local Docker path.

AgentBox running inside Docker with a local project service, browser tools, and an optional Localtonet tunnel.
AgentBox isolates the coding environment in Docker, while any optional public tunnel remains a separate networking layer.

AgentBox currently presents Claude Code, Codex, OpenCode, and Pi as supported agent choices. It can create a general box with agentbox create, or create a box and launch an agent with commands such as agentbox claude. The project also provides shell, browser preview, noVNC screen, editor, dashboard, and session attachment workflows.

📦 Local Docker sandbox The local provider runs the development environment through Docker on your computer. Docker must be installed, running, and accessible from the shell that launches AgentBox.
🤖 Agent-specific launch commands AgentBox can create a sandbox and launch supported coding agents, including Claude Code, Codex, OpenCode, and Pi.
🖥️ Interactive development tools Current first-party materials document shells, detachable agent sessions, a dashboard, VS Code or Cursor integration, a browser preview, and a browser-based noVNC viewer.
☁️ Separate remote providers Remote Docker and cloud providers are alternatives to local Docker. They can involve SSH, provider credentials, billing, and infrastructure that is not required for this local tutorial.
🌐 Portless local preview AgentBox can present project previews through friendly local hostnames such as an application-specific .localhost address instead of asking you to work directly with a container port.
🔗 Optional Localtonet access A Localtonet HTTP tunnel can expose a separately verified host-reachable IP address and port. It cannot use an unresolved portless hostname as a substitute for that target.
Portless preview and public tunneling solve different problems

AgentBox's local preview makes a service convenient to open on the development host. Localtonet forwards traffic to a concrete local IP address and port reachable from our client device. A preview that opens as project-name.localhost does not, by itself, tell you which conventional listener should be entered in a Localtonet HTTP tunnel.

What isolation does and does not guarantee

A sandbox can reduce interference between concurrent projects and agent workloads. It does not make every process inside the box safe, trustworthy, or suitable for publication. An agent can still read information made available to its environment, change files within its allowed workspace, run project commands, and interact with services reachable from the sandbox.

Keep secrets to the minimum required for the task. Review environment variables, mounted files, agent authentication, repository access, Docker access, and provider credentials before starting a box. AgentBox states that Git credentials remain on the local machine and that pushing to a remote requires an explicit permission request, but you should still review every requested Git action and the changes being pushed.

Development applications require their own security review. Debug endpoints, source maps, administrative routes, test accounts, permissive CORS settings, internal APIs, and unprotected callback handlers are common in development environments. Container isolation does not become application authentication when a service is placed on the public internet.

Prepare the supported host, Node.js, npm, and Docker

Use a supported macOS or Linux host. AgentBox's current public materials identify macOS and Linux as operating systems and show Docker as the local sandbox provider. Native Windows installation is not established by the supplied current evidence, so this tutorial does not present a Windows-specific procedure.

AgentBox is distributed through npm as @madarco/agentbox. The project documentation used for this tutorial specifies Node.js 20.10 or newer. Check the active runtime from the same terminal in which you will run AgentBox:

node --version
npm --version

If Node.js is absent or too old, install a current supported release from the official Node.js download page. Reopen the terminal after installation when required, then repeat both checks. If you use a Node.js version manager, confirm that the intended version is selected in every shell that will run AgentBox.

Install Docker using the current instructions for your operating system. Docker Desktop is available from the official Docker Desktop documentation, while Linux users can follow the Docker Engine installation instructions. AgentBox also identifies OrbStack as a local runtime option on supported systems.

Requirement Why it is needed Reproducible check
Supported host Runs the AgentBox CLI and local Docker provider Use a supported macOS or Linux environment.
Node.js Runs the npm-distributed AgentBox CLI node --version should report 20.10 or newer.
npm Runs the quick start or installs the persistent CLI npm --version should return normally.
Docker Runs local AgentBox containers docker info should connect to the active engine.
Project repository Provides the workspace that the agent will modify Open a terminal in the intended repository and review its current Git state.
Available host resources Supports images, containers, dependencies, and project services Check free storage, memory pressure, and any limits configured in Docker Desktop or the selected runtime.

Verify the Docker client and engine separately

docker --version
docker info

docker --version confirms that the client executable is available. docker info additionally contacts the Docker engine. If the first command succeeds but the second fails, start Docker Desktop, OrbStack, or the Docker Engine service and resolve the reported connection problem before installing or launching a local box.

Docker access is security-sensitive

Do not paste unreviewed permission commands into a terminal just to suppress a Docker error. Access to the Docker daemon can provide extensive control over the host. Follow the supported permission model for your operating system and Docker installation, and grant access only to trusted users.

Review the project before giving it to an agent

Begin from a clean or intentionally reviewed Git state. Record the current branch, inspect uncommitted changes, and make a backup or commit when appropriate. Confirm which environment files, package registries, cloud credentials, databases, and local services the project can access.

Do not put Localtonet authentication tokens, provider API keys, private SSH keys, or unrelated personal credentials into the repository. If an agent or provider requires authentication, use the supported credential workflow and keep secrets outside tracked project files.

Choose the quick start or install the persistent AgentBox CLI

Installation flow from Node.js and Docker prerequisites to a configured AgentBox container.
The npm command launches the AgentBox CLI, while Docker supplies the local container environment used by a box.

AgentBox currently foregrounds a one-command npx workflow:

npx @madarco/agentbox claude

This is the shortest path when you want to evaluate AgentBox or launch Claude Code without first keeping a global CLI installation. npx obtains and runs the package through npm. Review any package-install confirmation displayed by npm before accepting it.

For regular use, install the CLI globally so that the shorter agentbox command remains available:

npm install --global @madarco/agentbox
agentbox --help

The help command is the reliable post-installation check used in this guide. It should print AgentBox command usage rather than a shell-level “command not found” error. The available subcommands shown by your installed release are also more authoritative than a copied command list from an older tutorial.

Workflow Command style Best fit
One-command quick start npx @madarco/agentbox claude Initial evaluation or occasional use without a persistent global command
Persistent CLI npm install --global @madarco/agentbox Repeated use of agentbox create, agentbox shell, previews, and other CLI workflows
macOS menu bar application agentbox install app Optional native macOS controls after the CLI is available
The macOS application is optional

AgentBox publishes a macOS menu bar application and documents installation with agentbox install app. Its release also offers a DMG that can be dragged into Applications. Neither path is required for the command-line local Docker workflow, and it is not a Linux installation method.

Complete local provider selection without adding unnecessary credentials

When the installed AgentBox release presents provider setup or a new-box provider selector, choose the local Docker option for this tutorial. Current AgentBox materials distinguish the following provider categories:

  • Docker on the local computer
  • Docker on your own remote machine over SSH
  • Vercel
  • Hetzner
  • DigitalOcean
  • Daytona

Select local Docker and leave the remote and cloud providers unconfigured unless you explicitly intend to use them. Those alternatives can require SSH configuration, API credentials, provider accounts, or billable infrastructure. They are not prerequisites for a box on the current computer.

Installer wording can change between AgentBox releases, and the supplied current primary material does not publish a stable line-by-line transcript of every interactive prompt. For that reason, do not rely on a prompt label copied from an older screenshot. The required result for this guide is unambiguous: Docker should appear as the selected local provider, and creating a box should proceed without asking for a cloud provider connection.

AgentBox uses an agentbox.yaml file for repeatable project setup. Its current first-party description associates this file with Linux packages, Docker services, project bootstrapping, environment setup, and development services. The complete version-specific schema is not present in the evidence supplied for this revision, so this tutorial does not invent configuration keys.

Provider credentials, when configured by supported login workflows, are documented separately from the project file. Do not manually copy secrets into agentbox.yaml unless the current schema explicitly calls for a value and you understand whether that file is tracked. The earlier documentation identified ~/.agentbox/secrets.env for provider secrets, but always confirm the location used by the installed release before editing or backing up credential material.

Create the first local Docker box

Open a terminal in the project repository you want AgentBox to use. The current CLI distinguishes a general box from an agent-specific launch:

agentbox create

This creates and starts a new agent box without requiring you to launch a particular supported agent in the command itself.

To create a local sandbox and launch Claude Code in a detachable session, use:

agentbox claude

The current product site also shows corresponding workflows for Codex, OpenCode, and Pi. Run agentbox --help and the relevant subcommand help from your installed release before automating those commands or adding provider selectors.

1

Open the intended repository

Change to the project directory, inspect its branch and uncommitted changes, and confirm that the correct project is active before AgentBox associates a box with it.

2

Confirm that Docker is connected

Run docker info. Continue only when it reports a reachable engine instead of a socket, permission, or daemon connection error.

3

Create the local box

Run agentbox create, or use agentbox claude when you intentionally want to create the box and launch Claude Code. Select local Docker if a provider choice appears.

4

Wait for preparation and startup

Allow image retrieval or building, project preparation, configured services, and the selected agent session to complete. Initial setup can require more work than reopening an existing environment.

5

Inspect the resulting environment

Use the commands reported by agentbox --help and open an AgentBox shell. A successful result is a running local Docker-backed box associated with the intended project.

This article intentionally does not repeat the previous claim that the initial build is an approximately 1 GB image named agentbox/box:dev. Image tags and sizes are implementation details that can change, and the supplied current primary evidence does not establish that exact value or tag as a stable user-facing contract.

Use explicit box identifiers when context is ambiguous

AgentBox examples use short box references such as 1. The current site demonstrates:

agentbox shell 1
agentbox claude attach 2

Treat those numbers as examples returned by a particular AgentBox environment, not fixed identifiers. A command without an explicit box may use project context or prompt for selection, depending on the command and installed release. When multiple boxes or projects exist, inspect the dashboard or command help and provide the intended box reference explicitly.

Verify the sandbox, shell, preview, and screen separately

Verification view showing a running AgentBox container, a reachable local service, and a completed browser check.
Verify each layer independently so that container, application, preview, and tunnel failures are not confused.

A browser page alone is not enough to prove that the entire development workflow is healthy. Verify from the lowest layer upward.

1. Confirm that Docker remains healthy

docker info

Expected state: the command reports information about a reachable engine. If it reports a daemon connection or permission error, fix Docker before diagnosing AgentBox previews.

2. Confirm that the AgentBox CLI responds

agentbox --help

Expected state: the CLI prints its current commands and options. If you are using only the quick-start path, use:

npx @madarco/agentbox --help

This checks package execution without assuming that a global executable was installed.

3. Open an interactive shell in the intended box

agentbox shell 1

Replace 1 with the box reference shown by your environment. Expected state: AgentBox attaches an interactive Bash shell to the selected box. The current product example shows the shell arriving in a project workspace and then starting a development command such as npm run dev.

Start the application with the command documented by your project. Do not assume that every repository uses npm, a dev script, or the same internal port. A project may use pnpm, Yarn, Python, Go, a task runner, Docker Compose, or a service started automatically through agentbox.yaml.

4. Open the project preview

agentbox url

The current CLI describes this command as opening a box's web application URL in the browser. If project context does not select the correct box, consult the command help and supply the box reference supported by your installed release.

Expected state: a browser opens the intended application through the AgentBox preview. Current AgentBox materials illustrate portless local preview hostnames such as shop.localhost. The exact hostname is generated from the project and runtime context, so record the address actually shown on your computer.

A successful preview does not reveal a Localtonet target

The fact that a .localhost address opens in your browser proves that AgentBox's local preview routing works. It does not prove that the same hostname is resolvable by the Localtonet client, and it does not identify a host IP address and port for an HTTP tunnel.

5. Open the browser-based screen only when needed

agentbox screen

AgentBox describes this as opening the selected box's VNC viewer through noVNC. It is different from agentbox url: the URL command opens the project web application, while the screen command opens an interactive graphical view of the box.

Treat noVNC as sensitive interactive access

A screen viewer can reveal browser sessions, development tools, project data, and authenticated applications. Do not publish it merely because it uses HTTP in a browser. Confirm its authentication and authorization behavior before considering any remote access, and prefer exposing a narrowly scoped application endpoint instead.

6. Check the dashboard and editor workflow if you plan to use them

agentbox dashboard
agentbox code

The dashboard combines a box list with the selected box's live agent session. The code command opens a box in VS Code or Cursor through the documented Dev Containers workflow. These are optional checks, but they help distinguish an AgentBox core problem from a terminal integration or editor integration problem.

A complete local verification should reach these states:

  • The Docker engine responds from the current user session.
  • The AgentBox help command runs successfully.
  • A box can be created with the local Docker provider.
  • An interactive shell opens in the intended box.
  • The project service starts using its own documented procedure.
  • agentbox url opens the expected project preview.
  • agentbox screen opens noVNC only if you need and intend to use it.
  • The repository contains only the changes you expect after the agent has worked.

Operate local boxes without assuming undocumented storage behavior

AgentBox's current first-party materials show box creation, Git controls, detachable agent sessions, local shells, service controls, checkpoints, and idle pausing. These capabilities are useful, but they should not be turned into precise persistence guarantees unless the installed release documents those guarantees.

Operation Purpose Safe practice
Create Provision a new box for the project Confirm the project, provider, branch, and agent before creation.
Attach Reconnect to a running detachable agent session Use the box reference shown by your own environment.
Shell Open an interactive Bash session Review commands before running them and avoid placing secrets in shell history.
Pause or stop Temporarily suspend or stop work Check the installed release's help for exact lifecycle and billing implications.
Checkpoint Prepare a reusable warm state Do not treat a checkpoint as a substitute for Git or an external backup.
Destroy Remove a box that is no longer needed Commit, push, or copy important work before destructive cleanup.

The previous article asserted exact upper-volume preservation, FUSE remount behavior, workspace download behavior, and command defaults. Those implementation details are omitted here because the supplied current primary evidence does not establish them as stable behavior for the current release.

Before stopping, replacing, or destroying a box, inspect the repository and preserve work through the project's normal source-control procedure. Check changed files, review the diff, run tests, and commit or push only what you have reviewed. If the installed AgentBox version offers file-copy, host-sync, download, or “Push to Host” actions, inspect the current help or interface before using them and verify the destination afterward.

Do not use the sandbox as your only copy of important work

Container and provider lifecycle behavior can vary by release and provider. Keep valuable source code in a reviewed Git history or another deliberate backup. Verify that the host or remote repository contains the required changes before deleting a box.

Keep local Docker and remote infrastructure conceptually separate

A local Docker box consumes resources on the current computer. A remote Docker box runs on a machine you own and register, while provider environments run on infrastructure managed through the selected provider. Network reachability, credentials, storage, pause behavior, snapshots, and cost can differ among those models.

Do not apply this tutorial's host networking assumptions to a cloud box. If the application runs remotely, a Localtonet client on your laptop cannot forward to that service unless the laptop can actually reach the configured target. In many cases the provider's documented private preview mechanism is the appropriate access path.

Expose only a verified host-reachable HTTP listener with Localtonet

A verified Docker service reaches a remote browser through a published host port and Localtonet tunnel.
The tunnel should target only an HTTP listener that is published from Docker and verified as reachable on the host.
Remote browser traffic reaching an AgentBox project service through a Localtonet HTTP tunnel.
Localtonet can forward to a conventional host listener, but AgentBox's portless preview must not be mistaken for that listener.

Localtonet is optional. AgentBox already provides a local preview and provider-specific access mechanisms. Use our HTTP tunnel only when you need a Localtonet-managed public HTTPS address for a specific project service.

Our client establishes an outbound connection to a Localtonet relay server, so the standard HTTP tunnel does not require inbound router port forwarding, firewall changes, a VPN, or a public IP address. The tunnel remains available only while the selected client device is connected and the tunnel is running.

The supported boundary for this integration

A Localtonet HTTP tunnel requires a local IP address and port. The target must be reachable from the device running the Localtonet client. This tutorial supports the following case:

  • Your AgentBox project service is explicitly published to the Docker host on a conventional TCP port.
  • You know the exact host address and published port.
  • You can load that address directly from the Localtonet client device.
  • The listener serves only the application you intend to expose.

This tutorial does not treat an AgentBox portless hostname such as shop.localhost as a Localtonet target. The supplied current AgentBox evidence does not provide a stable, documented procedure for extracting the backing host listener from that preview. If the portless hostname is the only available endpoint, continue using AgentBox's preview or consult the documentation for the exact installed AgentBox release. Do not guess a common development port.

No conventional listener means no Localtonet target

If you cannot identify and test a host-reachable IP address and port, stop here. Do not enter a guessed value such as port 3000, 5173, 8000, or 8080. A guessed port can fail silently or expose an unrelated process running on the host.

Verify the host listener before opening the dashboard

Obtain the published address and port from your project's documented Docker or service configuration. For example, if your project deliberately publishes its HTTP application on host loopback port 3000, test:

curl http://127.0.0.1:3000/

Port 3000 is an example only. Use it only when your project configuration explicitly publishes that port. A successful check should return the intended application response. Also open the same address in a browser on the Localtonet client device.

Binding to 127.0.0.1 is appropriate when the Localtonet client runs on the same host. If the client runs on another device, loopback on the AgentBox host is not reachable from that device. In that case, use a deliberately configured LAN-reachable address, test it from the actual client device, and apply appropriate host firewall and network controls.

Do not expose Docker's control socket, a database, an internal agent service, a debugging inspector, or the noVNC viewer as a substitute for the intended project application. The tunnel target should be the smallest useful HTTP ingress.

Configure the Localtonet HTTP tunnel

1

Install and run the Localtonet client

Run our client on the AgentBox host or another device that can reach the verified application listener. The client must remain connected for the tunnel to work.

2

Select the authenticated client device

In the dashboard, select the device identified by its Localtonet authentication token. Keep the device-specific token private and do not place it in the AgentBox project, screenshots, or source control.

3

Select an available relay server

Choose a server or region currently available in your dashboard. Do not copy a server code from an old tutorial because availability can vary.

4

Create an HTTP tunnel to the verified target

Enter the tested local IP address and port. Select the appropriate HTTP process type offered in your dashboard, such as a random subdomain, supported custom subdomain, or custom domain.

5

Start the tunnel

Review the target and use the Start button. Creating the tunnel does not start it. Once it is running, use the assigned public HTTPS address to test the application.

6

Stop or delete access when finished

Stop the tunnel when public access is no longer required. Delete it if you will not reuse the configuration.

The current dashboard details are covered by our HTTP tunnel documentation. Custom-domain DNS requirements can change and should be checked there before configuring DNS.

Verify the public lifecycle

  1. Load the host-reachable address directly from the Localtonet client device.
  2. Start the Localtonet tunnel and open its assigned public HTTPS address from a separate device or network.
  3. Confirm that the public page is the intended project application.
  4. Test application authentication and verify that debug or administrative routes are not exposed.
  5. Stop the tunnel and confirm that public access ends.
  6. Start the tunnel again and confirm that access returns only while the local application remains available.
  7. Stop the project service and confirm that the tunnel no longer delivers a working application.
  8. Stop the tunnel when the sharing task is complete.

These tests separate three independent states: the AgentBox container and project service, the host-published HTTP listener, and the Localtonet client and tunnel. All three must be healthy for the public URL to work.

Troubleshoot installation, Docker boxes, previews, and tunnels

npx or npm cannot run the package

Recheck node --version and npm --version. Confirm that the active Node.js release satisfies the AgentBox requirement and that npm can reach its package registry. A corporate proxy or package policy may require organization-specific configuration.

The globally installed agentbox command is missing

Reinstall the persistent CLI and test it:

npm install --global @madarco/agentbox
agentbox --help

If npm reports success but the shell still cannot find the command, reopen the terminal and inspect your npm global executable path. This is especially common when different shells or Node.js version-manager profiles select different installations.

Docker is installed but AgentBox cannot create a local box

Run docker info. If it fails, start the Docker runtime and resolve the specific connection or permission error. If Docker responds, check host storage, memory limits, network access, and any security controls that block image retrieval or container creation.

Do not diagnose the problem using an old image name or expected image size. Let the current AgentBox release report the image operation it is performing.

AgentBox asks for a provider you do not intend to use

Return to provider selection and choose local Docker. Do not enter cloud API keys or remote SSH details merely to complete a local tutorial. If local Docker does not appear, confirm that Docker is running and check the current CLI help or AgentBox project documentation for the installed release.

The box starts but the application does not

Open a shell in the explicit box:

agentbox shell 1

Replace 1 with the correct reference. Run the project's documented startup and diagnostic commands. Check dependencies, environment files, databases, migrations, bind addresses, and service conflicts according to that project's own instructions.

agentbox url opens the wrong project or nothing at all

Confirm the current working directory and selected box. Then inspect:

agentbox url --help

Use the box-selection syntax documented by your installed release. Also confirm that the project actually has a configured or running web service. A preview command cannot make a failed application start successfully.

The portless hostname works, but Localtonet cannot use it

This is expected when no conventional host listener has been published. The AgentBox preview hostname and Localtonet target are different interfaces. Either continue using the AgentBox preview or configure the project, through its documented Docker or service setup, to publish a deliberate host HTTP port. Do not infer the backing port from the browser address.

The host port works locally but not from the Localtonet client device

If the client runs on a different device, confirm that the application is not bound only to 127.0.0.1 on the AgentBox host. Test the exact target from the client device. Review the host firewall, LAN routing, and application binding without disabling protections broadly.

The tunnel starts but the public page fails

Test the configured local IP address and port from the Localtonet client device. If that fails, fix the local listener first. Then confirm that the correct Localtonet device and relay server were selected and that the tunnel was started after creation.

The public URL shows an unexpected service

Stop the tunnel immediately. Identify the process listening on the configured host port with trusted operating-system tools, correct the target, and repeat the local test. Do not leave the tunnel active while investigating an unknown service.

The application redirects to a .localhost hostname

The application may be generating absolute URLs from its local preview configuration or validating host headers. The required setting is application-specific. Review that application's documented public URL, trusted-host, reverse-proxy, callback, and forwarded-header configuration. Do not disable host validation or invent environment variables without understanding the security effect.

Frequently asked questions

Should I use npx or install AgentBox globally?

Use npx @madarco/agentbox claude for the official one-command quick start or occasional use. Install @madarco/agentbox globally when you want a persistent agentbox command for repeated box, shell, preview, dashboard, and editor workflows.

Is a local AgentBox box a virtual machine?

The local provider uses Docker, so this guide calls it a container-based sandbox. AgentBox also supports remote machines and cloud environments that may use different virtualization and infrastructure models. “Box” is the product abstraction across those providers.

Which coding agents does AgentBox currently present?

Current first-party materials identify Claude Code, Codex, OpenCode, and Pi. Authentication and launch details can differ by agent, so review the prompts and help provided by the installed AgentBox release.

Do I need a cloud provider for AgentBox?

No. The local Docker provider runs boxes on a supported macOS or Linux computer. Remote Docker and cloud providers are optional alternatives and can require separate credentials, infrastructure, and billing.

What is the difference between agentbox url and agentbox screen?

agentbox url opens the selected box's project web application. agentbox screen opens the box's browser-based noVNC viewer. The noVNC viewer is more sensitive because it can reveal and interact with the graphical box environment.

Can I enter an AgentBox .localhost preview hostname in Localtonet?

Not as a substitute for a verified tunnel target. A Localtonet HTTP tunnel needs a local IP address and port reachable from the client device. Use a deliberately host-published project listener and test it directly before creating the tunnel.

Is there a default AgentBox port for Localtonet?

No stable default host port is established by the supplied current primary evidence. AgentBox uses portless local previews, and project services can listen on different ports. Never choose a port based only on a common framework default.

Is Localtonet required to use AgentBox?

No. AgentBox includes local preview and provider-specific connectivity workflows. Localtonet is an optional way to publish a separately verified host-reachable HTTP listener through our outbound tunnel.

Can I expose the AgentBox noVNC viewer publicly?

A browser endpoint may be technically reachable, but noVNC represents sensitive interactive access. Prefer exposing a limited project application. If remote screen access is unavoidable, first verify the endpoint's authentication and authorization and restrict access appropriately. A public URL is not an access-control mechanism.

Does destroying a box preserve all project work?

Do not assume it does. Storage and synchronization behavior can vary by provider and release. Review the diff, commit or copy required files, verify them on the host or remote repository, and only then perform destructive cleanup.

Publish a verified AgentBox project service with Localtonet

Once your local Docker box is healthy and the intended application is available through a tested host IP address and port, use a Localtonet HTTP tunnel to provide temporary public access without configuring inbound router port forwarding. Keep authentication in place, expose only the required application listener, and stop the tunnel when the task is complete.

Get Started Free →

Corrections & updates

Substantive changes approved by the Localtonet editorial team are listed transparently below.

Reviewed and updated for accuracy and completeness.

Localtonet is a secure multi-protocol tunneling and proxy platform designed to expose localhost, devices, private services, and AI agents to the public internet supporting HTTP/HTTPS tunnels, TCP/UDP forwarding, mobile proxy infrastructure, file server publishing, latency-optimized game connectivity, and developer-ready AI agent endpoint exposure from a single unified control plane.

Support