MCPcopy Index your code

hub / github.com/rllm-org/rllm / types & classes

Types & classes267 in github.com/rllm-org/rllm

↓ 41 callersClassToolOutput
rllm/tools/tool_base.py:19
↓ 40 callersClassTrajectory
rllm/agents/agent.py:71
↓ 33 callersClassRewardConfig
rllm/rewards/reward_types.py:11
↓ 30 callersClassStep
rllm/agents/agent.py:8
↓ 27 callersClassRewardOutput
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 callersClassAgentTrainer
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 callersClassToolEnvironment
A simple environment for tool-based agents that provides questions and evaluates responses.
rllm/environments/tools/tool_env.py:12
↓ 23 callersClassFrozenLakeEnv
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 callersClassMCPEnvironment
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 callersClassTerminationEvent
rllm/workflows/workflow.py:26
↓ 18 callersClassAction
rllm/agents/agent.py:66
↓ 18 callersClassRewardMathFn
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 callersClassContextVarSession
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 callersClassRewardCodeFn
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 callersClassAppWorldReactAgent
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 callersClassAgentExecutionEngine
rllm/engine/agent_execution_engine.py:26
↓ 11 callersClassEpisode
rllm/agents/agent.py:125
↓ 11 callersClassMCPConnectionManager
Manages MCP connections in a dedicated thread to avoid asyncio context issues.
rllm/environments/tools/mcp_env.py:17
↓ 11 callersClassMathAgent
A math agent that solves mathematical problems step by step, following the BaseAgent interface.
rllm/agents/math_agent.py:7
↓ 11 callersClassToolAgent
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 callersClassAgentWorkflowEngine
rllm/engine/agent_workflow_engine.py:24
↓ 9 callersClassFrozenLakeAgent
rllm/agents/frozenlake_agent.py:13
↓ 9 callersClassOpenAIEngine
rllm/engine/rollout/openai_engine.py:14
↓ 7 callersClassMockRewardFunction
Mock reward function for testing.
tests/envs/test_tool_env.py:30
↓ 7 callersClassMockRewardFunction
Mock reward function for testing.
tests/envs/test_mcp_env.py:9
↓ 7 callersClassTracking
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 callersClassCodeToolOutput
rllm/tools/code_tools/code_tool.py:9
↓ 6 callersClassDataset
A class representing a dataset.
rllm/data/dataset.py:13
↓ 6 callersClassMultiTool
rllm/tools/multi_tool.py:5
↓ 6 callersClassTrace
A trace is a dictionary with the following structure: { # Core LLM call information "name": str, # e.g., "proxy
rllm/sdk/protocol.py:18
↓ 5 callersClassModelOutput
rllm/engine/rollout/rollout_engine.py:7
↓ 5 callersClassSqliteTraceStore
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 callersClassToolCall
rllm/tools/tool_base.py:10
↓ 4 callersClassAsyncAgentExecutionEngine
rllm/engine/agent_execution_engine.py:619
↓ 4 callersClassRewardInput
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 callersClassTogetherCodeTool
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 callersClassTraceContext
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 callersClassTrajectoryView
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 callersClassQwenChatTemplateParser
rllm/parser/chat_template_parser.py:351
↓ 3 callersClassQwenToolParser
rllm/parser/tool_parser.py:187
↓ 3 callersClassR1ToolParser
Parser for R1 tool call format.
rllm/parser/tool_parser.py:47
↓ 3 callersClassTinkerEngine
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 callersClassVerlEngine
rllm/engine/rollout/verl_engine.py:12
↓ 2 callersClassAgentSFTTrainer
rllm/trainer/agent_sft_trainer.py:10
↓ 2 callersClassAsyncTrackedChatClient
Async OpenAI client with automatic tracing via request() override. Same as TrackedChatClient but inherits from AsyncOpenAI.
rllm/sdk/chat/openai.py:468
↓ 2 callersClassCapturing
rllm/rewards/code_utils/livecodebench.py:60
↓ 2 callersClassDeepseekQwenChatTemplateParser
rllm/parser/chat_template_parser.py:165
↓ 2 callersClassE2BPythonInterpreter
A tool for executing Python code in a sandboxed environment.
rllm/tools/code_tools/e2b_tool.py:14
↓ 2 callersClassEvaluationResult
Represents the evaluation result for a single sample.
examples/strands/eval/gaia/gaia_evaluator.py:39
↓ 2 callersClassGoogleSearchTool
A tool for searching google.
rllm/tools/web_tools/gsearch_tool.py:13
↓ 2 callersClassInMemorySessionTracer
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 callersClassLCBPythonInterpreter
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 callersClassLlamaChatTemplateParser
rllm/parser/chat_template_parser.py:558
↓ 2 callersClassMCPTool
rllm/tools/mcp_tool.py:9
↓ 2 callersClassNotePad
rllm/agents/webarena_agent.py:571
↓ 2 callersClassRLLMModel
Model class that uses rLLM's RolloutEngine for inference.
rllm/integrations/strands.py:18
↓ 2 callersClassRLLMSFTDataset
rllm/trainer/verl/sft_dataset.py:10
↓ 2 callersClassRewardSearchFn
rllm/rewards/search_reward.py:9
↓ 2 callersClassSimpleAgent
rllm/workflows/simple_workflow.py:7
↓ 2 callersClassTinkerPolicyTrainer
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 callersClassTinkerSFTDataset
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 callersClassTool
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 callersClassTrackedAsyncStream
Async wrapper around OpenAI AsyncStream that logs trace when fully consumed.
rllm/sdk/chat/openai_worked.py:307
↓ 2 callersClassTrackedChatClient
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 callersClassTrackedStream
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 callersClassAgentPPOTrainer
rllm/trainer/verl/agent_ppo_trainer.py:33
↓ 1 callersClassAgentSdkEngine
rllm/engine/agent_sdk_engine.py:37
↓ 1 callersClassAgentSdkTrainer
PPO trainer for agent workflows with stepwise advantage and rejection sampling.
rllm/trainer/verl/agent_sdk_trainer.py:44
↓ 1 callersClassAgentWorkflowPPOTrainer
rllm/trainer/verl/agent_workflow_trainer.py:40
↓ 1 callersClassAppWorldEnv
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 callersClassAsyncCodeAgent
A wrapper over CodeAgent that uses async model calls and implements rLLM trajectory interface.
rllm/integrations/smolagents.py:487
↓ 1 callersClassAsyncTrackedStream
Async wrapper around OpenAI AsyncStream that logs trace when fully consumed.
rllm/sdk/chat/openai.py:249
↓ 1 callersClassBM25Retriever
BM25 sparse retriever using Pyserini.
examples/search/retrieval/server.py:189
↓ 1 callersClassBrowserGymEnv
rllm/environments/browsergym/browsergym.py:8
↓ 1 callersClassCaseObject
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 callersClassChatCompletionResponseChoicePatched
Extended ChatCompletionResponseChoice with token IDs and compact logprobs.
rllm/patches/vllm_instrumentation.py:141
↓ 1 callersClassChatCompletionResponsePatched
Extended ChatCompletionResponse with token IDs matching native vLLM 0.10.2+ format.
rllm/patches/vllm_instrumentation.py:152
↓ 1 callersClassChatTemplateParser
rllm/parser/chat_template_parser.py:15
↓ 1 callersClassClearMLLogger
rllm/utils/tracking.py:202
↓ 1 callersClassCompetitionCodingEnv
Environment for competitive coding tasks that inherits from MultiTurnEnvironment.
rllm/environments/code/competition_coding.py:6
↓ 1 callersClassConfig
Configuration class for retrieval server.
examples/search/retrieval/server.py:149
↓ 1 callersClassCustomReward
tests/envs/test_tool_env.py:425
↓ 1 callersClassCustomReward
tests/envs/test_mcp_env.py:543
↓ 1 callersClassDenseRetriever
Dense retriever using FAISS and transformer encoder.
examples/search/retrieval/server.py:245
↓ 1 callersClassEncoder
Encoder for query/document embeddings using transformer models.
examples/search/retrieval/server.py:84
↓ 1 callersClassEpisodeLogger
Logger to save episodes to individual JSON files with step and data hash.
rllm/utils/episode_logger.py:11
↓ 1 callersClassFileLogger
rllm/utils/tracking.py:251
↓ 1 callersClassFileParserTool
Enhanced file parsing for multiple formats.
examples/deepresearch/deepresearch_tools.py:407
↓ 1 callersClassFirecrawlTool
A tool for extracting data from websites using the FireCrawl service.
rllm/tools/web_tools/firecrawl_tool.py:24
↓ 1 callersClassFireworksAgentWorkflowPPOTrainer
rllm/trainer/verl/agent_workflow_trainer_fireworks.py:42
↓ 1 callersClassFireworksEngine
rllm/engine/rollout/fireworks_engine.py:17
↓ 1 callersClassFlushTracerPayload
Request body for flushing tracer queue.
rllm/sdk/proxy/litellm_server.py:42
↓ 1 callersClassGaiaEvaluator
Evaluator for Gaia dataset using StrandsAgent.
examples/strands/eval/gaia/gaia_evaluator.py:54
↓ 1 callersClassGaiaSample
Represents a single Gaia dataset sample.
examples/strands/eval/gaia/gaia_evaluator.py:27
↓ 1 callersClassHLEJudge
Judge for evaluating HLE responses using OpenAI API.
examples/deepresearch/evaluate_hle.py:27
↓ 1 callersClassJudge
examples/sdk/solver_judge/solver_judge_flow_decorator.py:65
↓ 1 callersClassJudge
examples/sdk/solver_judge/solver_judge_flow_session.py:45
↓ 1 callersClassJudge
examples/solver_judge/solver_judge_flow.py:41
↓ 1 callersClassLLMInput
rllm/sdk/protocol.py:6
↓ 1 callersClassLLMOutput
rllm/sdk/protocol.py:11
next →1–100 of 267, ranked by callers