# Interface IAgenticAdapter

The agentic-adapter contract. Single method; all the variability lives in `RunAgentArgs`.

interface IAgenticAdapter {
providerId: string;
modelId: string;
adapterStrategy: string;
runAgent(args: RunAgentArgs): Promise<Result<AgentRunResult, AgentError>>;
}

#### Implemented by

- AgenticAdapter

- Defined in packages/nexus-agents/src/agents/agentic/types.ts:164

##### Index

### Properties

providerId
modelId
adapterStrategy

### Methods

runAgent

## Properties

### `Readonly` providerId

providerId: string

- Defined in packages/nexus-agents/src/agents/agentic/types.ts:165

### `Readonly` modelId

modelId: string

- Defined in packages/nexus-agents/src/agents/agentic/types.ts:166

### `Readonly` adapterStrategy

adapterStrategy: string

- Defined in packages/nexus-agents/src/agents/agentic/types.ts:167

## Methods

### runAgent

- runAgent(args: RunAgentArgs): Promise<Result<AgentRunResult, AgentError>>

  #### Parameters

  - args: RunAgentArgs

  #### Returns Promise<Result<AgentRunResult, AgentError>>

  - Defined in packages/nexus-agents/src/agents/agentic/types.ts:168