Skip to main content

What is the Gateway?

The Gateway is a local service that runs on your machine, connecting CORE to your development environment. It enables CORE to automate browsers, spawn coding agents, and execute shell commands - all triggered remotely from any channel like WhatsApp, the web dashboard, or another AI agent. Think of it as the bridge between CORE’s cloud intelligence and your local machine’s capabilities.

Why Use It?

Browser Automation

Control headless or headed browsers with persistent profiles for authentication

Coding Agents

Spawn Claude Code or other coding agents on your machine from anywhere

Shell Commands

Execute commands on your machine with configurable allow/deny patterns

How It Works

1

Install the CLI

Install the CORE CLI on your machine:
npm install -g @anthropic/corebrain
2

Login

Authenticate with your CORE account:
corebrain login
3

Configure Gateway

Set up your gateway with a name:
corebrain gateway config

Gateway Commands

CommandDescription
corebrain gateway startInstall and start the gateway service
corebrain gateway stopStop and remove the gateway service
corebrain gateway restartRestart the gateway service
corebrain gateway statusCheck gateway status
corebrain gateway configConfigure gateway settings

Capabilities

The gateway exposes three main capabilities to CORE:

Use Cases

Remote development: You’re on your phone, a bug comes in. Message CORE on WhatsApp: “Fix the auth timeout issue in the API.” CORE spins up Claude Code on your machine, pulls context from memory, and starts working. Automated testing: CORE opens a browser, logs into your staging environment, runs through a test flow, takes screenshots, and reports results - all from a scheduled reminder. Daily workflows: “Every morning at 9am, check my GitHub notifications and summarize what needs attention.” CORE runs commands on your machine to gather the data.

Security

The gateway runs locally on your machine with configurable security controls:
  • Browser profiles are stored locally and persist authentication
  • Exec commands can be restricted with allow/deny patterns
  • Coding agents run in isolated sessions with full audit trails
All communication between CORE and the gateway is authenticated and encrypted.