# ZeroShotAgent

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/agents/mrkl/base/ZeroShotAgent)

Agent for the MRKL chain.

## Signature

```python
ZeroShotAgent()
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `output_parser` | `unknown` | Yes | Output parser for the agent. |

## Extends

- `Agent`

## Properties

- `output_parser`
- `observation_prefix`
- `llm_prefix`

## Methods

- [`create_prompt()`](https://reference.langchain.com/python/langchain-classic/agents/mrkl/base/ZeroShotAgent/create_prompt)
- [`from_llm_and_tools()`](https://reference.langchain.com/python/langchain-classic/agents/mrkl/base/ZeroShotAgent/from_llm_and_tools)

## ⚠️ Deprecated

Deprecated since version 0.1.0. Will be removed in version 2.0.0.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/42f8f79293cfb7589e5bc1d74a8ae4dfd0bf15e3/libs/langchain/langchain_classic/agents/mrkl/base.py#L40)