MCPcopy Index your code

hub / github.com/algorithmicsuperintelligence/optillm / types & classes

Types & classes178 in github.com/algorithmicsuperintelligence/optillm

↓ 14 callersClassServerConfig
Configuration for a single MCP server
optillm/plugins/mcp_plugin.py:119
↓ 10 callersClassBatchingError
Raised when batch processing fails
optillm/batching.py:35
↓ 10 callersClassMCPConfigManager
Manages MCP configuration loading and validation
optillm/plugins/mcp_plugin.py:164
↓ 9 callersClassMCPServer
Represents a connection to an MCP server
optillm/plugins/mcp_plugin.py:261
↓ 6 callersClassChatCompletionUsage
optillm/inference.py:1689
↓ 6 callersClassLoggingClientSession
A ClientSession that logs all communication
optillm/plugins/mcp_plugin.py:232
↓ 6 callersClassRequestBatcher
Automatic request batching for OptILLM Collects incoming requests into batches and processes them together for improved throughput.
optillm/batching.py:39
↓ 4 callersClassAgentSolution
Represents a solution attempt by an agent
optillm/mars/workspace.py:13
↓ 4 callersClassChatCompletion
optillm/inference.py:1696
↓ 4 callersClassConversationLogger
Logger for OptiLLM conversations including all provider interactions and metadata. Logs are saved in JSONL format (one JSON object per line)
optillm/conversation_logger.py:31
↓ 4 callersClassMCPServerManager
Manages MCP servers and capabilities
optillm/plugins/mcp_plugin.py:501
↓ 4 callersClassMockOpenAIClient
Enhanced mock OpenAI client for MARS testing
tests/test_mars_parallel.py:27
↓ 4 callersClassNode
optillm/rstar.py:16
↓ 4 callersClassRStar
optillm/rstar.py:25
↓ 4 callersClassStrategy
Represents a problem-solving strategy learned by the system.
optillm/plugins/spl/strategy.py:27
↓ 4 callersClassZ3SymPySolverSystem
optillm/z3_solver.py:143
↓ 3 callersClassCBLog
Object for logging the number of LLM calls and tokens used in the pipeline
optillm/plugins/longcepo/utils.py:11
↓ 3 callersClassJSONGenerator
tests/test_json_plugin.py:26
↓ 3 callersClassMARSAgent
Individual agent for mathematical reasoning with OpenRouter reasoning API
optillm/mars/agent.py:19
↓ 3 callersClassMLXInferencePipeline
MLX-based inference pipeline that mirrors PyTorch pipeline interface
optillm/inference.py:301
↓ 3 callersClassMockResponse
tests/test_approaches.py:44
↓ 3 callersClassMockUsage
tests/test_approaches.py:40
↓ 2 callersClassApproachHandler
Dynamically handles both approaches and plugins
optillm/plugins/proxy/approach_handler.py:13
↓ 2 callersClassConfidenceCalculator
Calculates various confidence metrics for token-level assessment.
optillm/deepconf/confidence.py:18
↓ 2 callersClassConfidenceThresholdCalibrator
Calibrates confidence thresholds based on warmup traces.
optillm/deepconf/confidence.py:179
↓ 2 callersClassDialogueState
optillm/mcts.py:11
↓ 2 callersClassGoogleSearcher
optillm/plugins/web_search_plugin.py:111
↓ 2 callersClassMCTSNode
optillm/mcts.py:20
↓ 2 callersClassMLXModelConfig
Configuration for MLX models
optillm/inference.py:292
↓ 2 callersClassMockChoice
tests/test_approaches.py:34
↓ 2 callersClassMockOpenAIClient
Enhanced mock OpenAI client for IMO25 testing
tests/test_mars_imo25.py:21
↓ 2 callersClassMockOpenAIResponse
Mock OpenAI API response
tests/test_conversation_logging_approaches.py:33
↓ 2 callersClassOptILMClassifier
scripts/train_optillm_classifier.py:110
↓ 2 callersClassProxyClient
OpenAI-compatible client that proxies to multiple providers
optillm/plugins/proxy/client.py:104
↓ 2 callersClassVerificationResult
Represents a verification attempt result
optillm/mars/workspace.py:28
↓ 1 callersClassAdvancedSelfConsistency
optillm/self_consistency.py:9
↓ 1 callersClassAnswerExtractor
Universal answer extractor using math-verify with fallback patterns
optillm/utils/answer_extraction.py:15
↓ 1 callersClassAutoThinkProcessor
Main AutoThink processor class for external use. Wraps the internal processor implementation.
optillm/autothink/autothink.py:16
↓ 1 callersClassBatchRequest
Container for a single request in a batch
optillm/batching.py:27
↓ 1 callersClassBrowserSessionManager
Manages a single browser session across multiple searches. Implements context manager for automatic cleanup.
optillm/plugins/web_search_plugin.py:21
↓ 1 callersClassCepoConfig
optillm/cepo/cepo.py:21
↓ 1 callersClassChatCompletionChoice
optillm/inference.py:1675
↓ 1 callersClassChatCompletionMessage
optillm/inference.py:1669
↓ 1 callersClassCompletions
optillm/litellm_wrapper.py:29
↓ 1 callersClassComplexityClassifier
Classifies queries as HIGH or LOW complexity for token budget allocation. Uses the adaptive-classifier model for classification.
optillm/autothink/classifier.py:15
↓ 1 callersClassConsistentMockClient
tests/test_mars_parallel.py:487
↓ 1 callersClassControlledMockClient
tests/test_mars_imo25.py:260
↓ 1 callersClassConversationEntry
Represents a single conversation entry being logged
optillm/conversation_logger.py:18
↓ 1 callersClassDeepConfProcessor
Main DeepConf processor implementing online mode with early termination.
optillm/deepconf/processor.py:47
↓ 1 callersClassDeepResearchClientWrapper
Wrapper that adds extended timeout support for different client types
optillm/plugins/deep_research_plugin.py:19
↓ 1 callersClassDeepResearcher
Simplified implementation of Test-Time Diffusion Deep Researcher (TTD-DR) algorithm This class implements the core concepts from the TTD-DR
optillm/plugins/deep_research/research_engine.py:273
↓ 1 callersClassDeviceManager
optillm/inference.py:959
↓ 1 callersClassEnhancedMockClient
tests/test_mars_parallel.py:306
↓ 1 callersClassFailingMockClient
tests/test_mars_parallel.py:218
↓ 1 callersClassFailingTokenizer
tests/test_reasoning_simple.py:79
↓ 1 callersClassHealthChecker
Background health checker for providers
optillm/plugins/proxy/health.py:11
↓ 1 callersClassInferenceClient
OpenAI SDK Compatible client for local inference with dynamic model support
optillm/inference.py:1743
↓ 1 callersClassInferencePipeline
optillm/inference.py:1215
↓ 1 callersClassJSONGenerator
optillm/plugins/json_plugin.py:15
↓ 1 callersClassLEAP
optillm/leap.py:12
↓ 1 callersClassLiteLLMWrapper
optillm/litellm_wrapper.py:21
↓ 1 callersClassLoRAManager
LoRA manager with enhanced error handling and caching
optillm/inference.py:1113
↓ 1 callersClassLogProbsCalculator
Handles calculation of log probabilities for generated tokens
optillm/inference.py:124
↓ 1 callersClassLogProbsResult
Container for logprobs calculation results
optillm/inference.py:117
↓ 1 callersClassLongCepoConfig
optillm/plugins/longcepo/config.py:15
↓ 1 callersClassMARSAggregator
RSA-inspired aggregation system for combining solutions Key features: - Population management (N > K for diversity) - Recursive aggr
optillm/mars/aggregator.py:20
↓ 1 callersClassMARSVerifier
Multi-pass verification system inspired by IMO25 solver
optillm/mars/verifier.py:15
↓ 1 callersClassMARSWorkspace
Shared workspace for agent collaboration and solution tracking
optillm/mars/workspace.py:39
↓ 1 callersClassMCTS
optillm/mcts.py:28
↓ 1 callersClassMLXManager
Manager for MLX models and operations
optillm/inference.py:590
↓ 1 callersClassMLXThinkDeeperProcessor
optillm/thinkdeeper_mlx.py:34
↓ 1 callersClassMemory
optillm/plugins/memory_plugin.py:9
↓ 1 callersClassMemoryEfficientAttention
Memory-efficient attention using linear attention mechanism. Supports automatic fallback to optimized implementations when available.
optillm/inference.py:618
↓ 1 callersClassMessage
tests/test_approaches.py:35
↓ 1 callersClassMockBadClient
Mock client that simulates degraded provider responses. mode: - "empty_choices": response with an empty choices list - "none_content"
tests/test_approaches.py:51
↓ 1 callersClassMockChoice
tests/test_mars_imo25.py:46
↓ 1 callersClassMockChoice
tests/test_mars_parallel.py:66
↓ 1 callersClassMockClient
Mock OpenAI client for testing
tests/test_approaches.py:23
↓ 1 callersClassMockMessage
tests/test_approaches.py:83
↓ 1 callersClassMockOpenAIClient
Mock OpenAI client for testing
tests/test_conversation_logging_approaches.py:59
↓ 1 callersClassMockResponse
tests/test.py:42
↓ 1 callersClassMockResponse
tests/test_mars_imo25.py:52
↓ 1 callersClassMockResponse
tests/test_mars_parallel.py:72
↓ 1 callersClassMockTokenizer
tests/test_reasoning_simple.py:67
↓ 1 callersClassMockUsage
tests/test_mars_imo25.py:39
↓ 1 callersClassMockUsage
tests/test_mars_parallel.py:59
↓ 1 callersClassModelConfig
optillm/inference.py:93
↓ 1 callersClassModelManager
optillm/inference.py:1002
↓ 1 callersClassModels
optillm/litellm_wrapper.py:41
↓ 1 callersClassMonitoringMockClient
tests/test_mars_parallel.py:395
↓ 1 callersClassOptILMClassifier
optillm/plugins/router_plugin.py:30
↓ 1 callersClassOptILMDataset
scripts/train_optillm_classifier.py:24
↓ 1 callersClassPlanSearch
optillm/plansearch.py:8
↓ 1 callersClassProvider
Wrapper for a provider configuration and client
optillm/plugins/proxy/client.py:16
↓ 1 callersClassReasoningStrategy
Represents an extracted reasoning strategy from an agent solution
optillm/mars/strategy_network.py:21
↓ 1 callersClassResearchSessionState
Thread-safe session state manager for deep research. Ensures only one browser session is active per research query.
optillm/plugins/deep_research/session_state.py:10
↓ 1 callersClassSelfDiscover
Implementation of the SELF-DISCOVER framework. The framework operates in two stages: 1. Stage 1: Discover task-specific reasoning struct
optillm/plugins/deepthink/self_discover.py:16
↓ 1 callersClassSimpleQAEvaluator
Main evaluator class for SimpleQA benchmark
scripts/eval_simpleqa_benchmark.py:84
↓ 1 callersClassSteeringHook
Hook for applying steering vectors during generation.
optillm/autothink/steering.py:285
↓ 1 callersClassSteeringVectorManager
Manager for loading and applying steering vectors from a dataset.
optillm/autothink/steering.py:18
next →1–100 of 178, ranked by callers