Version: latest
agrag.common.data_models.client_work
Models for LLM work an MCP client performs on the graph's behalf.
The graph runs only the local models in client mode. It records the work a server-side LLM would have done as pending items, and a client returns results through the MCP tools. The models here carry the instructions, schemas, inputs, results and validation errors of that exchange.
Classes:
- ChunkLlmWork – The language work recorded on one chunk.
- PendingWorkBatch – One page of pending work of a single kind.
- PendingWorkItem – One pending item and the input a client needs to complete it.
- PendingWorkKind – The kinds of work a client model can perform.
- SubmitOutcome – The outcome of one submission.
- WorkResult – A client's result for one pending item.
- WorkResultError – A correctable validation error for one submitted result.