# SelfAskWithSearchAgent

> **Class** in `langchain_classic`

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

Agent for the self-ask-with-search paper.

## Signature

```python
SelfAskWithSearchAgent()
```

## Extends

- `Agent`

## Properties

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

## Methods

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

## ⚠️ Deprecated

Deprecated since version 0.1.0. Use create_self_ask_with_search instead. Will be removed in version 1.0.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/b302691ff9ad841804e93e5addbdc53b6974473b/libs/langchain/langchain_classic/agents/self_ask_with_search/base.py#L31)