Show HN: AstraBox – an open-source alternative to Claude Managed Agents AstraBox, an Apache-2.0 open-source, self-hosted alternative to Claude Managed Agents, was released, letting developers run Claude Code, Codex, Hermes, DeepSeek Harness and Pi as cloud agents on their own infrastructure with any model. The deployment bundles LiteLLM as a default model gateway, Casdoor for OIDC team login, OpenSandbox for isolated sandboxes, and Satori adapters for schedules, signed webhooks and messaging triggers, with sessions lasting about 2 minutes and credentials injected at the sandbox egress boundary so the agent only sees a placeholder. The open-source, self-hosted alternative to Claude Managed Agents. No signup. Ask an Agent to write and run code with a free model. Offline sandbox · Sessions last about 2 minutes. Open source · Self-hosted · Apache-2.0 English · 简体中文 https://github.com/Colton-z/AstraBox/blob/main/README.zh-CN.md Turn the Agent programs you already use into cloud Agents that stay available 24/7. AstraBox runs Claude Code, Codex, Hermes, DeepSeek Harness and Pi on your own infrastructure, with any model. Conversations start and resume in seconds; Sessions, sandboxes, credentials and history stay under your control. You do not have to turn an Agent program into a service yourself, manage sandbox lifecycle, or maintain long-lived connections. Deploy AstraBox, create an Agent in the web console, and start a Session. Complex tasks run in a cloud sandbox while results stream back in real time. AstraBox runs the Agent programs you already use as cloud Agents that can be reached remotely, continue long-running work, and connect to your applications, automations, and messaging platforms. The web console, API, Session records, authentication, and sandboxes all run on infrastructure you control. One platform for team Agents and personal Assistants. An Agent https://github.com/Colton-z/AstraBox/blob/main/docs/authoring-agents.md is a reusable cloud Agent for teams and automation, started from the web console, the API, schedules, webhooks, messaging platforms or an MCP client. An Assistant https://github.com/Colton-z/AstraBox/blob/main/docs/assistants.md is one person's long-lived cloud workspace: all of its conversations share one workspace and the Agent program's state. | Concept | Description | Analogy | |---|---|---| | Agent | A cloud Agent powered by an installed Agent program | "Cloud teammate" | | Environment | The Agent program, sandbox, model connection, network access, and lifecycle used for a Session | "Desk and toolbox" | | Session | One stateful Agent execution, including its messages, Events, and current state | "A specific piece of work" | | Event | The real-time output and state changes produced by a Session | "Live progress feed" | Through these resources, developers can run interactive or long-running tasks, connect remote or local MCP servers, Plugins, Skills, and repositories, trigger Agents from schedules, webhooks, APIs, and messaging platforms, and protect access with authentication, authorization, isolated sandboxes, and managed credentials. Explore AstraBox capabilities → https://github.com/Colton-z/AstraBox/blob/main/docs/capabilities.md One deployment brings up the pieces a team usually assembles by hand: - Model gateway — LiteLLM https://github.com/BerriAI/litellm is bundled and on by default: one route name per model, upstream keys held on the server, budgets and usage logs, and any Anthropic, OpenAI-compatible or local provider behind it. See Connect a model https://github.com/Colton-z/AstraBox/blob/main/docs/models.md . - Team login — Casdoor https://github.com/casdoor/casdoor is pre-integrated as the identity provider: OIDC, organizations and roles, and sign-in through the identity providers an administrator adds in Casdoor, such as Google, Microsoft Entra ID, Okta, GitHub, SAML or LDAP. The installer turns it on with ASTRABOX INSTALL TEAM LOGIN=casdoor , and a clone with one Compose overlay; see Team login https://github.com/Colton-z/AstraBox/blob/main/docs/team-login.md . - Isolated sandboxes — OpenSandbox https://github.com/opensandbox-group/OpenSandbox on one Docker host or a Kubernetes cluster, with warm capacity so conversations start in seconds. - Credentials outside the sandbox — Vault credentials are injected at the sandbox's egress boundary; the Agent only ever sees a placeholder. - Channels and triggers — schedules, signed webhooks and messaging platforms through official Satori https://github.com/satorijs/satori adapters. The astrabox CLI configures and uses a local or remote deployment without the web console. Its results can be printed as JSON, so a coding agent such as Claude Code or Codex can run the same commands for you. - Configuration as code — astrabox init --from-deployment exports a deployment's Environments and Agents to astrabox.yaml ; astrabox diff previews an edit and astrabox apply creates or updates resources, never deleting any. - Tasks from the command line — astrabox run