MCPcopy Create free account

hub / github.com/bytedance/trae-agent / types & classes

Types & classes111 in github.com/bytedance/trae-agent

↓ 57 callersClassToolExecResult
Intermediate result of a tool execution.
trae_agent/tools/base.py:25
↓ 31 callersClassLLMMessage
Standard message format.
trae_agent/utils/llm_clients/llm_basics.py:11
↓ 28 callersClassToolParameter
Tool parameter definition.
trae_agent/tools/base.py:63
↓ 25 callersClassToolError
Raised when a tool encounters an error.
evaluation/patch_selection/trae_selector/tools/tools/base.py:41
↓ 25 callersClassToolError
Base class for tool errors.
trae_agent/tools/base.py:16
↓ 23 callersClassModelProvider
Model provider configuration. For official model providers such as OpenAI and Anthropic, the base_url is optional. api_version is required fo
trae_agent/utils/config.py:17
↓ 22 callersClassModelConfig
Model configuration.
trae_agent/utils/config.py:30
↓ 15 callersClassConfigError
trae_agent/utils/config.py:12
↓ 15 callersClassToolExecResult
trae_agent/tools/edit_tool_cli.py:29
↓ 14 callersClassToolError
trae_agent/tools/edit_tool_cli.py:24
↓ 12 callersClassToolExecResult
A class to encapsulate the result of a tool execution.
trae_agent/tools/json_edit_tool_cli.py:33
↓ 11 callersClassToolError
Custom exception for tool-related errors.
trae_agent/tools/json_edit_tool_cli.py:27
↓ 10 callersClassGoogleClient
Google Gemini client wrapper with tool schema generation.
trae_agent/utils/llm_clients/google_client.py:21
↓ 10 callersClassLegacyConfig
Configuration manager for Trae Agent.
trae_agent/utils/legacy_config.py:71
↓ 9 callersClassToolResult
Result of a tool execution.
trae_agent/tools/base.py:34
↓ 8 callersClassFunctionEntry
dataclass for function entry.
trae_agent/tools/ckg/base.py:10
↓ 7 callersClassToolParameter
trae_agent/tools/edit_tool_cli.py:37
↓ 7 callersClassToolResult
evaluation/patch_selection/trae_selector/tools/tools/base.py:5
↓ 6 callersClassCLIResult
A ToolResult that can be rendered as a CLI output.
evaluation/patch_selection/trae_selector/tools/tools/base.py:33
↓ 6 callersClassClassEntry
dataclass for class entry.
trae_agent/tools/ckg/base.py:25
↓ 6 callersClassToolCall
Represents a parsed tool call.
trae_agent/tools/base.py:49
↓ 5 callersClassLLMResponse
Standard LLM response format.
trae_agent/utils/llm_clients/llm_basics.py:45
↓ 5 callersClassLLMUsage
LLM usage format.
trae_agent/utils/llm_clients/llm_basics.py:21
↓ 5 callersClassOllamaClient
trae_agent/utils/llm_clients/ollama_client.py:28
↓ 5 callersClassOpenRouterClient
OpenRouter client wrapper that maintains compatibility while using the new architecture.
trae_agent/utils/llm_clients/openrouter_client.py:65
↓ 4 callersClassMCPServerConfig
trae_agent/utils/config.py:120
↓ 3 callersClassAnthropicClient
Anthropic client wrapper with tool schema generation.
trae_agent/utils/llm_clients/anthropic_client.py:19
↓ 3 callersClassBenchmarkConfig
evaluation/utils.py:170
↓ 3 callersClassLLMClient
Main LLM client that supports multiple providers.
trae_agent/utils/llm_clients/llm_client.py:27
↓ 3 callersClassTrajectoryRecorder
Records trajectory data for agent execution and LLM interactions.
trae_agent/utils/trajectory_recorder.py:20
↓ 2 callersClassAgent
trae_agent/agent/agent.py:14
↓ 2 callersClassAgentError
Base class for agent-related errors. Used to signal execution failures, misconfigurations, or unexpected LLM/tool behavior.
trae_agent/agent/agent_basics.py:87
↓ 2 callersClassConsoleStep
Represents a console step with its display panel and lakeview information.
trae_agent/utils/cli/cli_console.py:43
↓ 2 callersClassLakeviewConfig
Lakeview configuration.
trae_agent/utils/config.py:185
↓ 2 callersClassMCPClient
trae_agent/utils/mcp_client.py:26
↓ 2 callersClassMCPTool
trae_agent/tools/mcp_tool.py:8
↓ 2 callersClassModelParameters
Model parameters for a model provider.
trae_agent/utils/legacy_config.py:19
↓ 2 callersClassOpenAIClient
OpenAI client wrapper with tool schema generation.
trae_agent/utils/llm_clients/openai_client.py:27
↓ 2 callersClassSelectorAgent
evaluation/patch_selection/trae_selector/selector_agent.py:153
↓ 2 callersClassTraeAgent
Trae Agent specialized for software engineering tasks.
trae_agent/agent/trae_agent.py:30
↓ 2 callersClassTraeAgentConfig
Trae agent configuration.
trae_agent/utils/config.py:159
↓ 2 callersClass_BashSession
evaluation/patch_selection/trae_selector/tools/tools/bash.py:8
↓ 2 callersClass_BashSession
A session of a bash shell.
trae_agent/tools/bash_tool.py:19
↓ 1 callersClassAgentExecution
Encapsulates the entire execution of an agent task. Contains the original task, all intermediate steps, final result, execution metadata
trae_agent/agent/agent_basics.py:67
↓ 1 callersClassAgentStep
Represents a single step in an agent's execution process. Tracks the state, thought process, tool interactions, LLM response, and any as
trae_agent/agent/agent_basics.py:39
↓ 1 callersClassAgentType
trae_agent/agent/agent.py:10
↓ 1 callersClassAzureClient
Azure client wrapper that maintains compatibility while using the new architecture.
trae_agent/utils/llm_clients/azure_client.py:49
↓ 1 callersClassAzureProvider
Azure OpenAI provider configuration.
trae_agent/utils/llm_clients/azure_client.py:15
↓ 1 callersClassBashTool
evaluation/patch_selection/trae_selector/tools/tools/bash.py:91
↓ 1 callersClassBashTool
A tool that allows the agent to run bash commands. The tool parameters are defined by Anthropic and are not editable.
trae_agent/tools/bash_tool.py:162
↓ 1 callersClassBenchmarkEvaluation
Main class for running experiments and evaluations. Handles Docker image management, environment preparation, patch generation, and evaluatio
evaluation/run_evaluation.py:23
↓ 1 callersClassCKGDatabase
trae_agent/tools/ckg/ckg_database.py:148
↓ 1 callersClassCandidatePatch
evaluation/patch_selection/trae_selector/selector_agent.py:14
↓ 1 callersClassDockerManager
Manages Docker container lifecycle and command execution for the agent. Supports both stateless (non-interactive) and stateful (interactive)
trae_agent/agent/docker_manager.py:10
↓ 1 callersClassDockerToolExecutor
A ToolExecutor that delegates tool calls to either a local executor or a Docker environment based on the tool's name.
trae_agent/tools/docker_tool_executor.py:9
↓ 1 callersClassDoubaoClient
Doubao client wrapper that maintains compatibility while using the new architecture.
trae_agent/utils/llm_clients/doubao_client.py:42
↓ 1 callersClassDoubaoProvider
Doubao provider configuration.
trae_agent/utils/llm_clients/doubao_client.py:15
↓ 1 callersClassEditTool
evaluation/patch_selection/trae_selector/tools/tools/edit.py:26
↓ 1 callersClassJSONEditTool
Tool for editing JSON files using JSONPath expressions.
trae_agent/tools/json_edit_tool.py:17
↓ 1 callersClassJSONEditTool
Tool for editing JSON files using JSONPath expressions.
trae_agent/tools/json_edit_tool_cli.py:49
↓ 1 callersClassLLMProvider
Supported LLM providers.
trae_agent/utils/llm_clients/llm_client.py:15
↓ 1 callersClassLakeView
trae_agent/utils/lake_view.py:78
↓ 1 callersClassLakeViewStep
trae_agent/utils/lake_view.py:72
↓ 1 callersClassLakeviewConfig
Configuration for Lakeview.
trae_agent/utils/legacy_config.py:37
↓ 1 callersClassMCPServerConfig
trae_agent/utils/legacy_config.py:45
↓ 1 callersClassOpenRouterProvider
OpenRouter provider configuration.
trae_agent/utils/llm_clients/openrouter_client.py:17
↓ 1 callersClassRichCLIConsole
Rich CLI console using Textual for TUI interface.
trae_agent/utils/cli/rich_console.py:263
↓ 1 callersClassRichConsoleApp
Textual app for the rich console.
trae_agent/utils/cli/rich_console.py:57
↓ 1 callersClassSandbox
evaluation/patch_selection/trae_selector/sandbox.py:8
↓ 1 callersClassSelectorEvaluation
evaluation/patch_selection/trae_selector/selector_evaluation.py:300
↓ 1 callersClassSession
evaluation/patch_selection/trae_selector/sandbox.py:57
↓ 1 callersClassSimpleCLIConsole
Simple text-based CLI console that prints agent execution trace.
trae_agent/utils/cli/simple_console.py:25
↓ 1 callersClassTextEditorTool
Tool to replace a string in a file.
trae_agent/tools/edit_tool_cli.py:71
↓ 1 callersClassTextEditorTool
Tool to replace a string in a file.
trae_agent/tools/edit_tool.py:27
↓ 1 callersClassThoughtData
trae_agent/tools/sequential_thinking_tool.py:20
↓ 1 callersClassTokenDisplay
Widget to display real-time token usage.
trae_agent/utils/cli/rich_console.py:30
↓ 1 callersClassToolExecutor
Tool executor that manages tool execution.
trae_agent/tools/base.py:182
ClassAgentConfig
Base class for agent configurations.
trae_agent/utils/config.py:146
ClassAgentState
Defines possible states during an agent's execution lifecycle.
trae_agent/agent/agent_basics.py:29
ClassAgentStepState
Defines possible states during an agent's execution lifecycle.
trae_agent/agent/agent_basics.py:19
ClassBaseAgent
Base class for LLM-based agents.
trae_agent/agent/base_agent.py:24
ClassBaseLLMClient
Base class for LLM clients.
trae_agent/utils/llm_clients/base_client.py:13
ClassCKGTool
Tool to construct and query the code knowledge graph of a codebase.
trae_agent/tools/ckg_tool.py:14
ClassCLIConsole
Base class for CLI console implementations.
trae_agent/utils/cli/cli_console.py:51
ClassConfig
Configuration class for agents, models and model providers.
trae_agent/utils/config.py:194
ClassConsoleFactory
Factory class for creating CLI console instances.
trae_agent/utils/cli/console_factory.py:13
ClassConsoleMode
Console operation modes.
trae_agent/utils/cli/cli_console.py:19
ClassConsoleType
Available console types.
trae_agent/utils/cli/cli_console.py:26
ClassMCPDiscoveryState
State of MCP discovery process.
trae_agent/utils/mcp_client.py:17
ClassMCPServerStatus
trae_agent/utils/mcp_client.py:11
ClassOpenAICompatibleClient
Base class for OpenAI-compatible clients with shared logic.
trae_agent/utils/llm_clients/openai_compatible_base.py:65
ClassProviderConfig
Abstract base class for provider-specific configurations.
trae_agent/utils/llm_clients/openai_compatible_base.py:34
ClassSequentialThinkingTool
A tool for sequential thinking that helps break down complex problems. This tool helps analyze problems through a flexible thinking process that
trae_agent/tools/sequential_thinking_tool.py:32
ClassTaskDoneTool
Tool to mark a task as done.
trae_agent/tools/task_done_tool.py:9
ClassTestBashTool
tests/tools/test_bash_tool.py:10
ClassTestCli
tests/test_cli.py:9
ClassTestConfigBaseURL
tests/utils/test_config.py:13
ClassTestGoogleClient
tests/utils/test_google_client.py:27
ClassTestJSONEditTool
tests/tools/test_json_edit_tool.py:14
ClassTestLakeviewConfig
tests/utils/test_config.py:142
next →1–100 of 111, ranked by callers