---
hide_table_of_contents: true
sidebar_position: 2
---

import CodeBlock from "@theme/CodeBlock";
import Example from "@examples/mrkl-agent-example/mrkl_agent.go";

# Agent Executors

:::info
[Conceptual Guide](https://python.langchain.com/docs/modules/agents/concepts#agentexecutor)
:::

To make agents more powerful we need to make them iterative, ie. call the model multiple times until they arrive at the final answer. That's the job of the AgentExecutor.

## Example
An example that initialize a MRKL (Modular Reasoning, Knowledge and Language, pronounced "miracle") agent executor.
<CodeBlock language="go">{Example}</CodeBlock>

import DocCardList from "@theme/DocCardList";
<DocCardList />
