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

# Runtime ID • AI Agent SDK

> runtime_id: Unique identifier for the runtime this middleware handles.

# runtime\_id

Method

> This is a method of the [**RuntimeToolResultMiddleware**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/RuntimeToolResultMiddleware.md) class in the [**middleware**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/middleware.md) module.

Unique identifier for the runtime this middleware handles.

Used by RuntimeRegistry to route results to the correct middleware.
Examples: "praisonai", "claude\_harness", "openai\_harness"

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def runtime_id() -> str
```

### Returns

**Returns** `str`

The result of the operation.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/middleware.py#L110)
>
> `praisonaiagents/runtime/middleware.py` at line 110


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.