Skip to content

API Reference

Everything below is importable from the top-level mmar_carl package (from mmar_carl import ...). This page groups the public surface; follow the links for full guides.

ReasoningChain · ChainBuilder · ReasoningContext · ReasoningResult · StepExecutionResult · DAGExecutor · ContextSnapshot · PromptTemplate · Language · StepType · MemoryOperation · ChainFormatNewerError · ExecutionCancelledError → chains · concepts

Typed: LLMStepDescription · ToolStepDescription · MemoryStepDescription · TransformStepDescription · ConditionalStepDescription · StructuredOutputStepDescription · MCPStepDescription · MCPResourceStepDescription · AgentSkillStepDescription · AgentHandoffStepDescription · SupervisorStepDescription · DebateStepDescription · ParallelSamplingStepDescription · HumanInputStepDescription · ToolDiscoveryStepDescription · EvaluationStepDescription. Base/legacy: StepDescriptionBase · StepDescription · AnyStepDescription · create_step → steps

ToolStepConfig · ToolErrorRecovery · ToolParameter · MemoryStepConfig · TransformStepConfig · ConditionalStepConfig · ConditionalBranch · StructuredOutputStepConfig · LLMStepConfig · ExecutionMode · LoopConfig · StepCache · StepGroup · MCPStepConfig · MCPServerConfig · MCPResourceStepConfig · AgentHandoffStepConfig · SupervisorStepConfig · DebateStepConfig · ParallelSamplingStepConfig · ParallelSamplingAggregation · HumanInputStepConfig · ToolDiscoveryStepConfig · AgentSkillStepConfig · AgentSkillExecutionMode · AgentSkillSource · EvaluationStepConfig · EvalFailAction

ContextSearchConfig · ContextQuery · SubstringSearchStrategy · VectorSearchStrategy · SearchStrategy → context & search

LTMBase · InMemoryLTM · JsonFileLTM · LazyMemoryValue · unwrap_lazy · MemorySchemaError → memory

OpenAICompatibleClient · OpenAIClientConfig · create_openai_client · AnthropicClient · AnthropicClientConfig · RetryPolicy · LLMClientBase · ChatMessage · RecordingLLMClient · PlayingLLMClient · CassetteMissError → LLM clients

MetricBase · call_metric_async · MetricOutput · ExactMatchMetric · CaseInsensitiveMatchMetric · ContainsMetric · RegexMatchMetric · DatasetEvaluator · DataCase · SimpleDataset · DataFrameDataset · AbstractDataset · DatasetEvaluationReport · ThresholdStrategy · TopKWorstStrategy · EvalSuite · EvalSuiteReport · EvalSuiteDiff · ReflectionOptions → evaluation

ChainEvolver · ChainMutator · MutationKind · EvolutionResult · IndividualMetrics · EvolutionCostEstimate · GenerationStats · format_runs_pareto → evolution

ExecutionTrace · TraceEvent · TraceAggregator · ChainVisualizer · CostEstimate · StepCostEstimate · StreamingBuffer · logging: set_log_level / get_logger / log_* · langfuse_flush · is_langfuse_enabled → tracing

ReplanPolicy · RuleBasedReplanCheckerConfig · LLMReplanCheckerConfig · RegisteredReplanCheckerConfig · RuleBasedReplanChecker · LLMReplanChecker · ReplanAction · ReplanAggregationStrategy · ReplanAggregationConfig · ReplanTriggerConfig · ReplanBudgetConfig · ReplanRollbackTarget · ReplanVerdict → RE-PLAN

DebateTranscript · DebateTurn · ParallelSamples · SupervisorDecision · ReplanEvent → orchestration

resolve_skill · GithubResolver · LocalResolver · HttpsTarballResolver · ModuleResolver · SkillResolverRegistry · ResolvedSkill · SkillIntegrityError · SkillLoader · SkillManifest · skill runtimes (LocalSkillRuntime / DockerSkillRuntime / E2BSkillRuntime / FirejailSkillRuntime) · list_cached_skills → AgentSkills

carl_tool · ToolDefinition · ModuleToolSource · CallableToolSource · DictToolSource · get_executor · register_executor · StepExecutorBase · the per-type *StepExecutor classes → tool steps

ChainTestHarness · MCPSessionPool → MCP