Access to the network of specialized AI agents that can process data, generate reports, or engage in conversations
Agent that manages context and memory for AI interactions
Heurist Mesh is an open network of specialized AI agents designed to process data, generate reports, and engage in conversations. Each agent functions as a dedicated unit that can be combined with others to form an intelligent swarm capable of tackling complex tasks. Built on decentralized compute and powered by diverse open-source AI models, Mesh agents provide cost-efficient and highly flexible solutions for AI workflows.
Heurist Mesh provides a framework for creating, deploying, and using specialized AI agents. These agents can be accessed through both synchronous and asynchronous APIs, as well as through the Model Context Protocol (MCP) which allows AI assistants like Claude to directly interact with Mesh agents as tools.
To use Heurist Mesh via MCP, you can either:
To add the Heurist Mesh MCP server to your configuration, include the following in your MCP configuration:
{
"mcpServers": {
"heurist-mesh": {
"url": "https://mcp.heurist.ai"
}
}
}
To use any Mesh agent, you'll need a Heurist API key. You can obtain one at https://heurist.ai/credits.
Mesh agents can be accessed through two interfaces:
For detailed API documentation including examples of both synchronous and asynchronous usage, refer to the official Heurist Mesh documentation.
If you want to create your own Mesh agent:
cd mesh
uv sync
source .venv/bin/activate # Linux/Mac
.venv\Scripts\activate # Windows
MeshAgent
class:from mesh.mesh_agent import MeshAgent
from typing import Dict, Any, List
class MySpecialAgent(MeshAgent):
def __init__(self):
super().__init__()
self.metadata.update({
'name': 'My Special Agent',
'version': '1.0.0',
'author': 'Your Name',
'author_address': '0xYourEthereumAddress',
'description': 'This agent can do...',
'external_apis': ['API_Name'],
'tags': ['Category1', 'Category2'],
'image_url': 'https://example.com/image.png',
'examples': ['Example query 1', 'Example query 2'],
})
def get_system_prompt(self) -> str:
"""Return the system prompt for the agent"""
return """
You are a helpful assistant that can [describe agent's purpose].
[Include any specific instructions for the LLM here]
"""
def get_tool_schemas(self) -> List[Dict]:
"""Define the tools that your agent exposes"""
return [
{
"type": "function",
"function": {
"name": "my_tool_name",
"description": "Description of what this tool does",
"parameters": {
"type": "object",
"properties": {
"param1": {"type": "string", "description": "Description of parameter 1"},
"param2": {"type": "number", "description": "Description of parameter 2"},
},
"required": ["param1"]
}
}
}
]
Implement the necessary methods for your agent's functionality
Test your agent locally before submitting it to the Mesh network
Once a Mesh agent is added to the Github main branch, it's automatically deployed and instantly available via REST API and MCP.