API Reference¶
This section provides comprehensive API documentation for DeepCritical's core modules and components.
Core Modules¶
Agents API¶
Complete documentation for the agent system including specialized agents, orchestrators, and workflow management.
AgentType
- Agent type enumerationAgentDependencies
- Agent configuration and dependenciesBaseAgent
- Abstract base class for all agentsAgentOrchestrator
- Multi-agent coordinationCodeExecutionAgent
- Code execution and improvementCodeGenerationAgent
- Natural language to code conversionCodeImprovementAgent
- Error analysis and code enhancement
Tools API¶
Documentation for the tool ecosystem, registry system, and execution framework.
ToolRunner
- Abstract base class for toolsToolSpec
- Tool specification and metadataToolRegistry
- Global tool registry and managementExecutionResult
- Tool execution resultsToolRequest
/ToolResponse
- Tool communication interfaces
Data Types¶
Agent Framework Types¶
Core types for agent communication and state management.
AgentRunResponse
- Agent execution responseChatMessage
- Message format for agent communicationRole
- Message roles (user, assistant, system)Content
- Message content typesTextContent
- Text message content
Research Types¶
Types for research workflows and data structures.
ResearchState
- Main research workflow stateResearchOutcome
- Research execution resultsStepResult
- Individual step execution resultsExecutionHistory
- Workflow execution tracking
Configuration API¶
Hydra Configuration¶
Configuration management and validation system.
- Configuration file structure
- Environment variable integration
- Configuration validation
- Dynamic configuration composition
Tool Categories¶
Knowledge Query Tools¶
Tools for information retrieval and knowledge querying.
Sequence Analysis Tools¶
Bioinformatics tools for sequence analysis and processing.
Structure Prediction Tools¶
Molecular structure prediction and modeling tools.
Molecular Docking Tools¶
Drug-target interaction and docking simulation tools.
De Novo Design Tools¶
Novel molecule design and generation tools.
Function Prediction Tools¶
Protein function annotation and prediction tools.
Specialized APIs¶
Bioinformatics Integration¶
APIs for bioinformatics data sources and integration.
RAG System API¶
Retrieval-augmented generation system interfaces.
Search Integration API¶
Web search and content processing APIs.
MCP Server Framework¶
MCP Server Base Classes¶
Base classes for Model Context Protocol server implementations.
MCPServerBase
- Enhanced base class with Pydantic AI integration@mcp_tool
- Custom decorator for Pydantic AI tool creationMCPServerConfig
- Server configuration management
Available MCP Servers¶
29 pre-built bioinformatics MCP servers with containerized deployment.
Development APIs¶
Testing Framework¶
APIs for comprehensive testing and validation.
CI/CD Integration¶
APIs for continuous integration and deployment.
Navigation¶
- Getting Started - Basic usage and setup
- Architecture - System design and components
- Examples - Usage examples and tutorials
- Development - Development environment and workflow