---
url: /development.md
---

# Development documentation

This section documents MUCGPT for contributors and maintainers: the development workflow, the AG-UI contract between frontend and core service, server-side conversation persistence, and the virtual filesystem for documents.

| Page                                                    | Contents                                                                   |
| ------------------------------------------------------- | -------------------------------------------------------------------------- |
| [Development guide](workflow.md)                        | uv workflow, tests, linting, type checking, releases, license tooling      |
| [AG-UI streaming](ag-ui-streaming.md)                   | How a chat run streams AG-UI events from the core service to the frontend  |
| [Deep-Agent runtime](deep-agent-runtime.md)             | Agent construction per request, middleware, and the agent loop             |
| [Tools & MCP](tools-mcp.md)                             | Tool sources, per-user loading, selection and approval                     |
| [AG-UI chat contract](ag-ui-chat.md)                    | Request shapes, version negotiation, the `forwardedProps.mucgpt` namespace |
| [Conversation persistence](conversation-persistence.md) | Server-side chat persistence, deletion, and rollout procedure              |
| [Virtual file system](virtual-file-system.md)           | The read-only `/documents/` mount and the document library                 |

The architecture diagrams under `architecture/` are editable Excalidraw sources next to their rendered PNGs — see [architecture on GitHub](https://github.com/it-at-m/mucgpt/tree/main/docs/development/architecture).
