π Class Inheritance DiagramΒΆ
This interactive diagram shows the class hierarchy within the Haive MCP package and its relationships to the core Haive framework.
π Click to View Complete Inheritance Diagram
graph TD
%% Core Haive Classes (from haive-central)
Agent[π€ Agent<br/>Base agent class]:::central
BaseModel[π BaseModel<br/>Pydantic base]:::central
Tool[π§ Tool<br/>LangChain tool base]:::central
%% MCP Core Classes
MCPClient[π MCPClient<br/>Protocol client]:::mcp
MCPServer[π₯οΈ MCPServer<br/>Protocol server]:::mcp
MCPTool[βοΈ MCPTool<br/>MCP-enabled tool]:::mcp
%% MCP Agent Classes
MCPAgent[π€ MCPAgent<br/>MCP-aware agent]:::mcpagent
IntelligentMCPAgent[π§ IntelligentMCPAgent<br/>Auto-discovery agent]:::mcpagent
%% MCP Registry Classes
ServerRegistry[π ServerRegistry<br/>Server catalog]:::registry
ToolRegistry[π ToolRegistry<br/>Tool discovery]:::registry
%% MCP Configuration Classes
MCPConfig[βοΈ MCPConfig<br/>Configuration]:::config
ServerConfig[π₯οΈ ServerConfig<br/>Server settings]:::config
ClientConfig[π» ClientConfig<br/>Client settings]:::config
%% Plugin System
MCPPlugin[π MCPPlugin<br/>Plugin base]:::plugin
FilesystemPlugin[π FilesystemPlugin<br/>File operations]:::plugin
DatabasePlugin[ποΈ DatabasePlugin<br/>DB operations]:::plugin
%% Inheritance relationships
Agent --> MCPAgent
MCPAgent --> IntelligentMCPAgent
Tool --> MCPTool
BaseModel --> MCPConfig
MCPConfig --> ServerConfig
MCPConfig --> ClientConfig
BaseModel --> MCPPlugin
MCPPlugin --> FilesystemPlugin
MCPPlugin --> DatabasePlugin
%% Composition relationships (uses/contains)
MCPClient -.->|uses| ServerRegistry
MCPAgent -.->|uses| MCPClient
MCPAgent -.->|uses| ToolRegistry
ServerRegistry -.->|manages| MCPServer
ToolRegistry -.->|discovers| MCPTool
%% Links to documentation
click Agent "https://haive-central.readthedocs.io/en/latest/agents/base.html" "π View in Haive Central Docs"
click BaseModel "https://haive-central.readthedocs.io/en/latest/schema/base.html" "π View in Haive Central Docs"
click Tool "https://haive-central.readthedocs.io/en/latest/tools/base.html" "π View in Haive Central Docs"
click MCPClient "autoapi/haive/mcp/client/index.html" "π View API Documentation"
click MCPServer "autoapi/haive/mcp/servers/index.html" "π View API Documentation"
click MCPAgent "autoapi/haive/mcp/agents/index.html" "π View API Documentation"
click IntelligentMCPAgent "autoapi/haive/mcp/agents/index.html" "π View API Documentation"
click ServerRegistry "autoapi/haive/mcp/registry/index.html" "π View API Documentation"
click ToolRegistry "autoapi/haive/mcp/registry/index.html" "π View API Documentation"
%% Styling
classDef central fill:#e1f5fe,stroke:#0277bd,stroke-width:2px,color:#000
classDef mcp fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px,color:#000
classDef mcpagent fill:#e8f5e8,stroke:#2e7d32,stroke-width:2px,color:#000
classDef registry fill:#fff3e0,stroke:#ef6c00,stroke-width:2px,color:#000
classDef config fill:#fce4ec,stroke:#c2185b,stroke-width:2px,color:#000
classDef plugin fill:#e0f2f1,stroke:#00695c,stroke-width:2px,color:#000
π External ReferencesΒΆ
This diagram shows relationships between haive-mcp classes and core Haive framework classes:
Complete framework documentation including base Agent, Tool, and Schema classes that haive-mcp extends.
Detailed API documentation for all haive-mcp specific classes and methods.
π LegendΒΆ
Color |
Component Type |
Description |
|---|---|---|
π΅ Blue |
Haive Central |
Core framework classes from haive-central |
π£ Purple |
MCP Core |
Core MCP protocol implementation |
π’ Green |
MCP Agents |
Agent classes with MCP capabilities |
π Orange |
Registry |
Server and tool discovery systems |
π΄ Pink |
Configuration |
Settings and configuration classes |
π€ Teal |
Plugins |
Extensible plugin system |
π Key RelationshipsΒΆ
Inheritance (solid arrows): Direct class inheritance
Composition (dashed arrows): Classes that use or contain other classes
External Links: Click blue classes to view in Haive Central docs
Internal Links: Click colored classes to view local API documentation
Note
Interactive Features:
Click any class node to view detailed documentation
Blue nodes link to haive-central documentation
Colored nodes link to local API reference
Expand/collapse the diagram using the details toggle