by thirdweb-dev
Provides a comprehensive toolkit for blockchain data analysis, secure wallet operations, decentralized file handling, and natural‑language‑driven blockchain interactions through modular services such as Insight, Engine, EngineCloud, Storage, and Nebula.
Thirdweb AI offers a unified framework that bridges on‑chain data with generative AI, enabling developers to query blockchain information, manage wallets, interact with smart contracts, store files on IPFS, and execute blockchain tasks via natural language instructions.
THIRDWEB_SECRET_KEY environment variable.pip install "thirdweb-ai[all]" # full install
# or install specific adapters, e.g.
pip install "thirdweb-ai[openai]"
from thirdweb_ai import Insight, Engine, EngineCloud, Nebula, Storage
insight = Insight(secret_key=...)
engine = Engine(...)
engine_cloud = EngineCloud(secret_key=..., vault_access_token=...)
storage = Storage(secret_key=...)
nebula = Nebula(secret_key=...)
Q: Do I need to import all services when using Nebula? A: No. Nebula internally uses Insight, Engine, EngineCloud, and Storage, so importing those separately can cause conflicts.
Q: Which environments are supported for the MCP server?
A: The server runs as a Python package (thirdweb-mcp). Install via uvx or pipx and provide THIRDWEB_SECRET_KEY.
Q: How can I add support for a new LLM framework?
A: Implement an adapter following the pattern in thirdweb_ai/adapters/ and expose get_<framework>_tools.
Q: Is there a TypeScript SDK? A: It is planned for the future; currently only the Python SDK is available.
Q: How are security vulnerabilities reported?
A: Email security@thirdweb.com directly; do not use the public issue tracker.
AI Agents with Onchain Intelligence
thirdweb AI is thirdweb's comprehensive toolkit for blockchain data analysis, wallet management, and AI agent interaction with blockchains. It simplifies complex blockchain operations into five core components: Insight for data analysis, Engine for wallet and contract operations, EngineCloud for cloud-based engine operations, Storage for decentralized file management, and Nebula for natural language-powered blockchain interactions.
Comprehensive blockchain data intelligence:
Core blockchain interaction capabilities:
Cloud-based engine operations with advanced capabilities:
Decentralized storage capabilities:
AI agent blockchain interaction:
### Run using uvx
THIRDWEB_SECRET_KEY=... \
uvx thirdweb-mcp
### Install and run using pipx (and run thirdweb-mcp)
pipx install thirdweb-mcp
THIRDWEB_SECRET_KEY=... \
thirdweb-mcp
More information
# Install core package with all framework adapters
pip install "thirdweb-ai[all]"
# Or install with specific framework adapters
pip install "thirdweb-ai[openai]" # For OpenAI Agents
pip install "thirdweb-ai[langchain]" # For LangChain
pip install "thirdweb-ai[agentkit]" # For Coinbase Agentkit
pip install "thirdweb-ai[goat]" # For GOAT SDK
# ... many more framework supported
See the list of supported framework and installation guides
from thirdweb_ai import Engine, EngineCloud, Insight, Nebula, Storage, Tool
# Initialize services
insight = Insight(secret_key=...)
nebula = Nebula(secret_key=...)
engine = Engine(...)
engine_cloud = EngineCloud(secret_key=..., vault_access_token=...) # For cloud-based operations
storage = Storage(secret_key=...)
# Example: Create tools for AI agents
# Option 1: Use Nebula alone (recommended when you need a self-sufficient blockchain agent)
# Nebula already uses most other services internally
tools = [
*nebula.get_tools(),
]
# Option 2: Use individual services directly without Nebula
# tools = [
# *insight.get_tools(),
# *engine.get_tools(),
# *engine_cloud.get_tools(),
# *storage.get_tools(),
# ]
# Example: Framework integration (LangChain)
from thirdweb_ai.adapters.langchain import get_langchain_tools
langchain_tools = get_langchain_tools(tools)
agent = create_tool_calling_agent(tools=langchain_tools, ...)
# Example: Framework integration (OpenAI Agents)
from thirdweb_ai.adapters.openai import get_openai_tools
openai_tools = get_openai_tools(tools)
agent = Agent(name="thirdweb Assistant", tools=tools)
# see python/examples for other framework integration
More information
Coming soon.
For comprehensive documentation, please visit:
We take security seriously. If you discover a security vulnerability within thirdweb AI, please email security@thirdweb.com rather than using the issue tracker.
For non-security-related bugs, please use the GitHub issue tracker.
When using Nebula, do not combine it with other tools (Insight, Engine, EngineCloud, Storage) in the same agent implementation as Nebula already calls these tools in the background. Using them together can lead to compatibility issues and unexpected behavior.
To publish a new version of thirdweb AI packages:
git tag -a v0.X.Y -m "Release v0.X.Y"git push origin v0.X.Ythirdweb AI is licensed under the Apache-2.0 License. See the LICENSE file for details.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
by danny-avila
Provides a self‑hosted ChatGPT‑style interface supporting numerous AI models, agents, code interpreter, image generation, multimodal interactions, and secure multi‑user authentication.
by block
Automates engineering tasks on local machines, executing code, building projects, debugging, orchestrating workflows, and interacting with external APIs using any LLM.
by RooCodeInc
Provides an autonomous AI coding partner inside the editor that can understand natural language, manipulate files, run commands, browse the web, and be customized via modes and instructions.
by pydantic
A Python framework that enables seamless integration of Pydantic validation with large language models, providing type‑safe agent construction, dependency injection, and structured output handling.
by lastmile-ai
Build effective agents using Model Context Protocol and simple, composable workflow patterns.
by mcp-use
A Python SDK that simplifies interaction with MCP servers and enables developers to create custom agents with tool‑calling capabilities.
by nanbingxyz
A cross‑platform desktop AI assistant that connects to major LLM providers, supports a local knowledge base, and enables tool integration via MCP servers.
by gptme
Provides a personal AI assistant that runs directly in the terminal, capable of executing code, manipulating files, browsing the web, using vision, and interfacing with various LLM providers.