orgOS Agent

Why orgOS?

Because the goal is not a chattier bot. It is a cloud agent work system that can be organized, audited, and continuously improved.

中文版 / Chinese default

orgOS Agent is a cloud-native serverless agent runtime built on Cloudflare, and the current experimental vehicle for orgOSv8.

It is not a prompt demo with a chat box attached. It is a long-running, multi-tenant agent platform: real users sign in via OAuth and own their agent fleets; agents connect to real channels, call real tools, dispatch subagents, run on schedules of their own, accumulate their own memory — and every step leaves a verifiable evidence trail.

The platform develops itself: orgOS's day-to-day development, code review, price auditing, and acceptance testing are done by agents running on this very platform.


🟢 Highlights


☁️ Cloudflare components

Component Role
Workers console entry + the agentthursday user gateway (private worker-to-worker service binding).
Durable Objects per-agent state, registry, channel routing, content registry; alarms drive schedules and sweepers.
Durable Object SQL storage event log, archive (with its FTS5 index), memory, tasks/usage, schedules, encrypted credentials.
Workers AI model bindings (bge-m3 semantic recall, built-in chat models).
Workflows durable execution for agent-run / workflow-executor.
Browser Rendering headless browsing for agents (page verification, price audits — real browsing).
Containers / Sandbox binding heavier isolated execution.
R2 owner-keyed storage for uploaded documents.
Workers Assets both web UIs (console + user app).
Cron Triggers platform-level periodic jobs (e.g. the weekly price-table webhook).
Wrangler / secrets deployment, secrets, runtime configuration.

🚀 Capabilities

🧑‍🤝‍🧑 1. Multi-tenant user product (agentthursday.com)

orgOS is not just an operator console — it is a real user product:

🤖 2. Multi-agent orchestration

⏰ 3. Native scheduled tasks

"Send me a digest every morning" is table stakes for an agent product; orgOS implements it platform-natively:

🧠 4. Six-layer memory

Memory is not one big string stuffed into a prompt — it is layered, gated, and verifiable:

  1. Short-term context: the live window, deterministically anchor-compacted under pressure (no lossy summarization)
  2. Conversation Archive: archived before new / reset; history is structurally unlosable
  3. LLM Consolidation: periodic extraction → confidence gate (≥0.8) → dedup → contradiction pruning (a supersede needs ≥2 non-trivial shared tokens to authorize a soft delete) → promotion into agent_memories
  4. Semantic recall: bge-m3 vector search over agent memories via the recall tool
  5. FTS5 archive search: conversation_search on a bm25-ranked full-text index with char-level CJK segmentation and phrase queries; any failure falls back to LIKE
  6. Cross-agent promotion: subagent insights push up to the parent's store with provenance

Supporting cast: consolidation ledger, retrieval audits, per-layer inspect surfaces, and a dual-track (local vs. external shadow memory) comparison experiment.

💰 5. Cost transparency

📡 6. Real channel collaboration

📚 7. ContentHub and documents

🛠️ 8. ToolHub and Skillsets

🔐 9. Truthfulness and degradation awareness

🔎 10. Evidence / Inspect

/api/inspect is the black-box replay surface: trace events, actual tool calls, content-read chains, archive / retrieval / hygiene / consolidation audits, schedules and their run history, memory-layer state, FTS index watermarks — all queryable.

The point is not whether it sounds right, but whether it actually did the thing. orgOS Agent defaults to the verifiable side.


🧪 Try it


🛫 Deployment

Current deployment notes live here:


💻 Development

npm install
npm --prefix web install
npm --prefix gateway/web install
npm run typecheck      # all tsconfigs
npm test               # real node:sqlite unit tests (800+)
npm run build:web      # console UI
npm run dev
npm run deploy         # console; gateway deploys via wrangler separately

Secrets are managed through Wrangler and local development var files. Do not paste tokens into chat, logs, README examples, task reports, or commits.