Inkbox

> # Documentation index
> Fetch the complete documentation index at: https://inkbox.ai/sitemap.xml
> Use this file to discover all available pages before exploring further.

---

# Codex plugin
description: Connect a Codex agent to Inkbox email, phone, iMessage, and tunnel capabilities

---


# Codex plugin

The [Inkbox Codex plugin](https://github.com/inkbox-ai/codex-plugin) is a standalone bridge for [Codex](https://developers.openai.com/codex). It connects a Codex agent to an Inkbox identity and supports email, SMS/MMS and voice calls, iMessage, and an Inkbox tunnel when those channels are configured.

This is a harness plugin, not an Inkbox SDK skill or marketplace bundle. It runs a persistent gateway that turns inbound messages and calls into real Codex sessions with access to the project directory you choose.

[View plugin on GitHub](https://github.com/inkbox-ai/codex-plugin)

## Prerequisites

- [Codex](https://developers.openai.com/codex) installed and logged in
- Python 3.11 or newer
- macOS or Linux

You do not need to create an Inkbox identity first. The setup wizard can sign up a new agent or connect an existing agent-scoped API key.

## Install

Run the one-command installer:

```bash
curl -fsSL https://raw.githubusercontent.com/inkbox-ai/codex-plugin/main/install.sh | bash
```

The installer creates an isolated environment, adds `inkbox-codex` to your path, and launches the setup wizard. The wizard:

- creates or connects an Inkbox agent
- offers to provision a phone number
- offers to connect iMessage
- configures signed inbound messaging
- asks which project directory Codex should work in
- offers to keep the gateway running in the background and after restarts

Re-running the installer or `inkbox-codex setup` is safe when you need to change the configuration.

## Run the gateway

Check the configuration, then start the gateway if the setup wizard did not already start it:

```bash
inkbox-codex doctor
inkbox-codex start
inkbox-codex status
```

Use these commands to manage it later:

```bash
inkbox-codex run       # run in the foreground
inkbox-codex restart   # restart the background gateway
inkbox-codex stop      # stop the background gateway
inkbox-codex status    # show status and log location
```

Keep the gateway running. On startup it opens an Inkbox tunnel, configures the identity's inbound channels, and routes configured email, SMS/MMS, iMessage, and call channels into Codex sessions.

## Available capabilities

Depending on your setup choices and account availability, your Codex agent can have:

- **An email address** - send, receive, and reply from an Inkbox mailbox
- **A phone number, when available** - SMS/MMS and voice calls, inbound and outbound
- **iMessage, when connected** - continue the same agent conversation from an iMessage thread
- **An Inkbox tunnel** - inbound messages and calls reach the local gateway without a public server
- **Persistent Codex sessions** - each contact keeps one conversation across configured email, text, iMessage, and call channels
- **Remote permission prompts** - approve or reject Codex tool requests from the channel you are using

Codex also receives Inkbox tools for sending messages, placing calls, reading conversation history, managing contacts, and delegating work to other agents.

## What Inkbox adds

| Capability | Codex alone | With Inkbox plugin |
| --- | --- | --- |
| Agent-owned mailbox | Bring your own integration | Built in |
| SMS/MMS and voice calls | Bring your own integration | Available when configured |
| iMessage | Bring your own integration | Available when configured |
| Inbound webhook and call tunnel | Bring your own server | Built in |
| Continue one session across channels | Local Codex session only | Built in |
| Approve tool requests remotely | At the local Codex client | Reply from the active channel |

Codex itself stays upstream. The plugin adds the Inkbox identity, gateway, channel routing, session continuity, messaging tools, and setup commands without requiring a Codex fork.

## Permission prompts

When Codex wants to run a command, change files, change its permission profile, or ask you a question, the plugin pauses the request and sends you a short prompt. Reply to allow it once, allow that kind of action for the current session, or reject it.

Questions from Codex are delivered as numbered choices. Your next reply answers the pending question instead of starting a separate turn.

## After install

Run a health check:

```bash
inkbox-codex doctor
inkbox-codex status
```

Use any channels you configured. If the agent has a phone number, text `START` to it from every phone the agent needs to text. You can also email the agent mailbox, connect over iMessage when enabled, or call the agent phone number when available. The gateway routes each configured channel into Codex and returns the response on the channel you most recently used.

## Related

- [Inkbox Codex plugin on GitHub](https://github.com/inkbox-ai/codex-plugin)
- [Codex](https://developers.openai.com/codex)
- [Manage reachability in the Inkbox Console](https://inkbox.ai/console)
