Skip to main content

Codex Partner

Codex Partner is a self-hosted control panel for long-running Codex work. It keeps one native Codex thread alive and lets terminals, browsers, and multiple devices interact with the same task.

Codex Partner task workspace

Why

  • Long tasks stop too early. Persistent Goals can resume after a failed turn, disconnect, or service restart until the objective is complete.
  • Multiple clients split the session. Every connected browser is a view of the same server-owned Codex thread, not a competing resume process.
  • Messages collide with active work. New messages wait in a durable queue and enter the conversation only when their turn actually starts.

Highlights

  • Live task state, tool activity, context usage, and paginated history
  • Goal Resume with pause, retry, and restart recovery
  • Ordered message queue with manual dispatch
  • Workspace browser, editor, uploads, downloads, and image previews
  • Browser terminal that preserves its session when hidden
  • Model and API provider management with health checks and failover
  • Codex memories, Skills, archive, recycle bin, and SSH workspace support
  • Default YOLO mode for newly created sessions

Install

Requires Python 3.10+ and an authenticated Codex CLI.

PyPI

python3 -m venv .venv
. .venv/bin/activate
pip install codex-partner
codex-partner

From source

git clone https://github.com/froststeam/Codex-Partner.git
cd Codex-Partner
python3 -m venv .venv
. .venv/bin/activate
pip install .
cp .env.example .env
codex-partner

Open http://127.0.0.1:8787.

For access from other devices, set CODEX_DASHBOARD_HOST=0.0.0.0. Codex Partner signs browsers in with a username and password accepted by this server's SSH service; the password is verified by OpenSSH and is never stored. Put HTTPS in front of the service before entering an SSH password over an untrusted network.

Docker

docker build -t codex-partner:0.0.2 .
docker run -d --name codex-partner \
  -p 8787:8787 \
  --add-host=host.docker.internal:host-gateway \
  -e CODEX_DASHBOARD_AUTH=ssh \
  -e CODEX_DASHBOARD_AUTH_SSH_HOST=host.docker.internal \
  -v codex-partner-data:/var/lib/codex-partner \
  -v codex-home:/home/codex/.codex \
  -v codex-workspace:/workspace \
  codex-partner:0.0.2
docker exec -it codex-partner codex login

systemd

After completing the source installation above, stop the foreground process and install the user service:

mkdir -p ~/.config/systemd/user
cp codex-partner.user.service.example ~/.config/systemd/user/codex-partner.service
systemctl --user daemon-reload
systemctl --user enable --now codex-partner.service
systemctl --user status codex-partner.service

This service uses the current user's existing Codex login, configuration, memories, and Skills. The example assumes the repository is at ~/Codex-Partner; edit the two paths in the unit if it is elsewhere.

View logs with journalctl --user -u codex-partner.service -f. To keep it running after logout, run sudo loginctl enable-linger "$USER" once.

Use

Create a session, choose a workspace and model, then send a message. Messages sent during an active turn queue automatically. Set a Goal to let Codex Partner keep resuming unfinished work. Reopen the same session from any connected device to continue the same thread.

Type /help in the message input for commands. Press ` to toggle the terminal, Shift+N / Shift+P to switch sessions, and Ctrl/Cmd+K to focus the composer.

Metadata

Release files for codex-partner 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codex-partner 0.0.2
File Size Uploaded
codex_partner-0.0.2.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for codex-partner 0.0.2
File Interpreter ABI Platform
codex_partner-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.4 MB

Release files / codex_partner-0.0.2.tar.gz

Download URL codex_partner-0.0.2.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
e7686cdd2c5d446962224b5489fdf9487afa5d8b66a26c9fecf3a53d04ed6b64
BLAKE2b-256 checksum
How to use checksums
6f1f5f296cd13f6220b526381297bdf9bc4a6042e70d40b7c840a76ef4c587d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.

Transparency log

Release files / codex_partner-0.0.2-py3-none-any.whl

Download URL codex_partner-0.0.2-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
12d7096d6cd7c4d0598b3c45c66d0b4c6d2e285fd20a4a36725af3f97ada9002
BLAKE2b-256 checksum
How to use checksums
6e1d66a110141664bfe667af2e83ac6867d916711b705534fe09a4caf32fd6a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page