[**graphai**](../README.md)

***

[graphai](../globals.md) / agentInfoWrapper

# Function: agentInfoWrapper()

> **agentInfoWrapper**(`agent`): [`AgentFunctionInfo`](../type-aliases/AgentFunctionInfo.md)

Defined in: [packages/graphai/src/utils/utils.ts:65](https://github.com/kawamataryo/graphai/blob/dd469fabd8a117a70d995bd5597c959177f9738c/packages/graphai/src/utils/utils.ts#L65)

## Parameters

### agent

[`AgentFunction`](../type-aliases/AgentFunction.md)\<`any`, `any`, `any`, `any`\>

## Returns

[`AgentFunctionInfo`](../type-aliases/AgentFunctionInfo.md)
