devops-engineer aeec8e47a3
Handlers Postgres Integration / detect-changes (push) Successful in 12s
Lint forbidden hand-written mcp__ tool-id literals / Scan for hand-written mcp__ tool-id literals (push) Successful in 19s
Block internal-flavored paths / Block forbidden paths (push) Successful in 26s
CI / Python Lint & Test (push) Successful in 25s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (push) Successful in 25s
Concierge Creates Workspace Hermetic / Concierge Creates Workspace Hermetic (push) Successful in 29s
Block integration-tester contamination artifacts / Block staging-trigger / invalid manifest contamination (push) Successful in 29s
lint-staging-tenant-cd-gate-chain / lint-staging-tenant-cd-gate-chain (push) Successful in 28s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (push) Successful in 37s
Secret scan / Scan diff for credential-shaped strings (push) Successful in 18s
lint-no-coe-on-required / lint-no-coe-on-required (push) Successful in 47s
sdk-route-milestone-contract-drift / SDK route + milestone derive-gates (push) Successful in 26s
sdk-pin-drift / SDK consumer pin vs molecule-ai-sdk main (push) Successful in 31s
lint-phantom-gate / lint-phantom-gate (push) Successful in 50s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (stub) (push) Successful in 53s
pin-provenance-guard / Pin provenance (push) Successful in 1m0s
E2E API Smoke Test / detect-changes (push) Successful in 1m40s
E2E Ephemeral CP Happy Path / detect (push) Successful in 1m44s
lint-env-coupling-dismissal / lint-env-coupling-dismissal (push) Successful in 1m45s
E2E API Smoke Test / E2E API Smoke Test (push) Successful in 4s
template-delivery-e2e / detect-changes (push) Successful in 1m13s
CI / Detect changes (push) Successful in 1m49s
merge-commit-guard / Verify merged PR commits are on main (push) Successful in 1m52s
Handlers Postgres Integration / Handlers Postgres Integration (push) Successful in 1m28s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (real image + MiniMax LLM, advisory) (push) Successful in 1m8s
E2E Chat / E2E Chat (push) Successful in 2m23s
main-canary / canary (push) Successful in 2m39s
publish-workspace-server-image / Build & push tenant image (push) Successful in 3m6s
publish-workspace-server-image / Promote tenant :latest to CI-green build (push) Successful in 6s
staging-tenant-cd / await-image (staging-<sha> published) (push) Successful in 3m35s
staging-tenant-cd / advance-pin (staging tenant image DB pin) (push) Successful in 15s
staging-tenant-cd / redeploy-fleet (roll staging tenants, session-preserving) (push) Failing after 11s
template-delivery-e2e / Template-asset delivery (fresh seo-agent — config+prompts via asset channel, seo-all via plugin reconcile) (push) Successful in 2m51s
staging-tenant-cd / runtime-image-readiness (exact promoted digests on provisioner daemon) (push) Successful in 23s
staging-tenant-cd / e2e-smoke (staging real provision + A2A HARD GATE) (push) Has been skipped
staging-tenant-cd / rollback-pin (revert pin if the fleet roll failed) (push) Failing after 21s
staging-tenant-cd / rollback-audit (prove rollback-pin itself actually executed) (push) Successful in 8s
CI / Canvas (Next.js) (push) Successful in 5m11s
CI / Canvas Deploy Status (push) Successful in 1s
CI / Shellcheck (E2E scripts) (push) Successful in 6m31s
CI / Platform (Go) (push) Successful in 6m56s
CI / all-required (push) Successful in 5s
Sweep stale e2e-* orgs (staging) / Sweep e2e orgs (push) Successful in 9m6s
E2E Ephemeral CP Happy Path / E2E Ephemeral CP Happy Path (push) Successful in 24m2s
Merge PR #5189 via Gitea merge queue
Serialized merge by gitea-merge-queue after current-main, genuine approvals, and required CI checks were green.
2026-08-14 21:11:13 +00:00
2026-04-21 15:40:21 +00:00

Molecule AI

Molecule AI

English | 中文

The org-native control plane for heterogeneous AI-agent workspaces

License: BSL 1.1 Go Version Python Version Next.js

DocsQuick startTechnical referencePlatform API

Quick start

git clone https://git.moleculesai.app/molecule-ai/molecule-core.git
cd molecule-core
./scripts/dev-start.sh

Open http://localhost:3000. See the quick-start guide for prerequisites, manual startup, first-run configuration, and troubleshooting.

