# InteractionProcessContext

An interaction run's conversation, grouped by kind of item. Every item has a `sequence`: merge the lists and sort by it to read the conversation in order.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `agentMessage` | [`InteractionProcessContextAgentMessage`](https://docs.maitento.com/reference/types/interaction-process-context-agent-message.md)`[]` | What the agents said. |
| `agree` | [`InteractionProcessContextAgree`](https://docs.maitento.com/reference/types/interaction-process-context-agree.md)`[]` | Votes for a vote proposal or a proposed final answer. |
| `directQuestionAnswer` | [`InteractionProcessContextDirectQuestionAnswer`](https://docs.maitento.com/reference/types/interaction-process-context-direct-question-answer.md)`[]` | Answers to questions one agent asked another directly. |
| `directQuestionAsk` | [`InteractionProcessContextDirectQuestionAsk`](https://docs.maitento.com/reference/types/interaction-process-context-direct-question-ask.md)`[]` | Questions one agent asked another directly. |
| `disagree` | [`InteractionProcessContextDisagree`](https://docs.maitento.com/reference/types/interaction-process-context-disagree.md)`[]` | Votes against a vote proposal or a proposed final answer, with the reasons. |
| `humanMessage` | [`InteractionProcessContextHumanMessage`](https://docs.maitento.com/reference/types/interaction-process-context-human-message.md)`[]` | Messages people sent to the run. |
| `injectedSystemMessage` | [`InteractionProcessContextInjectedSystemMessage`](https://docs.maitento.com/reference/types/interaction-process-context-injected-system-message.md)`[]` | System messages added to the run while it was going. |
| `noAction` | [`InteractionProcessContextNoAction`](https://docs.maitento.com/reference/types/interaction-process-context-no-action.md)`[]` | Turns an agent passed without saying anything. |
| `orchestratorMessage` | [`InteractionProcessContextOrchestratorMessage`](https://docs.maitento.com/reference/types/interaction-process-context-orchestrator-message.md)`[]` | Messages from Maitento running the conversation, such as handing an agent its turn. |
| `solutionProposal` | [`InteractionProcessContextSolutionProposal`](https://docs.maitento.com/reference/types/interaction-process-context-solution-proposal.md)`[]` | Final answers the agents proposed. |
| `systemPrompt` | [`InteractionProcessContextSystemPrompt`](https://docs.maitento.com/reference/types/interaction-process-context-system-prompt.md)`[]` | System prompts the agents were given. |
| `toolCall` | [`InteractionProcessContextToolCall`](https://docs.maitento.com/reference/types/interaction-process-context-tool-call.md)`[]` | Tool calls the agents made. |
| `toolResult` | [`InteractionProcessContextToolResult`](https://docs.maitento.com/reference/types/interaction-process-context-tool-result.md)`[]` | The results of the agents' tool calls. |
| `voteProposal` | [`InteractionProcessContextVoteProposal`](https://docs.maitento.com/reference/types/interaction-process-context-vote-proposal.md)`[]` | Things the agents put to a vote. |
| `summary` | [`InteractionProcessContextSummary`](https://docs.maitento.com/reference/types/interaction-process-context-summary.md)`[]` | Summaries of the earlier conversation, written when it neared the model's context window. |

## Example

```json
{
  "agentMessage": [
    {
      "message": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "agree": [
    {
      "associatedId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "directQuestionAnswer": [
    {
      "questionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
      "answer": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "directQuestionAsk": [
    {
      "questionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
      "otherAgentName": "...",
      "question": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "disagree": [
    {
      "associatedId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
      "reason": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "humanMessage": [
    {
      "message": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "injectedSystemMessage": [
    {
      "message": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "noAction": [
    {
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "orchestratorMessage": [
    {
      "message": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "solutionProposal": [
    {
      "solutionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
      "solution": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "systemPrompt": [
    {
      "prompt": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "toolCall": [
    {
      "toolCallId": "...",
      "functionName": "...",
      "argumentsJson": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "toolResult": [
    {
      "toolCallId": "...",
      "result": "...",
      "isError": false,
      "toolResultId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
      "resultSize": 0,
      "rejectionReason": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "voteProposal": [
    {
      "voteId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
      "topic": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ],
  "summary": [
    {
      "summary": "...",
      "coveredUpToSequence": 0,
      "tokensBefore": 0,
      "tokensAfter": 0,
      "model": "...",
      "sequence": 0,
      "author": {},
      "date": "2026-10-26T12:00:00.0000000Z",
      "threadId": "..."
    }
  ]
}
```

## Where it's used

- Inside [`InteractionProcess`](https://docs.maitento.com/reference/types/interaction-process.md)
- Inside [`InteractionProcessWithDetails`](https://docs.maitento.com/reference/types/interaction-process-with-details.md)
