Collaborative Page Tools for Codex Plugins #27825
leimenghao1991
started this conversation in
Ideas
Replies: 1 comment
-
|
This could become the missing protocol layer between agent tools and human-facing applications: a standard for shared workspaces where humans interact visually and agents operate structurally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to propose a new plugin capability for Codex: developer-defined interactive page tools that users and Codex can operate together.
Today, Codex plugins can extend Codex through skills, app integrations, MCP servers, hooks, and related metadata. This is powerful for tool access and workflows, but there is still a missing product surface: plugin-owned interactive pages where users can directly manipulate structured data, then ask Codex to help reason over, organize, edit, comment on, or act on that data.
This is not a request for Codex to continuously manage user state in the background. It is also not just asking Codex to visually inspect and click arbitrary UI. The idea is to let developers build interactive page tools with an agent-readable contract, so both the user and Codex can work over the same structured workspace.
Proposal
Add support for "Collaborative Page Tools" in Codex plugins.
A plugin could register a page UI, plus a structured API/state contract that tells Codex how to understand and operate that page.
Conceptually:
The key idea is:
The page is a shared workspace for the user and Codex. The user can directly interact with the UI, and Codex can read structured state, understand context, reply in place, and apply approved actions through a declared contract.
Example: Task Management Page Tool
Imagine a developer creates a task management plugin.
The plugin provides a task board page. The user can manually add simple tasks, drag tasks between columns, edit due dates, add notes, and comment on individual task cards.
The same plugin also declares a structured contract for Codex:
{ "page": { "id": "tasks", "title": "Tasks", "entry": "./pages/tasks/index.html", "placement": ["sidebar", "main"] }, "resources": { "task": { "fields": ["id", "title", "status", "priority", "dueDate", "project", "notes", "tags"] } }, "actions": { "createTask": { "mutates": true }, "updateTask": { "mutates": true }, "classifyTasks": { "mutates": true }, "rankTodayTasks": { "mutates": false }, "summarizeTasks": { "mutates": false }, "replyToElementComment": { "mutates": false } } }A user might manually add these tasks:
Then, in the page composer, the user types:
Codex can read the recently added tasks, classify them, rank them by urgency and impact, and show a proposed update:
Recommended order for today:
Reason: it may block users and QA.
Reason: an external stakeholder is waiting.
Reason: important, but less urgent.
The user can accept all changes, accept selected changes, or reject them.
Element-Level Comments
The user could also comment directly on a specific task card:
Because the comment is attached to a structured element, Codex receives context like:
{ "elementId": "task_123", "resource": "task", "comment": "Should I prioritize this today?", "context": { "title": "Fix login timeout issue", "status": "todo", "priority": "medium", "dueDate": "tomorrow", "project": "Mobile App" } }Codex can reply in place:
The page could then show action buttons:
Why This Is Useful
This would make Codex plugins much more useful for structured workflows.
Many workflows are not ideal as pure chat:
Users often need to see, filter, select, edit, and comment on structured objects. Chat is good for reasoning and commands, but pages are better for persistent structured interaction.
With Collaborative Page Tools:
Beta Was this translation helpful? Give feedback.
All reactions