OpenAI Codex & GPT-5.6

Codex is both a product surface and a build tool for EnterOS:

  • Codex as a first-class agent runtime. The codex workspace template wraps Codex CLI (@openai/codex) as an EnterOS workspace runtime: each tenant session holds a long-lived codex app-server child bound to one thread, so agent-to-agent messages process in order with full conversation continuity. Provisioning a Codex workspace is a single provision_workspace call from the platform agent — the same runtime-contract SDK drives Codex and five other runtimes identically.
  • GPT-5.x model routing. A provider registry in the template's config.yaml routes auth via a ChatGPT/Codex subscription (CODEX_AUTH_JSON), a direct OPENAI_API_KEY, or any endpoint speaking the OpenAI Responses API; GPT-5-family models are selectable per workspace.
  • Codex in the build loop. During OpenAI Build Week (Jul 1321, 2026), Codex CLI sessions running GPT-5.6-codex were used to implement and review changes shipped to this repository; our CI/merge pipeline (all-green status gate plus reviewer approval) applied to that agent-authored work the same as to any human contribution.

The canonical public mirror of this repository is github.com/EnterOS-AI/enteros-core.

What this repository owns

molecule-core contains the tenant workspace server and Canvas. Together they provide:

  • authenticated workspace lifecycle and backend dispatch;
  • a parent_id organization hierarchy used for peer discovery and communication authorization;
  • registry, heartbeat, Agent Card, A2A proxy, poll-delivery, activity, and approval surfaces;
  • scoped agent memory and key/value workspace-memory APIs;
  • encrypted secrets, files, terminal, templates, bundles, schedules, and operational views; and
  • live Canvas updates through WebSocket fanout.

A workspace is a durable organizational role, not a task node. Teams are composed by creating or reparenting workspace rows. Canvas's Expand Team View and Collapse Team View controls only show or hide existing descendants; they do not provision or delete workspaces.

Runtime boundary

Agent execution lives in the maintained workspace-runtime and workspace-template repositories. Core stores and forwards supported configuration, supplies authenticated platform and hierarchy context, and dispatches lifecycle work to the configured backend.

manifest.json is the checked-in source of truth for the template and plugin repositories Core currently offers. Every entry is pinned to an immutable commit. Do not copy a fixed runtime count or a mutable main ref into documentation; inspect the manifest and the runtime-owned parser instead.

The retired shared_context parent-file injection model and destructive team expand/collapse routes are not current runtime contracts.

Architecture at a glance

Canvas (Next.js)  <-- HTTP / WebSocket -->  Workspace server (Go / Gin)
                                              |            |
                                           Postgres      Redis
                                              |
                                   configured lifecycle backend
                                              |
                              pinned workspace-template image
                                              |
                                    workspace runtime / agent
  • Postgres domain tables are authoritative for durable current state.
  • Redis supports liveness, cache, and fanout; it is not the workspace source of truth.
  • structure_events is append-only selected lifecycle history, not a complete event source.
  • Local and control-plane provisioning are implementations behind shared dispatchers. Tier does not select a cloud vendor.
  • Deployment topology is environment-specific. This repository does not promise a universal EC2, Railway, Render, ECR, Neon, or co-location shape.

See the current technical reference for the code-backed boundaries and source files.

Repository layout

Path Purpose
workspace-server/ Go APIs, auth, lifecycle, registry, hierarchy, A2A, memory, bundles, and backend dispatch
canvas/ Next.js operational UI
workspace-server/migrations/ Durable schema
.gitea/workflows/ Active CI, release, and deployment automation
manifest.json Immutable template/plugin catalog
docs/ Focused architecture, protocol, development, and runbook references

Deployment and verification

Canonical SCM and automation are on git.moleculesai.app. Changes ship through the active Gitea Actions workflows after normal review and merge; there is no documented operator-host or one-click Railway/Render deploy path.

A merged PR is not, by itself, proof that a user-visible environment is current. Verify the exact commit's terminal workflow results and the relevant staging or runtime health surface.

Documentation map

License

Business Source License 1.1, copyright © 2025 Molecule AI. The license converts to Apache 2.0 on January 1, 2029; see the license text for the complete terms.

S
Description
No description provided
Readme 80 MiB
Languages
Go 57.3%
TypeScript 21%
Python 10.6%
Shell 10.2%
CSS 0.4%
Other 0.4%