Persistent AI coding sessions

OpenDray

Self-hosted infrastructure that keeps Claude Code, Codex, Gemini, and shell sessions alive after your laptop closes.

Self-hosted Open source Local-first
OpenDray mascot working from a terminal
opendray / live session
$ opendray serve -config config.toml
INFO session started id=web-refactor
INFO cwd=/workspace/opendray
WAIT approval requested migration=users
SEND telegram notification delivered
RECV continue with the tests
RUN same PTY resumed from server

You close your laptop.

The session dies.

OpenDray keeps it running.

Persistence

The process keeps waiting on your server

OpenDray keeps the real PTY session, scrollback, cwd, and waiting prompt attached to infrastructure you control. You can answer from another device and resume the same running task.

session web-refactor
$ codex run
reviewing api handlers...
waiting for approval before schema migration

notification sent to Telegram
reply received: continue with the tests

resuming same server-side session
running integration suite...
Core product

Small surface area. Serious workflow impact.

Persistent sessions

Real PTY sessions keep running on your server. Reconnect, inspect scrollback, and continue work from another device.

OpenDray persistent session visual

Local-first memory

ONNX, Ollama, or LM Studio embeddings with user, project, and session scopes backed by Postgres + pgvector.

Six channels

Telegram, Slack, Discord, Feishu, DingTalk, WeCom, plus Bridge for custom adapters.

One binary

A single Go binary serves the admin UI, API, WebSocket stream, sessions, channel hub, memory, and migrations.

Your control

Self-hosted, no telemetry, no cloud account, no vector data leaving your network, and no vendor lock-in.

Workflow

Three steps. No ceremony.

01

Install

Run one binary on your own machine or server.

02

Connect

Add coding CLIs, message channels, and memory settings.

03

Continue

Answer from anywhere and return to the same session.

Open source

Infrastructure should be transparent

OpenDray is built for developers who want clear ownership over sessions, credentials, project memory, and integrations. The project should be easy to inspect, easy to run, and worth contributing to.

OpenDray community visual
Get started

Keep the agent session alive.

Install OpenDray, connect your CLIs, and move long-running AI coding work onto infrastructure you control.