Skip to main content

Crate argentor_builtins

Crate argentor_builtins 

Source
Expand description

Built-in skills for the Argentor framework.

Provides ready-to-use skills covering shell execution, file I/O, HTTP fetching, semantic memory, artifact storage, browser automation, Docker sandboxing, human-in-the-loop approval, and agent delegation.

§Main entry points

Re-exports§

pub use agent_delegate::AgentDelegateSkill;
pub use agent_delegate::TaskInfo;
pub use agent_delegate::TaskQueueHandle;
pub use agent_delegate::TaskSummary;
pub use artifact_store::ArtifactBackend;
pub use artifact_store::ArtifactStoreSkill;
pub use artifact_store::InMemoryArtifactBackend;
pub use browser::BrowserSkill;
pub use browser_automation::BrowserAction;
pub use browser_automation::BrowserAutomationSkill;
pub use browser_automation::BrowserConfig;
pub use browser_automation::BrowserResult;
pub use calculator::CalculatorSkill;
pub use code_analysis::CodeAnalysisSkill;
pub use color_converter::ColorConverterSkill;
pub use cron_parser::CronParserSkill;
pub use csv_processor::CsvProcessorSkill;
pub use data_validator::DataValidatorSkill;
pub use datetime_tool::DateTimeSkill;
pub use diff_tool::DiffSkill;
pub use dns_lookup::DnsLookupSkill;
pub use docx_loader::DocxLoaderSkill;
pub use encode_decode::EncodeDecodeSkill;
pub use env_manager::EnvManagerSkill;
pub use epub_loader::EpubLoaderSkill;
pub use excel_loader::ExcelLoaderSkill;
pub use file_artifact_backend::FileArtifactBackend;
pub use file_hasher::FileHasherSkill;
pub use file_read::FileReadSkill;
pub use file_write::FileWriteSkill;
pub use git::GitSkill;
pub use hash_tool::HashSkill;
pub use html_loader::HtmlLoaderSkill;
pub use http_fetch::HttpFetchSkill;
pub use human_approval::AutoApproveChannel;
pub use human_approval::CallbackApprovalChannel;
pub use human_approval::HumanApprovalSkill;
pub use ip_tools::IpToolsSkill;
pub use json_query::JsonQuerySkill;
pub use jwt_tool::JwtToolSkill;
pub use knowledge_graph_skill::KnowledgeGraphSkill;
pub use markdown_renderer::MarkdownRendererSkill;
pub use memory::MemorySearchSkill;
pub use memory::MemoryStoreSkill;
pub use metrics_collector::MetricsCollectorSkill;
pub use pdf_loader::PdfLoaderSkill;
pub use pptx_loader::PptxLoaderSkill;
pub use prompt_guard::PromptGuardSkill;
pub use regex_tool::RegexSkill;
pub use rss_reader::RssReaderSkill;
pub use sdk_generator::SdkGenerator;
pub use secret_scanner::SecretScannerSkill;
pub use semver_tool::SemverToolSkill;
pub use shell::CommandPolicy;
pub use shell::ShellSkill;
pub use stdin_approval::StdinApprovalChannel;
pub use summarizer::SummarizerSkill;
pub use task_status::TaskStatusSkill;
pub use template_engine::TemplateEngineSkill;
pub use test_runner::TestRunnerSkill;
pub use text_transform::TextTransformSkill;
pub use uuid_generator::UuidGeneratorSkill;
pub use web_browse::WebBrowseSearchSkill;
pub use web_browse::WebFetchSkill;
pub use web_scraper::WebScraperSkill;
pub use web_search::SearchProvider;
pub use web_search::WebSearchSkill;
pub use xcapitsff_skills::register_xcapitsff_skills;
pub use xcapitsff_skills::XcapitCustomer360Skill;
pub use xcapitsff_skills::XcapitKbSearchSkill;
pub use xcapitsff_skills::XcapitLeadInfoSkill;
pub use xcapitsff_skills::XcapitSearchSkill;
pub use xcapitsff_skills::XcapitTicketInfoSkill;
pub use yaml_processor::YamlProcessorSkill;
pub use docker_sandbox::DockerSandboxConfig;
pub use docker_sandbox::ExecResult;

Modules§

