# Wise (TransferWise) Agent Toolkit
The Wise Agent Toolkit enables the integration of various AI frameworks and libraries with Wise APIs to create and manage transfers programmatically. This library simplifies working with the Wise API and empowers developers to embed financial operations into AI-driven workflows using Python.
The toolkit supports multiple AI libraries through optional dependencies, allowing you to install only what you need.
Included below are basic instructions, but refer to the Python package documentation for more information.
## Python
### Installation
#### Core Installation
For the basic toolkit without any AI library integrations:
```bash
pip install wise-agent-toolkit
```
#### Integration-Specific Installation
Choose your AI library and install the corresponding extra:
**LangChain Integration:**
```bash
pip install "wise-agent-toolkit[langchain]"
```
**MCP (Model Context Protocol) Integration:**
```bash
pip install "wise-agent-toolkit[mcp]"
```
**All Integrations (if you want everything):**
```bash
pip install "wise-agent-toolkit[all]"
```
**Development Installation:**
```bash
pip install "wise-agent-toolkit[dev]"
```
> **Note for macOS/zsh users:** The package name must be quoted to prevent shell interpretation of square brackets. Alternatively, you can escape the brackets: `pip install wise-agent-toolkit\[mcp\]`
### Supported Integrations
- ✅ **LangChain** - Full support with `wise-agent-toolkit[langchain]`
- ✅ **MCP (Model Context Protocol)** - Full support with `wise-agent-toolkit[mcp]`
- 🚧 **CrewAI** - Coming soon with `wise-agent-toolkit[crewai]`
- 🚧 **AutoGen** - Coming soon with `wise-agent-toolkit[autogen]`
### Requirements
- Python 3.11+
### Usage
#### LangChain Integration
The library needs to be configured with your Wise API key, which is available in your Wise account dashboard.
```python
from wise_agent_toolkit.langchain.toolkit import WiseAgentToolkit
wise_agent_toolkit = WiseAgentToolkit(
api_key="YOUR_WISE_API_KEY",
host="https://api.transferwise.com",
configuration={
"actions": {
"transfers": {
"create": True,
},
}
},
)
```
The toolkit works with LangChain and can be passed as a list of tools. For example:
```python
from langchain.agents import initialize_agent
from langchain.chat_models import ChatOpenAI
llm = ChatOpenAI(model="gpt-4")
wise_tools = wise_agent_toolkit.get_tools()
agent = initialize_agent(
tools=wise_tools,
llm=llm,
agent="zero-shot-react-description",
verbose=True,
)
# Example usage of the agent
response = agent.run("Create a transfer of 100 EUR to John Doe's account.")
print(response)
```
#### MCP (Model Context Protocol) Integration
The MCP integration allows you to expose Wise API operations as an MCP server, which can be consumed by MCP-compatible clients like Claude Desktop, Cline, or other MCP clients.
**Installation for MCP Integration Only:**
```bash
pip install wise-agent-toolkit[mcp]
```
**Environment Setup:**
Set your Wise API credentials as environment variables:
```bash
export WISE_API_KEY="your_wise_api_key_here"
export WISE_API_HOST="https://api.transferwise.com" # or https://api.sandbox.transferwise.tech for testing
```
**Starting the MCP Server:**
Run the MCP server from the command line:
```bash
python -m wise_agent_toolkit.mcp --api_key $WISE_API_KEY --host $WISE_API_HOST
```
Or with explicit values:
```bash
python -m wise_agent_toolkit.mcp --api_key "your_api_key" --host "https://api.transferwise.com"
```
**Using as an MCP Toolkit (Programmatic):**
If you want to integrate the MCP tools programmatically:
```python
from wise_agent_toolkit.mcp.toolkit import WiseAgentToolkit
wise_agent_toolkit = WiseAgentToolkit(
api_key="YOUR_WISE_API_KEY",
host="https://api.transferwise.com",
configuration={
"actions": {
"transfers": {
"create": True,
},
}
},
)
# Get MCP-compatible tools
tools = wise_agent_toolkit.get_tools()
```
**Server Configuration:**
The MCP server supports the following command-line options:
- `--api_key`: Your Wise API key (required)
- `--host`: Wise API host URL (default: sandbox)
- `--server_name`: MCP server name (default: "wise-agent-toolkit")
- `--profile_id`: Wise profile ID (optional)
For production use, always use `https://api.transferwise.com` as the host.
For testing and development, use `https://api.sandbox.transferwise.tech` (default).
#### Checking Available Integrations
You can check which integrations are available in your installation:
```python
from wise_agent_toolkit import get_available_integrations
print("Available integrations:", get_available_integrations())
```
### Examples
For detailed examples, refer to the `/examples` directory in the source repository.
### Context
In some cases, you will want to provide default values for specific API requests. The context parameter allows you to specify these defaults. For example:
```python
wise_agent_toolkit = WiseAgentToolkit(
api_key="YOUR_WISE_API_KEY",
configuration={
"context": {
"profile_id": 42,
}
},
)
```
### Adding New Integration Support
The library is designed to be extensible. To add support for a new AI library:
1. Create a new directory under `wise_agent_toolkit/` for your integration
2. Implement the integration-specific toolkit and tool classes inheriting from the base classes
3. Add the optional dependency to `pyproject.toml`
4. Update the main `__init__.py` to conditionally import your integration
## Supported API Methods
### Quotes
- Create a quote
- Update a quote
- Get quote by ID
### Recipients
- List recipient accounts
- Create recipient account
- Get recipient account by ID
- Deactivate recipient account
- Get account requirements for a quote
### Transfers
- Create a transfer
- Get transfer by ID
- List transfers
- Cancel a transfer
### Profiles
- List profiles
- Get profile by ID
### Activities
- List activities
Raw data
{
"_id": null,
"home_page": null,
"name": "wise-agent-toolkit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "wise, transferwise, ai, agents, langchain",
"author": null,
"author_email": "Max Ploter <maksim.ploter@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/04/3c/d7e7ee54ac5247ae737e31e0c8b5fc108b6bcd99be1e40d66c6fe7b22644/wise_agent_toolkit-0.3.4.tar.gz",
"platform": null,
"description": "# Wise (TransferWise) Agent Toolkit\n\nThe Wise Agent Toolkit enables the integration of various AI frameworks and libraries with Wise APIs to create and manage transfers programmatically. This library simplifies working with the Wise API and empowers developers to embed financial operations into AI-driven workflows using Python.\n\nThe toolkit supports multiple AI libraries through optional dependencies, allowing you to install only what you need.\n\nIncluded below are basic instructions, but refer to the Python package documentation for more information.\n\n## Python\n\n### Installation\n\n#### Core Installation\nFor the basic toolkit without any AI library integrations:\n```bash\npip install wise-agent-toolkit\n```\n\n#### Integration-Specific Installation\nChoose your AI library and install the corresponding extra:\n\n**LangChain Integration:**\n```bash\npip install \"wise-agent-toolkit[langchain]\"\n```\n\n**MCP (Model Context Protocol) Integration:**\n```bash\npip install \"wise-agent-toolkit[mcp]\"\n```\n\n**All Integrations (if you want everything):**\n```bash\npip install \"wise-agent-toolkit[all]\"\n```\n\n**Development Installation:**\n```bash\npip install \"wise-agent-toolkit[dev]\"\n```\n\n> **Note for macOS/zsh users:** The package name must be quoted to prevent shell interpretation of square brackets. Alternatively, you can escape the brackets: `pip install wise-agent-toolkit\\[mcp\\]`\n\n### Supported Integrations\n- \u2705 **LangChain** - Full support with `wise-agent-toolkit[langchain]`\n- \u2705 **MCP (Model Context Protocol)** - Full support with `wise-agent-toolkit[mcp]`\n- \ud83d\udea7 **CrewAI** - Coming soon with `wise-agent-toolkit[crewai]`\n- \ud83d\udea7 **AutoGen** - Coming soon with `wise-agent-toolkit[autogen]`\n\n### Requirements\n- Python 3.11+\n\n### Usage\n\n#### LangChain Integration\nThe library needs to be configured with your Wise API key, which is available in your Wise account dashboard.\n\n```python\nfrom wise_agent_toolkit.langchain.toolkit import WiseAgentToolkit\n\nwise_agent_toolkit = WiseAgentToolkit(\n api_key=\"YOUR_WISE_API_KEY\",\n host=\"https://api.transferwise.com\",\n configuration={\n \"actions\": {\n \"transfers\": {\n \"create\": True,\n },\n }\n },\n)\n```\n\nThe toolkit works with LangChain and can be passed as a list of tools. For example:\n\n```python\nfrom langchain.agents import initialize_agent\nfrom langchain.chat_models import ChatOpenAI\n\nllm = ChatOpenAI(model=\"gpt-4\")\nwise_tools = wise_agent_toolkit.get_tools()\n\nagent = initialize_agent(\n tools=wise_tools,\n llm=llm,\n agent=\"zero-shot-react-description\",\n verbose=True,\n)\n\n# Example usage of the agent\nresponse = agent.run(\"Create a transfer of 100 EUR to John Doe's account.\")\nprint(response)\n```\n\n#### MCP (Model Context Protocol) Integration\n\nThe MCP integration allows you to expose Wise API operations as an MCP server, which can be consumed by MCP-compatible clients like Claude Desktop, Cline, or other MCP clients.\n\n**Installation for MCP Integration Only:**\n```bash\npip install wise-agent-toolkit[mcp]\n```\n\n**Environment Setup:**\nSet your Wise API credentials as environment variables:\n```bash\nexport WISE_API_KEY=\"your_wise_api_key_here\"\nexport WISE_API_HOST=\"https://api.transferwise.com\" # or https://api.sandbox.transferwise.tech for testing\n```\n\n**Starting the MCP Server:**\nRun the MCP server from the command line:\n```bash\npython -m wise_agent_toolkit.mcp --api_key $WISE_API_KEY --host $WISE_API_HOST\n```\n\nOr with explicit values:\n```bash\npython -m wise_agent_toolkit.mcp --api_key \"your_api_key\" --host \"https://api.transferwise.com\"\n```\n\n**Using as an MCP Toolkit (Programmatic):**\nIf you want to integrate the MCP tools programmatically:\n```python\nfrom wise_agent_toolkit.mcp.toolkit import WiseAgentToolkit\n\nwise_agent_toolkit = WiseAgentToolkit(\n api_key=\"YOUR_WISE_API_KEY\",\n host=\"https://api.transferwise.com\",\n configuration={\n \"actions\": {\n \"transfers\": {\n \"create\": True,\n },\n }\n },\n)\n\n# Get MCP-compatible tools\ntools = wise_agent_toolkit.get_tools()\n```\n\n**Server Configuration:**\nThe MCP server supports the following command-line options:\n- `--api_key`: Your Wise API key (required)\n- `--host`: Wise API host URL (default: sandbox)\n- `--server_name`: MCP server name (default: \"wise-agent-toolkit\")\n- `--profile_id`: Wise profile ID (optional)\n\nFor production use, always use `https://api.transferwise.com` as the host.\nFor testing and development, use `https://api.sandbox.transferwise.tech` (default).\n\n#### Checking Available Integrations\nYou can check which integrations are available in your installation:\n\n```python\nfrom wise_agent_toolkit import get_available_integrations\n\nprint(\"Available integrations:\", get_available_integrations())\n```\n\n### Examples\nFor detailed examples, refer to the `/examples` directory in the source repository.\n\n### Context\nIn some cases, you will want to provide default values for specific API requests. The context parameter allows you to specify these defaults. For example:\n\n```python\nwise_agent_toolkit = WiseAgentToolkit(\n api_key=\"YOUR_WISE_API_KEY\",\n configuration={\n \"context\": {\n \"profile_id\": 42,\n }\n },\n)\n```\n\n### Adding New Integration Support\nThe library is designed to be extensible. To add support for a new AI library:\n\n1. Create a new directory under `wise_agent_toolkit/` for your integration\n2. Implement the integration-specific toolkit and tool classes inheriting from the base classes\n3. Add the optional dependency to `pyproject.toml`\n4. Update the main `__init__.py` to conditionally import your integration\n\n## Supported API Methods\n### Quotes\n- Create a quote\n- Update a quote\n- Get quote by ID\n\n### Recipients\n- List recipient accounts\n- Create recipient account\n- Get recipient account by ID\n- Deactivate recipient account\n- Get account requirements for a quote\n\n### Transfers\n- Create a transfer\n- Get transfer by ID\n- List transfers\n- Cancel a transfer\n\n### Profiles\n- List profiles\n- Get profile by ID\n\n### Activities\n- List activities\n",
"bugtrack_url": null,
"license": null,
"summary": "The Wise Agent Toolkit enables the integration of various AI frameworks and libraries with Wise APIs to create and manage transfers programmatically.",
"version": "0.3.4",
"project_urls": {
"Documentation": "https://github.com/maxploter/wise-agent-toolkit",
"Homepage": "https://github.com/maxploter/wise-agent-toolkit",
"Repository": "https://github.com/maxploter/wise-agent-toolkit"
},
"split_keywords": [
"wise",
" transferwise",
" ai",
" agents",
" langchain"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1b87a55b476ab028a75348ef62ebb780e46db5edb29ee620fd55f26426efe8fc",
"md5": "f846d0d246676953429746120abbd638",
"sha256": "befe65e4b32137fcea545bfd23e48176afdd252d3abc46c64901c9c70d44688e"
},
"downloads": -1,
"filename": "wise_agent_toolkit-0.3.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f846d0d246676953429746120abbd638",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 25984,
"upload_time": "2025-10-11T17:04:43",
"upload_time_iso_8601": "2025-10-11T17:04:43.432682Z",
"url": "https://files.pythonhosted.org/packages/1b/87/a55b476ab028a75348ef62ebb780e46db5edb29ee620fd55f26426efe8fc/wise_agent_toolkit-0.3.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "043cd7e7ee54ac5247ae737e31e0c8b5fc108b6bcd99be1e40d66c6fe7b22644",
"md5": "19f9468c626e2370e5b324a815941f52",
"sha256": "4659e5992b7470b35d7f7d6b46fb6eb97b95c9324a5a153ff754aac6407a3bec"
},
"downloads": -1,
"filename": "wise_agent_toolkit-0.3.4.tar.gz",
"has_sig": false,
"md5_digest": "19f9468c626e2370e5b324a815941f52",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 25752,
"upload_time": "2025-10-11T17:04:44",
"upload_time_iso_8601": "2025-10-11T17:04:44.661635Z",
"url": "https://files.pythonhosted.org/packages/04/3c/d7e7ee54ac5247ae737e31e0c8b5fc108b6bcd99be1e40d66c6fe7b22644/wise_agent_toolkit-0.3.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-11 17:04:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "maxploter",
"github_project": "wise-agent-toolkit",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "wise-api-client",
"specs": [
[
"==",
"0.5.0"
]
]
},
{
"name": "pydantic",
"specs": [
[
">=",
"2.10"
]
]
}
],
"lcname": "wise-agent-toolkit"
}