Crate trae_agent_rs_core

Crate trae_agent_rs_core 

Source
Expand description

§Trae Agent Core

Core library for Trae Agent - an LLM-based agent for software engineering tasks.

This library provides the fundamental building blocks for creating AI agents that can interact with codebases, execute tools, and perform complex software engineering tasks.

Re-exports§

pub use config::Config;
pub use config::AgentConfig;
pub use config::ModelConfig;
pub use config::ProviderConfig;
pub use config::ConfigLoader;
pub use config::ApiProvider;
pub use config::ApiProviderConfig;
pub use agent::TraeAgent;
pub use trajectory::TrajectoryRecorder;

Modules§

agent
Agent core logic and execution engine
config
Configuration management and parsing
error
Error types and handling for Trae Agent Core
llm
LLM client abstractions and implementations
output
Output abstraction layer for the Trae Agent core
tools
Tool system and built-in tools
trajectory
Execution trajectory recording and replay

Macros§

impl_tool_factory
Macro to help implement tool factories

Constants§

VERSION
Current version of the trae-agent-core library

Functions§

init_tracing
Initialize tracing for the library
init_tracing_with_debug
Initialize tracing with a specific debug mode