agent_delegate
Agent delegation skill for sub-agent spawning.
artifact_store
Artifact storage skill and backends.
browser
Simple browser skill (URL fetching).
browser_automation
WebDriver-based browser automation skill. Browser automation skill using WebDriver (fantoccini).
calculator
Pure-math calculator skill for precise computations. Calculator skill for the Argentor AI agent framework.
code_analysis
Language-aware code analysis skill. Code analysis skill for the Argentor agent framework.
color_converter
Color conversion skill (Hex/RGB/HSL, contrast ratio, lighten/darken). Color conversion skill for the Argentor AI agent framework.
cron_parser
Cron expression parsing, validation, and scheduling skill. Cron expression parsing skill for the Argentor AI agent framework.
csv_processor
CSV parsing, filtering, sorting, statistics, and format conversion. CSV processing skill for the Argentor AI agent framework.
data_validator
Data format validation skill. Data format validation skill for the Argentor agent framework.
datetime_tool
Date/time operations skill. Date/time operations skill for the Argentor agent framework.
diff_tool
Text diff generation and patching skill. Text diff generation skill using LCS (Longest Common Subsequence) algorithm.
dns_lookup
DNS lookup, reverse resolution, and connectivity checks.
docker_sandbox
Docker-sandboxed shell execution. Docker sandbox for executing commands in isolated containers.
docx_loader
DOCX (Microsoft Word) document loader skill. DOCX (Microsoft Word) document loader skill.
encode_decode
Encoding/decoding skill (Base64, hex, URL, HTML, JWT).
env_manager
Environment variable management and .env file parsing skill. Environment variable management skill for the Argentor AI agent framework.
epub_loader
EPUB ebook loader skill. EPUB ebook loader skill.
excel_loader
Excel (XLSX) spreadsheet loader skill. Excel (XLSX) spreadsheet loader skill.
file_artifact_backend
File-system-based artifact backend for persistent storage. File-system-based artifact backend for persistent storage.
file_hasher
File hashing skill (SHA-256, SHA-512, MD5, checksum verification). File hashing skill for the Argentor AI agent framework.
file_read
File read skill.
file_write
File write skill.
git
Git operations skill (libgit2-based, no shell commands). Git operations skill using libgit2 (no shell commands).
hash_tool
Cryptographic hashing skill (SHA-256, SHA-512, HMAC-SHA256).
html_loader
HTML document loader skill. HTML document loader skill for the Argentor framework.
http_fetch
HTTP fetch skill.
human_approval
Human-in-the-loop approval skill and channels.
ip_tools
IP address tools skill (parsing, CIDR, subnet calculation). IP address tools skill for the Argentor AI agent framework.
json_query
JSON query and manipulation skill. JSON query and manipulation skill.
jwt_tool
JWT inspection skill (decode, claims, expiry check). JWT inspection skill for the Argentor AI agent framework.
knowledge_graph_skill
Knowledge graph skill for entity-relationship operations. Knowledge graph skill — exposes the in-memory knowledge graph as a callable skill.
markdown_renderer
Markdown processing skill (plain text, headings, links, TOC). Markdown processing skill for the Argentor AI agent framework.
memory
Semantic memory store and search skills.
metrics_collector
In-memory metrics collection skill (counters, gauges, histograms). Metrics collection skill for the Argentor AI agent framework.
pdf_loader
PDF document loader skill. PDF document loader skill for the Argentor framework.
pptx_loader
PowerPoint (PPTX) presentation loader skill. PowerPoint (PPTX) presentation loader skill.
prompt_guard
Prompt injection detection and PII scanning skill. Prompt injection detection and PII scanning skill.
regex_tool
Regex operations skill. Regex operations skill for the Argentor agent framework.
rss_reader
RSS/Atom feed reader and search.
sdk_generator
SDK client code generator for Python and TypeScript. SDK client code generator for the Argentor API.
secret_scanner
Secret scanning skill for detecting leaked credentials. Secret scanning skill for detecting leaked credentials in text and code.
semver_tool
Semantic versioning skill (parse, compare, bump, range matching). Semantic versioning skill for the Argentor AI agent framework.
shell
Shell command execution skill.
stdin_approval
Stdin-based interactive approval channel.
summarizer
Extractive text summarization skill. Extractive text summarization skill using sentence scoring heuristics.
task_status
Task status reporting skill.
template_engine
Simple template engine skill ({{variable}} rendering, conditionals, loops). Template engine skill for the Argentor AI agent framework.
test_runner
Test runner skill for multi-language test execution and result parsing. Test runner skill for the Argentor agent framework.
text_transform
Text transformation skill for string manipulation operations.
uuid_generator
UUID generation and parsing skill.
web_browse
Web browsing skills: fetch (text/html/markdown), DuckDuckGo search, CSS-selector extraction. Web browsing skills: fetch, search (DuckDuckGo), and CSS-selector extraction.
web_scraper
Web scraping skill for extracting text, links, metadata from web pages.
web_search
Web search skill using DuckDuckGo HTML endpoint.
xcapitsff_skills
XcapitSFF backend integration skills. HTTP-based skills for querying the XcapitSFF backend.
yaml_processor
YAML processing skill (parse, stringify, validate, merge, conversion). YAML processing skill for the Argentor AI agent framework.
zip_reader
Internal minimal ZIP archive reader for OOXML loaders. Minimal ZIP archive reader for Office Open XML loaders.

Structs§

ApprovalDecision
The decision made by a human reviewer.
ApprovalRequest
A request sent to a human reviewer for approval.

Enums§

RiskLevel
Risk level for a human-in-the-loop approval request.

Traits§

ApprovalChannel
Channel through which approval requests are sent and decisions are received.

Functions§

register_all
Register all built-in skills including memory and a custom approval channel.
register_builtins
Register built-in skills without memory (backwards compatible).
register_builtins_with_approval
Register built-in skills with a custom approval channel for HITL.
register_builtins_with_browser
Register built-in skills plus the browser automation skill.
register_builtins_with_memory
Register all built-in skills into the given registry. Uses the provided vector store and embedding provider for memory skills.
register_orchestration_builtins
Register orchestration-specific skills (artifact_store, agent_delegate, task_status). These require a TaskQueueHandle and ArtifactBackend from the orchestrator.
register_utility_skills
Register the 29 utility skills inspired by Vercel AI SDK, LangChain, CrewAI, AutoGPT, and Semantic Kernel. These are self-contained (no external API keys).