# ReActTextWorldAgent

> **Class** in `langchain_classic`

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

Agent for the ReAct TextWorld chain.

## Signature

```python
ReActTextWorldAgent()
```

## Extends

- `ReActDocstoreAgent`

## Methods

- [`create_prompt()`](https://reference.langchain.com/python/langchain-classic/agents/react/base/ReActTextWorldAgent/create_prompt)

## ⚠️ 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/react/base.py#L138)