---
hide_table_of_contents: true
---

import CodeBlock from "@theme/CodeBlock";

# WolframAlpha Tool

The WolframAlpha tool connects your agents and chains to WolframAlpha's state-of-the-art computational intelligence engine.

## Setup

You'll need to create an app from the [WolframAlpha portal](https://developer.wolframalpha.com/) and obtain an `appid`.

## Usage

import ToolExample from "@examples/tools/wolframalpha.ts";

<CodeBlock language="typescript">{ToolExample}</CodeBlock>
