Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/rllm-org/rllm
/ types & classes
Types & classes
267 in github.com/rllm-org/rllm
⨍
Functions
1,799
◇
Types & classes
267
↳
Endpoints
48
↓ 41 callers
Class
ToolOutput
rllm/tools/tool_base.py:19
↓ 40 callers
Class
Trajectory
rllm/agents/agent.py:71
↓ 33 callers
Class
RewardConfig
rllm/rewards/reward_types.py:11
↓ 30 callers
Class
Step
rllm/agents/agent.py:8
↓ 27 callers
Class
RewardOutput
Data structure for the output of reward calculations. Attributes: reward (float): The computed reward value based on the evaluation of th
rllm/rewards/reward_types.py:78
↓ 26 callers
Class
AgentTrainer
A wrapper class that allows users to easily train custom agents with custom environments without having to directly interact with the underly
rllm/trainer/agent_trainer.py:9
↓ 25 callers
Class
ToolEnvironment
A simple environment for tool-based agents that provides questions and evaluates responses.
rllm/environments/tools/tool_env.py:12
↓ 23 callers
Class
FrozenLakeEnv
Inherits from gymnasium.envs.toy_text.frozen_lake.FrozenLakeEnv ## Description The game starts with the player at random location of the
rllm/environments/frozenlake/frozenlake.py:94
↓ 22 callers
Class
MCPEnvironment
An environment for MCP-based tools that provides questions and evaluates responses. Uses a dedicated connection manager to avoid asyncio cont
rllm/environments/tools/mcp_env.py:173
↓ 20 callers
Class
TerminationEvent
rllm/workflows/workflow.py:26
↓ 18 callers
Class
Action
rllm/agents/agent.py:66
↓ 18 callers
Class
RewardMathFn
Reward function for evaluating mathematical answers. This class implements the RewardFunction protocol to process the input and determine
rllm/rewards/math_reward.py:18
↓ 15 callers
Class
ContextVarSession
Context-based session for in-process LLM trace collection. Features thread-safe context propagation, nested sessions with metadata inheritance,
rllm/sdk/session/contextvar.py:58
↓ 15 callers
Class
RewardCodeFn
Reward function for evaluating code dataset answers. This class implements the RewardFunction protocol to process the input and determine
rllm/rewards/code_reward.py:397
↓ 14 callers
Class
AppWorldReactAgent
React agent adapted for AppWorld integration with rLLM. This agent implements the ReAct (Reasoning, Action) pattern specifically designed
rllm/agents/appworld_react_agents.py:9
↓ 11 callers
Class
AgentExecutionEngine
rllm/engine/agent_execution_engine.py:26
↓ 11 callers
Class
Episode
rllm/agents/agent.py:125
↓ 11 callers
Class
MCPConnectionManager
Manages MCP connections in a dedicated thread to avoid asyncio context issues.
rllm/environments/tools/mcp_env.py:17
↓ 11 callers
Class
MathAgent
A math agent that solves mathematical problems step by step, following the BaseAgent interface.
rllm/agents/math_agent.py:7
↓ 11 callers
Class
ToolAgent
An tool agent that can use tools to interact with the environment, refactored to follow the BaseAgent abstraction.
rllm/agents/tool_agent.py:17
↓ 10 callers
Class
AgentWorkflowEngine
rllm/engine/agent_workflow_engine.py:24
↓ 9 callers
Class
FrozenLakeAgent
rllm/agents/frozenlake_agent.py:13
↓ 9 callers
Class
OpenAIEngine
rllm/engine/rollout/openai_engine.py:14
↓ 7 callers
Class
MockRewardFunction
Mock reward function for testing.
tests/envs/test_tool_env.py:30
↓ 7 callers
Class
MockRewardFunction
Mock reward function for testing.
tests/envs/test_mcp_env.py:9
↓ 7 callers
Class
Tracking
A unified tracking interface for logging experiment data to multiple backends. This class provides a centralized way to log experiment metrics, p
rllm/utils/tracking.py:59
↓ 6 callers
Class
CodeToolOutput
rllm/tools/code_tools/code_tool.py:9
↓ 6 callers
Class
Dataset
A class representing a dataset.
rllm/data/dataset.py:13
↓ 6 callers
Class
MultiTool
rllm/tools/multi_tool.py:5
↓ 6 callers
Class
Trace
A trace is a dictionary with the following structure: { # Core LLM call information "name": str, # e.g., "proxy
rllm/sdk/protocol.py:18
↓ 5 callers
Class
ModelOutput
rllm/engine/rollout/rollout_engine.py:7
↓ 5 callers
Class
SqliteTraceStore
Standalone SQLite-based trace store with fast session context queries. Uses a junction table pattern to enable efficient queries by session_
rllm/sdk/store/sqlite_store.py:43
↓ 5 callers
Class
ToolCall
rllm/tools/tool_base.py:10
↓ 4 callers
Class
AsyncAgentExecutionEngine
rllm/engine/agent_execution_engine.py:619
↓ 4 callers
Class
RewardInput
Data structure for input required to calculate rewards. Attributes: task_info (Dict): The task dictionary containing question, answer, an
rllm/rewards/reward_types.py:54
↓ 4 callers
Class
TogetherCodeTool
Tool for executing Python code using Together Code Interpreter (TCI). This tool integrates with Together's Code Interpreter API to provide a
rllm/tools/code_tools/together_tool.py:8
↓ 4 callers
Class
TraceContext
Simple context object returned by the store. Contains only essential fields for trace/signal storage and retrieval.
rllm/sdk/store/sqlite_store.py:17
↓ 4 callers
Class
TrajectoryView
A view of a trajectory. Represents a collection of steps (each step = 1 trace) Each trace in the trajectory is automatically converted t
rllm/sdk/protocol.py:116
↓ 3 callers
Class
QwenChatTemplateParser
rllm/parser/chat_template_parser.py:351
↓ 3 callers
Class
QwenToolParser
rllm/parser/tool_parser.py:187
↓ 3 callers
Class
R1ToolParser
Parser for R1 tool call format.
rllm/parser/tool_parser.py:47
↓ 3 callers
Class
TinkerEngine
RolloutEngine implementation using Tinker for model inference. Uses Tinker's renderer system for response parsing instead of ChatTemplatePar
rllm/engine/rollout/tinker_engine.py:8
↓ 3 callers
Class
VerlEngine
rllm/engine/rollout/verl_engine.py:12
↓ 2 callers
Class
AgentSFTTrainer
rllm/trainer/agent_sft_trainer.py:10
↓ 2 callers
Class
AsyncTrackedChatClient
Async OpenAI client with automatic tracing via request() override. Same as TrackedChatClient but inherits from AsyncOpenAI.
rllm/sdk/chat/openai.py:468
↓ 2 callers
Class
Capturing
rllm/rewards/code_utils/livecodebench.py:60
↓ 2 callers
Class
DeepseekQwenChatTemplateParser
rllm/parser/chat_template_parser.py:165
↓ 2 callers
Class
E2BPythonInterpreter
A tool for executing Python code in a sandboxed environment.
rllm/tools/code_tools/e2b_tool.py:14
↓ 2 callers
Class
EvaluationResult
Represents the evaluation result for a single sample.
examples/strands/eval/gaia/gaia_evaluator.py:39
↓ 2 callers
Class
GoogleSearchTool
A tool for searching google.
rllm/tools/web_tools/gsearch_tool.py:13
↓ 2 callers
Class
InMemorySessionTracer
In-memory tracer that appends traces to provided sessions. This tracer enables immediate access to LLM call traces via `session.llm_calls`
rllm/sdk/tracers/memory.py:17
↓ 2 callers
Class
LCBPythonInterpreter
A tool for executing Python code in a sandboxed environment. This tool provides a safe way to execute Python code with timeout protection
rllm/tools/code_tools/lcb_tool.py:169
↓ 2 callers
Class
LlamaChatTemplateParser
rllm/parser/chat_template_parser.py:558
↓ 2 callers
Class
MCPTool
rllm/tools/mcp_tool.py:9
↓ 2 callers
Class
NotePad
rllm/agents/webarena_agent.py:571
↓ 2 callers
Class
RLLMModel
Model class that uses rLLM's RolloutEngine for inference.
rllm/integrations/strands.py:18
↓ 2 callers
Class
RLLMSFTDataset
rllm/trainer/verl/sft_dataset.py:10
↓ 2 callers
Class
RewardSearchFn
rllm/rewards/search_reward.py:9
↓ 2 callers
Class
SimpleAgent
rllm/workflows/simple_workflow.py:7
↓ 2 callers
Class
TinkerPolicyTrainer
Handles policy updates via gradient descent. This class handles: - Training client management - Data processing (filtering, advantag
rllm/trainer/tinker/tinker_policy_trainer.py:29
↓ 2 callers
Class
TinkerSFTDataset
Dataset for Tinker SFT that loads from rLLM sources. This dataset: - Loads from parquet files OR HuggingFace Dataset objects (from Datas
rllm/trainer/tinker/tinker_sft_dataset.py:31
↓ 2 callers
Class
Tool
Abstract base class for all tools that provides a common interface. All tools should inherit from this class and implement either: - for
rllm/tools/tool_base.py:49
↓ 2 callers
Class
TrackedAsyncStream
Async wrapper around OpenAI AsyncStream that logs trace when fully consumed.
rllm/sdk/chat/openai_worked.py:307
↓ 2 callers
Class
TrackedChatClient
OpenAI client with automatic tracing via request() override. Inherits from OpenAI and overrides the request() method to intercept ALL API cal
rllm/sdk/chat/openai.py:317
↓ 2 callers
Class
TrackedStream
Wrapper around OpenAI Stream that logs trace when fully consumed. This wrapper transparently passes through chunks from the underlying stream
rllm/sdk/chat/openai_worked.py:244
↓ 1 callers
Class
AgentPPOTrainer
rllm/trainer/verl/agent_ppo_trainer.py:33
↓ 1 callers
Class
AgentSdkEngine
rllm/engine/agent_sdk_engine.py:37
↓ 1 callers
Class
AgentSdkTrainer
PPO trainer for agent workflows with stepwise advantage and rejection sampling.
rllm/trainer/verl/agent_sdk_trainer.py:44
↓ 1 callers
Class
AgentWorkflowPPOTrainer
rllm/trainer/verl/agent_workflow_trainer.py:40
↓ 1 callers
Class
AppWorldEnv
Environment for AppWorld integration with rLLM. AppWorld provides an environment of 9 applications (spotify, gmail, calendar etc) and 457 AP
rllm/environments/appworld/appworld_env.py:15
↓ 1 callers
Class
AsyncCodeAgent
A wrapper over CodeAgent that uses async model calls and implements rLLM trajectory interface.
rllm/integrations/smolagents.py:487
↓ 1 callers
Class
AsyncTrackedStream
Async wrapper around OpenAI AsyncStream that logs trace when fully consumed.
rllm/sdk/chat/openai.py:249
↓ 1 callers
Class
BM25Retriever
BM25 sparse retriever using Pyserini.
examples/search/retrieval/server.py:189
↓ 1 callers
Class
BrowserGymEnv
rllm/environments/browsergym/browsergym.py:8
↓ 1 callers
Class
CaseObject
The object returned by a switch statement. When called, it will return True if the given argument equals its value, else False. It can be called with
rllm/rewards/code_utils/pyext2.py:328
↓ 1 callers
Class
ChatCompletionResponseChoicePatched
Extended ChatCompletionResponseChoice with token IDs and compact logprobs.
rllm/patches/vllm_instrumentation.py:141
↓ 1 callers
Class
ChatCompletionResponsePatched
Extended ChatCompletionResponse with token IDs matching native vLLM 0.10.2+ format.
rllm/patches/vllm_instrumentation.py:152
↓ 1 callers
Class
ChatTemplateParser
rllm/parser/chat_template_parser.py:15
↓ 1 callers
Class
ClearMLLogger
rllm/utils/tracking.py:202
↓ 1 callers
Class
CompetitionCodingEnv
Environment for competitive coding tasks that inherits from MultiTurnEnvironment.
rllm/environments/code/competition_coding.py:6
↓ 1 callers
Class
Config
Configuration class for retrieval server.
examples/search/retrieval/server.py:149
↓ 1 callers
Class
CustomReward
tests/envs/test_tool_env.py:425
↓ 1 callers
Class
CustomReward
tests/envs/test_mcp_env.py:543
↓ 1 callers
Class
DenseRetriever
Dense retriever using FAISS and transformer encoder.
examples/search/retrieval/server.py:245
↓ 1 callers
Class
Encoder
Encoder for query/document embeddings using transformer models.
examples/search/retrieval/server.py:84
↓ 1 callers
Class
EpisodeLogger
Logger to save episodes to individual JSON files with step and data hash.
rllm/utils/episode_logger.py:11
↓ 1 callers
Class
FileLogger
rllm/utils/tracking.py:251
↓ 1 callers
Class
FileParserTool
Enhanced file parsing for multiple formats.
examples/deepresearch/deepresearch_tools.py:407
↓ 1 callers
Class
FirecrawlTool
A tool for extracting data from websites using the FireCrawl service.
rllm/tools/web_tools/firecrawl_tool.py:24
↓ 1 callers
Class
FireworksAgentWorkflowPPOTrainer
rllm/trainer/verl/agent_workflow_trainer_fireworks.py:42
↓ 1 callers
Class
FireworksEngine
rllm/engine/rollout/fireworks_engine.py:17
↓ 1 callers
Class
FlushTracerPayload
Request body for flushing tracer queue.
rllm/sdk/proxy/litellm_server.py:42
↓ 1 callers
Class
GaiaEvaluator
Evaluator for Gaia dataset using StrandsAgent.
examples/strands/eval/gaia/gaia_evaluator.py:54
↓ 1 callers
Class
GaiaSample
Represents a single Gaia dataset sample.
examples/strands/eval/gaia/gaia_evaluator.py:27
↓ 1 callers
Class
HLEJudge
Judge for evaluating HLE responses using OpenAI API.
examples/deepresearch/evaluate_hle.py:27
↓ 1 callers
Class
Judge
examples/sdk/solver_judge/solver_judge_flow_decorator.py:65
↓ 1 callers
Class
Judge
examples/sdk/solver_judge/solver_judge_flow_session.py:45
↓ 1 callers
Class
Judge
examples/solver_judge/solver_judge_flow.py:41
↓ 1 callers
Class
LLMInput
rllm/sdk/protocol.py:6
↓ 1 callers
Class
LLMOutput
rllm/sdk/protocol.py:11
next →
1–100 of 267, ranked by callers