Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/OpenPipe/ART
/ types & classes
Types & classes
261 in github.com/OpenPipe/ART
⨍
Functions
1,502
◇
Types & classes
261
↳
Endpoints
14
↓ 59 callers
Class
TrajectoryGroup
src/art/trajectories.py:130
↓ 53 callers
Class
Trajectory
src/art/trajectories.py:38
↓ 48 callers
Class
Model
A model is an object that can be passed to your `rollout` function, and used to log completions. Additionally, a `TrainableModel`, which is a
src/art/model.py:54
↓ 37 callers
Class
MetricsBuilder
Build and accumulate step-level metrics for logging.
src/art/metrics.py:77
↓ 31 callers
Class
LocalBackend
src/art/local/backend.py:73
↓ 26 callers
Class
ModelPricing
Per-million-token pricing for a model.
src/art/costs.py:10
↓ 22 callers
Class
InternalModelConfig
Model configuration. Args: init: Arguments for initializing an Unsloth FastLanguageModel. engine: Arguments for the vLLM eng
src/art/dev/model.py:108
↓ 20 callers
Class
Message
Container for a single turn in a multi-turn conversation. Args: role: Role String that denotes the source of the message, typic
src/art/tinker/cookbook_v/renderers/base.py:301
↓ 18 callers
Class
TextPart
A chunk of text content in a message, usually meant to be visible to the user (unlike ThinkingPart, which is internal reasoning).
src/art/tinker/cookbook_v/renderers/base.py:104
↓ 17 callers
Class
TrainableModel
src/art/model.py:887
↓ 13 callers
Class
_OpenAIResponse
tests/unit/test_track_api_cost.py:35
↓ 12 callers
Class
RenderedMessage
Container for parts of a rendered message, structured for loss masking. A rendered message is split into header and output to control which
src/art/tinker/cookbook_v/renderers/base.py:633
↓ 12 callers
Class
UnparsedToolCall
Represents a tool call that failed to parse from model output. When a model generates text that looks like a tool call but cannot be par
src/art/tinker/cookbook_v/renderers/base.py:82
↓ 8 callers
Class
ServerlessBackend
src/art/serverless/backend.py:78
↓ 7 callers
Class
LoRA
src/art/megatron/lora.py:19
↓ 6 callers
Class
MigrationResult
Results from a migration operation.
src/art/utils/trajectory_migration.py:145
↓ 5 callers
Class
FakeTokenizer
tests/unit/test_tinker_renderers.py:10
↓ 5 callers
Class
GatherContext
src/art/gather.py:203
↓ 5 callers
Class
MCPTool
Represents an MCP tool.
src/art/mcp/types.py:11
↓ 5 callers
Class
Model
src/art/serverless/client.py:27
↓ 5 callers
Class
ModelConfig
examples/tic_tac_toe_self_play/rollout.py:31
↓ 5 callers
Class
MyTask
examples/benchmarking_comparison_models.py:15
↓ 5 callers
Class
PipelineTrainer
Async 3-stage pipeline for rollouts, training, and eval.
src/art/pipeline_trainer/trainer.py:57
↓ 5 callers
Class
RenderContext
Context passed to render_message for rendering a single message. This allows renderers to access information about the message's position
src/art/tinker/cookbook_v/renderers/base.py:344
↓ 5 callers
Class
Response
src/mp_actors/move.py:98
↓ 5 callers
Class
TicTacToeScenario
examples/tic_tac_toe_self_play/rollout.py:102
↓ 5 callers
Class
TokenPricing
src/art/api_costs.py:22
↓ 5 callers
Class
ToolCall
Structured tool invocation following OpenAI/kosong format. This represents a request to invoke a tool/function. The structure follows th
src/art/tinker/cookbook_v/renderers/base.py:42
↓ 5 callers
Class
_AnthropicResponse
tests/unit/test_track_api_cost.py:71
↓ 5 callers
Class
_ParameterTypeScalar
src/art/tinker/cookbook_v/renderers/kimi_k2_5_tool_declaration_ts.py:85
↓ 4 callers
Class
DemoService
tests/unit/test_mp_actors.py:12
↓ 4 callers
Class
GeneratedScenarioCollection
A collection of scenarios with utilities for management and analysis.
src/art/mcp/types.py:97
↓ 4 callers
Class
GptOssRenderer
Renderer for OpenAI's open source models using the Harmony format. Wire format: <|start|>role<|channel|>channel<|message|>content<|end|>
src/art/tinker/cookbook_v/renderers/gpt_oss.py:143
↓ 4 callers
Class
History
src/art/trajectories.py:30
↓ 4 callers
Class
McpScenario
A scenario for MCP agent evaluation.
examples/mcp-rl/mcp_rl/rollout.py:34
↓ 4 callers
Class
TinkerNativeBackend
src/art/tinker_native/backend.py:111
↓ 4 callers
Class
_RadixNode
src/art/tinker/prefix_cache.py:37
↓ 3 callers
Class
FactsScenario
examples/just-the-facts/just_the_facts/rollout.py:21
↓ 3 callers
Class
LRUTrieCache
LRU-bounded radix trie for token sequence rewrites.
src/art/tinker/prefix_cache.py:59
↓ 3 callers
Class
LoggingLLM
src/art/langgraph/llm_wrapper.py:130
↓ 3 callers
Class
MCPResource
Represents an MCP resource.
src/art/mcp/types.py:44
↓ 3 callers
Class
StreamingTextDelta
Incremental text content during streaming. Contains only the new text since the last delta, not the accumulated text. The recipient should co
src/art/tinker/cookbook_v/renderers/base.py:148
↓ 3 callers
Class
StreamingThinkingDelta
Incremental thinking/reasoning content during streaming. Contains only the new thinking text since the last delta.
src/art/tinker/cookbook_v/renderers/base.py:161
↓ 3 callers
Class
ThinkingPart
Model's internal reasoning (chain-of-thought) as a content part.
src/art/tinker/cookbook_v/renderers/base.py:121
↓ 3 callers
Class
TicTacToeScenario
examples/tic_tac_toe/rollout.py:22
↓ 3 callers
Class
TogetherDeploymentConfig
Configuration for deploying to Together. See supported base models: https://docs.together.ai/docs/lora-inference#supported-base-models Attri
src/art/utils/deployment/together.py:25
↓ 3 callers
Class
_FakeResponse
tests/unit/test_ruler_metrics.py:45
↓ 3 callers
Class
_RadixEdge
src/art/tinker/prefix_cache.py:29
↓ 2 callers
Class
BenchmarkModelKey
src/art/utils/benchmarking/types.py:1
↓ 2 callers
Class
DeepSeekV3DisableThinkingRenderer
Renderer for DeepSeek V3 models in NON-THINKING mode. Format: <|begin_of_sentence|><|User|>question<|Assistant|></think>answer<|end_
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:463
↓ 2 callers
Class
DeploymentResult
Result of a deployment operation.
src/art/utils/deployment/common.py:21
↓ 2 callers
Class
EngineArgs
src/art/dev/engine.py:6
↓ 2 callers
Class
FileLogger
src/art/langgraph/logging.py:5
↓ 2 callers
Class
MyConfig
examples/benchmarking_comparison_models.py:40
↓ 2 callers
Class
OpenAIServerConfig
Server configuration. Args: log_file: Path to the log file. server_args: Arguments for the vLLM OpenAI-compatible server.
src/art/dev/openai_server.py:50
↓ 2 callers
Class
PlayerState
examples/tic_tac_toe_self_play/rollout.py:25
↓ 2 callers
Class
StreamingMessageHeader
Emitted at the start of a new message during streaming. This signals that a new message is beginning and provides the author info.
src/art/tinker/cookbook_v/renderers/base.py:137
↓ 2 callers
Class
TinkerBackend
src/art/tinker/backend.py:15
↓ 2 callers
Class
TokenizedResult
src/art/preprocessing/tokenize.py:17
↓ 2 callers
Class
TrainConfig
src/art/dev/train.py:6
↓ 2 callers
Class
TrainInputs
Training inputs with config attached.
src/art/preprocessing/inputs.py:11
↓ 2 callers
Class
TrainResult
Base result returned from backend.train(). Attributes: step: The training step after this training call completed. metrics: Aggre
src/art/types.py:36
↓ 2 callers
Class
TrainSFTConfig
src/art/types.py:22
↓ 2 callers
Class
TrainingJobEvents
src/art/serverless/client.py:209
↓ 2 callers
Class
TrajectoryBatchSummary
src/art/metrics_taxonomy.py:46
↓ 2 callers
Class
UnslothService
src/art/unsloth/service.py:305
↓ 2 callers
Class
UnsupportedBaseModelDeploymentError
An error raised when the user attempts to deploy a model to a provider that does not support it for serverless LoRA deployment. Status code:
src/art/errors.py:41
↓ 2 callers
Class
YieldTrajectoryContext
src/art/yield_trajectory.py:20
↓ 2 callers
Class
_ParameterTypeObject
src/art/tinker/cookbook_v/renderers/kimi_k2_5_tool_declaration_ts.py:108
↓ 1 callers
Class
AlphaVantageClient
Client for interacting with Alpha Vantage API
examples/mcp-rl/servers/python/mcp_alphavantage/server.py:16
↓ 1 callers
Class
AutoTrajectoryContext
src/art/auto_trajectory.py:70
↓ 1 callers
Class
BalldontlieClient
Client for interacting with Balldontlie NBA API
examples/mcp-rl/servers/python/mcp_balldontlie/server.py:16
↓ 1 callers
Class
BenchmarkedModel
src/art/utils/old_benchmarking/types.py:37
↓ 1 callers
Class
BenchmarkedModelStep
src/art/utils/old_benchmarking/types.py:24
↓ 1 callers
Class
Checkpoints
src/art/serverless/client.py:148
↓ 1 callers
Class
Client
src/art/serverless/client.py:256
↓ 1 callers
Class
CoroutineWithMetadata
src/art/trajectories.py:300
↓ 1 callers
Class
DatasetBatch
Container for dataset batch information.
src/art/utils/iterate_dataset.py:12
↓ 1 callers
Class
DeepSeekV3ThinkingRenderer
Renderer for DeepSeek V3 models in THINKING mode. Format: <|begin_of_sentence|><|User|>question<|Assistant|><think>reasoning</think>
src/art/tinker/cookbook_v/renderers/deepseek_v3.py:376
↓ 1 callers
Class
Direction
examples/2048/utils.py:20
↓ 1 callers
Class
ExitService
tests/unit/test_mp_actors.py:43
↓ 1 callers
Class
ExperimentalTrainingConfig
src/art/serverless/client.py:53
↓ 1 callers
Class
FlexAttentionWrapper
Compiled `flex_attention` wrapper with Torchtitan-style inductor options.
src/art/megatron/flex_attention.py:28
↓ 1 callers
Class
ForbiddenBucketCreationError
An error raised when the user receives a 403 Forbidden error when trying to create a bucket. This can occur if the bucket already exists and belo
src/art/errors.py:17
↓ 1 callers
Class
GoogleMapsClient
Client for interacting with Google Maps APIs
examples/mcp-rl/servers/python/mcp_googlemaps/server.py:16
↓ 1 callers
Class
InitArgs
src/art/dev/model.py:154
↓ 1 callers
Class
JustTheFactsConfig
examples/just-the-facts/just_the_facts/experiments.py:6
↓ 1 callers
Class
KimiK25DisableThinkingRenderer
Renderer for Kimi K2.5 with thinking disabled. Uses `<think></think>` prefill instead of `<think>` to disable thinking mode. Format:
src/art/tinker/cookbook_v/renderers/kimi_k25.py:134
↓ 1 callers
Class
KimiK25Renderer
Renderer for Kimi K2.5 with thinking enabled (default). Key differences from KimiK2Renderer: 1. Generation prompt prefill: Appends `<thi
src/art/tinker/cookbook_v/renderers/kimi_k25.py:21
↓ 1 callers
Class
KimiK2Renderer
Format for moonshotai/Kimi-K2-Thinking: <|im_system|>system<|im_middle|>You are Kimi, an AI assistant created by Moonshot AI.<|im_end|>
src/art/tinker/cookbook_v/renderers/kimi_k2.py:355
↓ 1 callers
Class
KimiK2StreamingParser
Stateful streaming parser for Kimi K2 model output. Parses tokens incrementally, yielding deltas as content becomes available. Handles UTF-8
src/art/tinker/cookbook_v/renderers/kimi_k2.py:135
↓ 1 callers
Class
Llama3Renderer
Renderer for Llama 3 Instruct models. Format:: <|begin_of_text|><|start_header_id|>system<|end_header_id|> You are a helpful AI
src/art/tinker/cookbook_v/renderers/llama3.py:15
↓ 1 callers
Class
LoRADeploymentTimedOutError
An error raised when deployment of a LoRA times out. Status code: 504
src/art/errors.py:52
↓ 1 callers
Class
LocalTrainResult
Result from LocalBackend.train(). Attributes: step: The training step after this training call completed. metrics: Aggregated tra
src/art/types.py:49
↓ 1 callers
Class
Loss
src/art/loss.py:14
↓ 1 callers
Class
MLPExpertsLinearFC1LoRA
src/art/megatron/lora.py:293
↓ 1 callers
Class
MLPExpertsLinearFC2LoRA
src/art/megatron/lora.py:337
↓ 1 callers
Class
McpPolicyConfig
examples/mcp-rl/all_experiments.py:6
↓ 1 callers
Class
MegatronBackend
src/art/megatron/backend.py:9
↓ 1 callers
Class
MegatronService
src/art/megatron/service.py:42
next →
1–100 of 261, ranked by callers