# 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 1.0.

---

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