> ## 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.

# Store Short Term • Rust AI Agent SDK

> store_short_term: Store a message in short-term memory

# store\_short\_term

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

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

Store a message in short-term memory

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def store_short_term(&mut self, message: Message) -> Result<()>
```

## Parameters

<ParamField query="message" type="Message" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Result<()>">
  The result of the operation.
</ResponseField>
