Opendray
OpenDray is an open-source, self-hosted gateway for running AI coding CLIs as persistent, reattachable PTY sessions on infrastructure the operator controls. It keeps sessions, credentials, memory, integrations and audit data local while allowing control through web, mobile and chat channels.
At a Glance
- Homelab and solo developers
- Small engineering teams
- AI coding-agent integrators and platform builders
- Privacy-conscious and self-hosting developers
- +1 more
AI Tools by Opendray
(1)OpenDray
Self Hosted AI CLI Session Gateway
Discussions
No discussions yet
Be the first to start a discussion about Opendray
Latest News
OpenDray v2.19.0 added multiple operator logins, admin/member roles, session ownership and Mine/All filtering.
OpenDray v2.18.2 fixed vault skills so agents can resolve referenced files such as scripts, templates and references.
OpenDray v2.18.0 introduced Codex and OpenCode multi-account support, live account switching with conversation continuity, terminal-size persistence and expanded mobile account switching.
OpenDray v2.17.0 added Grok conversation resume across stop/restart; the same release period also shipped the generalized session environment mechanism.
Products & Services
A single Go binary that runs Claude Code, Codex, Antigravity, Grok Build, OpenCode and arbitrary shell sessions in persistent PTYs. It provides a web admin, Flutter mobile client support, REST and WebSocket APIs, local-first memory, database inspection, chat-channel routing, account pools and integrations. Distributed under Apache 2.0 with no telemetry, cloud account or subscription.
Market Position
OpenDray positions itself as persistent agent infrastructure rather than another chat window: it runs the real coding CLIs with host filesystem/tool access in reattachable PTYs, while adding multi-account pools, local-first cross-session memory, mobile and chat control, and APIs. Its stated alternatives include Claude Desktop, Cursor, CLI-over-SSH/tmux, ChatGPT Desktop, and self-hosted chat frontends such as Open WebUI, LibreChat and Dify; its differentiators are self-hosting, Apache 2.0 licensing, provider breadth and persistence after client disconnect.
Leadership
Founders
Navid Rastegani
Product designer with an engineering mindset. He said he built OpenDray in his free time and on weekends after becoming frustrated with AI coding sessions losing context when laptops closed or remote connections dropped. GitHub commits identify the principal contributor as navidrast / navid.fathi@me.com.
Founding Story
OpenDray began from the problem the creator called session amnesia: long-running AI coding tasks would be abandoned when a laptop slept, a terminal disappeared or a remote connection dropped. The initial vision was to run the actual agent CLIs as persistent server-side processes, preserve context and memory locally, and let developers respond from another device or a chat channel.
Business Model
Revenue Model
OpenDray is free to self-host under Apache 2.0 and explicitly has no subscription or required cloud account. The project solicits one-time or recurring sponsorship through Polar and GitHub Sponsors to fund maintenance, documentation, support and integrations.
Pricing Tiers
Apache 2.0 open-source software; users provide their own host, PostgreSQL and any AI provider accounts.
One-time or recurring support via Polar or GitHub Sponsors; sponsorship does not unlock proprietary access.
Target Markets
- Homelab and solo developers
- Small engineering teams
- AI coding-agent integrators and platform builders
- Privacy-conscious and self-hosting developers
- Teams needing local infrastructure, credential control and auditability
- Solo developers running long-lived AI coding work on a homelab, Mac mini, NAS, VPS or other always-on host
- Small-team leads pooling several provider accounts and sharing scoped access
- Integrators embedding agent sessions, tool use, PTY lifecycle, memory and channel routing into their own products
- Remote approval, review and continuation of coding tasks from a browser, phone or messaging channel
- Organizations that require credentials, project memory and audit trails to remain on their own network