Skip to content

feat(org): Phase 3 in-host Agents (Agent Studio) org-ui slice - #66

Merged
XYAIStudio merged 2 commits into
mainfrom
cursor/org-agents-phase3-2de0
Sep 19, 2026
Merged

XYAIStudio merged 2 commits into
mainfrom
cursor/org-agents-phase3-2de0

Conversation

@XYAIStudio

@XYAIStudio XYAIStudio commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

Host-native Agent Studio / 智能体定制 as an Organization sub-UI. Last heavy Open-12 page before a thin Workspace overview.

This page bridges existing org digital-colleague lifecycle and blueprint compile. It does not replace FreeOS/Octop chat, and it does not absorb the personalization agent editor.

What users get

  • Dashboard route: /organization/agents (workbench card + path tab)
  • Shared org-ui AgentsPage (no iframe, no :3780, no sidecar login)
  • Compile openxyos.agent-blueprint.v1 → draft colleague workspace
  • Advance lifecycle (draft → market → recruit → shadow → active → offboard)
  • Spawn / register as a FreeOS chat agent (org-<slug>), then deep-link to Experts
  • freeos org export-standalone lists the same AgentsPage

How this relates to FreeOS Agents / Experts

Surface Owns
This page (/organization/agents) Org control-plane: compile blueprints, manage lifecycle digital colleagues under {FREEOS_HOME}/tenants/<id>/employees/
Employees directory (/organization/employees) Org-chart directory people/AI on org_chart.sqlite — a different store
FreeOS Experts (/experts) Runtime colleagues after spawn; this page only links there
Personalization (/personalization) Host agent editor / Agent Skills. Unchanged. This page does not open a second editor
Chat Not migrated. Conversation stays on FreeOS/Octop
Sidecar Agent Studio (/api/agent-studio/*) Historically unmounted. Not used. No reference-file upload / talent-market clone

API

  • New: GET /api/org-module/agents — snapshot (colleagues, next states, host deep-links)
  • Reused: POST /api/org-module/blueprints/compile, /employees/transition, /employees/spawn
  • Compile now returns 400 for invalid blueprints instead of an uncaught ValueError

Test plan

  • uv run pytest tests/unit/test_org_agents.py tests/unit/cli/test_org_export_standalone.py tests/unit/test_org_settings.py tests/unit/test_org_module.py tests/unit/i18n -q — 98+ org/i18n tests green
  • uv run mypy --strict src/octop/api/routers/org_agents.py
  • Dashboard: npx vitest run AgentsPage / createClient / Organization workbench / controlAdminPath — 30 passed
  • cd dashboard && npx tsc --noEmit
  • make all / CI (Linux + Windows)
  • Manual: open /organization/agents while logged in; compile a draft; transition; spawn; confirm Experts link. Confirm no iframe and no Chat composer.

Out of scope

  • Chat page migration
  • Sidecar reference uploads / talent market
  • Editing FreeOS agents inside Organization
  • Thin Workspace overview (next Phase 3 leftover)
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 19, 2026 05:13
Add host-native Agent Studio under /organization/agents. The page lists
lifecycle digital colleagues, compiles openxyos.agent-blueprint.v1, and
deep-links to FreeOS Experts / personalization. It does not replace Chat
or the personalization editor, and it does not depend on sidecar
/api/agent-studio.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Co-authored-by: XYAI Labs <haoboy8@gmail.com>
@XYAIStudio
XYAIStudio marked this pull request as ready for review September 19, 2026 05:15
@XYAIStudio
XYAIStudio merged commit 024a345 into main Sep 19, 2026
4 checks passed
@XYAIStudio
XYAIStudio deleted the cursor/org-agents-phase3-2de0 branch September 19, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants