Task / TODO List - Widget in Chatkit

Hey,

I was thinking about building a Widget (in self-hosted Chatkit) that shows the current / updated task list in basically the same way Codex & Claude Code do.

So far I haven’t found an official way in the API OpenAI supports this directly, but I’d assume I simply build my own simple Task List MCP Tool with e.g. create_task, update_task_status, list_tasks, etc.
And then prompt the Orchestrating Agent to use and update it when working through complex tasks. Visually show the User the Progress via a small Widget that hopefully updates correctly. I fear it’s probably not possible to create such a neat little menu right on top/inside of the chat window as in the screenshot/codex vs code extension, but just inside the actual “text message space”?

That’s probably how it’s done inside Codex & Claude Code too, I’d assume? I’m just a bit afraid of using up extra tokens & therefore context but it is what it is.

Am I missing something and that’s actually much harder/easier (implement) to implement? I’ve had quite some headaches with some Chatkit & Widget Features in the past months as there isn’t too much information out there yet, so I figured, I’d rather first find out as much as possibl. Would be amazing if any developer could share their expertise :slight_smile:

Bump, anyone got any experience/suggestions for this?