Expand description
Internal agent tools for AGCodex
This module provides sophisticated tools for task planning, code analysis, and automated workflow management. These tools are designed to work seamlessly with the subagent orchestration system.
Re-exports§
pub use grep_simple::GrepConfig;pub use grep_simple::GrepError;pub use grep_simple::GrepMatch;pub use grep_simple::GrepQuery;pub use grep_simple::GrepResult;pub use grep_simple::GrepTool;pub use grep_simple::RuleType;pub use grep_simple::SupportedLanguage as GrepSupportedLanguage;pub use edit::AmbiguousMatches;pub use edit::EditError;pub use edit::EditResult;pub use edit::EditTool;pub use edit::MatchCandidate;pub use glob::FileMatch;pub use glob::FileType;pub use glob::GlobError;pub use glob::GlobResult;pub use glob::GlobTool;pub use index::BuildInput;pub use index::IndexConfig;pub use index::IndexError;pub use index::IndexResult;pub use index::IndexStats;pub use index::IndexTool;pub use index::IndexedDocument;pub use index::MergePolicyConfig;pub use index::SearchInput;pub use index::SearchQuery;pub use index::SearchResult;pub use index::Symbol;pub use index::UpdateInput;pub use output::ApiCompatibility;pub use output::BreakingChange;pub use output::BreakingSeverity;pub use output::CacheStats;pub use output::Change;pub use output::ChangeBuilder;pub use output::ChangeKind;pub use output::ComplexityChange;pub use output::ComplexityMetrics;pub use output::ComprehensiveAstSummary;pub use output::ComprehensivePerformanceImpact;pub use output::ComprehensiveSemanticImpact;pub use output::ComprehensiveSymbol;pub use output::ComprehensiveToolOutput;pub use output::ContextLine;pub use output::ContextLineType;pub use output::ContextSnapshot;pub use output::CoverageImpact;pub use output::CpuUsage;pub use output::DependencyInfo;pub use output::Diagnostic;pub use output::DiagnosticLevel;pub use output::HalsteadMetrics;pub use output::ImpactLevel;pub use output::ImpactScope;pub use output::ImportChangeType;pub use output::IoStats;pub use output::LanguageContext;pub use output::MemoryImpact;pub use output::MemoryUsage;pub use output::ModificationType;pub use output::OperationContext;pub use output::OperationMetadata;pub use output::OperationScope;pub use output::OutputBuilder;pub use output::PerformanceChange;pub use output::PerformanceMetrics;pub use output::PerformanceTimer;pub use output::ProjectContext;pub use output::RefactorType;pub use output::ResultExt;pub use output::ScopeType;pub use output::SecurityImpact;pub use output::SecurityLevel;pub use output::SecurityVulnerability;pub use output::SymbolType;pub use output::TestCategory;pub use output::TestImpact;pub use output::VersionImpact;pub use output::Visibility;pub use output::multi_file_changes;pub use output::simple_error;pub use output::simple_success;pub use output::single_file_modification;pub use patch::ExtractStats;pub use patch::ImportStats;pub use patch::PatchError;pub use patch::PatchResult;pub use patch::PatchTool;pub use patch::RenameScope;pub use patch::RenameStats;pub use plan::AgentType;pub use plan::DependencyGraph;pub use plan::MetaTask;pub use plan::MetaTaskPlanner;pub use plan::Plan;pub use plan::PlanContext;pub use plan::PlanError;pub use plan::PlanExecutionPlan;pub use plan::PlanExecutionStep;pub use plan::PlanIntelligenceLevel;pub use plan::PlanTool;pub use plan::SubTask;pub use plan::SubTaskPlanner;pub use plan::TaskGroup;pub use plan::TaskPriority;pub use plan::TaskStatus;pub use think::ThinkError;pub use think::ThinkResult;pub use think::ThinkStep;pub use think::ThinkTool;pub use tree::DiffNode;pub use tree::ModifiedNode;pub use tree::MovedNode;pub use tree::ParsedAst;pub use tree::Point;pub use tree::QueryCapture;pub use tree::QueryMatch;pub use tree::SemanticDiff;pub use tree::SupportedLanguage;pub use tree::Symbol as TreeSymbol;pub use tree::SymbolKind;pub use tree::TreeError;pub use tree::TreeInput;pub use tree::TreeOutput;pub use tree::TreeResult;pub use tree::TreeTool;pub use registry::ToolCategory;pub use registry::ToolError;pub use registry::ToolInfo;pub use registry::ToolOutput;pub use registry::ToolRegistry;
Modules§
- adapters
- Tool adapters to bridge existing tools with the unified registry
- edit
- Simple, practical edit tool for AGCodex.
- glob
- High-performance file discovery tool with glob pattern support
- grep_
simple - Simplified AST-grep based semantic search tool for AGCodex.
- index
- Tantivy-based indexing tool for AGCodex
- integration_
example - Integration example for the Double-Planning Strategy Tool
- output
- Context-aware output structures for AGCodex tools
- patch
- Simplified AST-aware patch tool for bulk code transformations
- plan
- Task Planning Tool for AGCodex
- registry
- Unified tool registry for AGCodex
- think
- Simple step-by-step reasoning tool for AGCodex
- tree
- Tree-sitter AST Tool for AGCodex
Structs§
- Tool
Metadata - Metadata about a tool
Traits§
- Internal
Tool - Tool trait for internal AGCodex tools
Functions§
- create_
default_ registry - Create the default tool registry with all tools registered
Type Aliases§
- Tool
Result - Common result type for all internal tools