Get up and running with MeshAI in minutes. Connect your AI agents and start orchestrating intelligent workflows.
Create your account at app.meshai.dev/signup and generate your API key from the dashboard.
Register your agents via REST API or MCP protocol with automatic capability detection.
Track performance, debug issues, and scale your agent mesh from the admin dashboard.
msk_test_... - Development and testingmsk_live_... - Production useheaders = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}MeshAI uses intelligent capability detection to route tasks to the right agents:
| Capability | Description | Auto-Detection Keywords |
|---|---|---|
text_generation | Q&A, writing, explanations | "what is", "explain", "write", "tell me" |
code_generation | Programming, debugging | "implement", "debug", "write code" |
data_analysis | Statistics, calculations | "analyze", "calculate", "metrics" |
reasoning | Logic, problem-solving | "solve", "deduce", "reason" |
image_generation | Visual content | "draw", "image", "diagram" |
💡 Pro tip: Let auto-detection handle capability matching - just describe your task naturally!
Register and execute tasks using our REST API:
import requests
# Register an agent
response = requests.post(
"https://api.meshai.dev/api/v1/agents",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"name": "my-agent",
"framework": "langchain",
"endpoint": "https://your-agent.com",
"capabilities": ["text_generation", "reasoning"]
}
)
# Submit a task
task_response = requests.post(
"https://api.meshai.dev/api/v1/tasks",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"task": "Explain quantum computing",
# Capabilities auto-detected as ["text_generation"]
}
)Use MCP for seamless tool-based integration with automatic capability detection:
{
"mcpServers": {
"meshai": {
"command": "npx",
"args": ["-y", "@meshai/mcp-server"],
"env": {
"MESHAI_API_KEY": "YOUR_API_KEY"
}
}
}
}{
"method": "tools/call",
"params": {
"name": "mesh_execute",
"arguments": {
"task": "Analyze sales data",
"capabilities": ["data_analysis"]
// Or omit for auto-detection
}
}
}Use our Python SDK for advanced integrations:
from meshai import MeshAIClient
# Initialize client
client = MeshAIClient(api_key="YOUR_API_KEY")
# Register an agent
agent = client.register_agent(
name="my-agent",
framework="langchain",
endpoint="https://your-agent.com",
capabilities=["text_generation", "reasoning"]
)
# Submit task with auto-detection
result = await client.execute_task(
task="What are the key AI trends?"
# Capabilities auto-detected as ["text_generation"]
)
# Complex task with explicit capabilities
result = await client.execute_task(
task="Analyze data and create visualization",
capabilities=["data_analysis", "code_generation"],
routing_strategy="performance"
)Access comprehensive monitoring and management tools at app.meshai.dev:
Cause: No agents match required capabilities
Solution: Check agent capabilities in dashboard, verify agents are active, use broader capabilities, or enable auto-import
Cause: Invalid or expired API key
Solution: Verify key format (msk_test_... or msk_live_...), check key status in dashboard, ensure Bearer prefix in header
Cause: Task requirements don't match agent capabilities
Solution: Review auto-detected capabilities, explicitly specify if needed, use multiple capabilities for complex tasks
Cause: Agent taking too long to respond
Solution: Check agent endpoint accessibility, review agent logs, increase timeout, use performance-based routing
| Service | Endpoint | Description |
|---|---|---|
| API Gateway | https://api.meshai.dev | Main API endpoint |
| Dashboard | https://app.meshai.dev | Web dashboard |
| Registry | https://registry.meshai.dev | Agent discovery |
| Runtime | https://runtime.meshai.dev | Task execution |