Skip to main content
Unblocked Code is a remote coding environment deeply integrated into Unblocked. It is ideal for unattended tasks that the latest frontier AI coding models can typically complete within a few hours.
  • Relevant context — For each coding task, Unblocked Code uses the Unblocked Context Engine to draw on relevant code, pull requests, issues, documentation, and team discussions. It uses only the data sources that the requesting user has permission to access.
  • Runs remotely — Tasks run remotely and continue in the background if you close Unblocked or shut down your computer.
  • Works everywhere — Unblocked Code integrates smoothly everywhere you already chat with Unblocked, so you can naturally hand off work when a conversation leads to a coding task.
Unblocked Code is currently available in private beta. There is no additional charge during the beta period. Initially, it supports only organization-owned repositories hosted on GitHub.com. Contact us to request access.

How it works

Ask Unblocked to do coding work wherever you already chat with it: tag @Unblocked in Slack, use the Unblocked web or Mac app, or mention @unblocked in a pull request comment.
Start a coding task from the Unblocked app
1

Confirm the task

Unblocked may ask questions to clarify your requirements. It then asks you to confirm the coding task before starting it.
2

Track the task

The task runs in the background. At any time, you can ask Unblocked to check its status, list your current tasks, or cancel it.
3

Review the pull request

When the task is complete, Unblocked opens a draft pull request for you to review.

Initial setup

1

Enable Unblocked Code

An admin opens SettingsCoding Tasks under Automations and selects Set up Unblocked Code.Enable Unblocked Code
2

Install the GitHub App (GitHub Only)

Install the separate Unblocked Code GitHub App in each GitHub organization you want to use. This app provides the write access required to push code and open pull requests. During installation, select All repositories.Install the Unblocked Code GitHub App

Configure the code environment

Unblocked Code can usually determine how to build and test a repository from its setup instructions, build files, and CI configuration. More complex repositories may require secrets or a custom cloud-init script. Administrators configure both under SettingsCoding Tasks. Configure the Unblocked Code environment

Secrets

Secrets provide access to private dependencies and external services, such as npm registries, Artifactory, or services on an internal network. You can make a secret available to all connected repositories or limit it to one. A repository-specific secret overrides a shared secret with the same name.

Cloud-init scripts

Each repository can include a Bash script at .unblocked/cloud-init.sh to install software and configure the Linux environment on each new machine. Unblocked runs this repository-provided script when it creates a coding-task machine or an SSH test machine. Keep these points in mind:
  • The script runs as root on Ubuntu 22.04 LTS, so you don’t need sudo.
  • Reference configured secrets through environment variables, such as $NPM_TOKEN, rather than writing their values into the script. Unblocked exposes each secret to the cloud-init script only while it runs, so the value never appears in the script itself. Configured secrets are also available to the Unblocked Code agent while a task runs. Wrap references in double quotes ("$NPM_TOKEN") so the shell expands them safely.
  • Run apt-get update before installing packages, and prefer apt-get over apt in scripts.
  • Only Bash scripts are supported; cloud-config YAML is not.
Because the script is ordinary Bash running as root, you can provision any language runtime, container tooling, or private network access your build requires. Here are some common starting points:

Network access

Unblocked Code environments have internet access. Outbound connections egress through the following IP addresses, which you can allowlist when an external service restricts access by source IP:
  • 44.236.159.233/32
  • 44.255.222.154/32

Test with SSH

To test a repository’s environment, select it from the Repository filter and click Connect via SSH. Unblocked creates an ephemeral machine using the repository’s cloud-init script and secrets. This machine reproduces the task environment but does not run the Unblocked Code agent. Select Close to delete the machine when you’re finished. The machine also shuts down automatically after four hours. Unblocked preparing the SSH environment The SSH connection uses the ubuntu user, which has sudo access. Commands you run interactively may require sudo, even though the cloud-init script does not because it runs as root. To troubleshoot setup, check /var/log/cloud-init-output.log. Changes made directly on the machine are not saved, so copy any changes you want to keep into the cloud-init script.