> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Mut • Rust AI Agent SDK

> get_mut: Get mutable manager for an agent

# get\_mut

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**MultiAgentContextManager**](../classes/MultiAgentContextManager) class in the [**context**](../modules/context) module.

Get mutable manager for an agent

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_mut(&mut self, agent_id: &str) -> Option<&mut ContextManager>
```

## Parameters

<ParamField query="agent_id" type="&str" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Option<&mut ContextManager>">
  The result of the operation.
</ResponseField>
