---
title: thunder.core.proxies.proxy
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.core.proxies.proxy
---
# thunder.core.proxies.proxy {#thunder-core-proxies-proxy}

### `thunder.core.proxies.proxy(x, *, name=None, history=None)` {#thunder.core.proxies.proxy}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/proxies.py#L2071-L2117)

Return type:

`Union`\[[`Any`](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)"), `Proxy`\]

Parameters:

*   **x** ([_Any_](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)")) –
    
*   **name** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_str_](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)")_\]_) –
    
*   **history** ([_Union_](https://docs.python.org/3/library/typing.html#typing.Union "(in Python v3.15)")_\[__None__,_ [_tuple_](https://docs.python.org/3/builtins/stdtypes.html#tuple "(in Python v3.15)")_\]_) –

---

**Navigation**

- Parent: [Generated](/docs/thunder/0.2.6/api-reference/generated.md)
