Skip to main content

11 posts tagged with "tools"

View All Tags

Coding Tools in Toolpack SDK: AI-Powered Code Analysis and Refactoring

· 10 min read
Sajeer Babu
Toolpack SDK Maintainer

AI agents that can understand and refactor code become truly powerful development companions. Whether it's finding function definitions, renaming variables across files, or extracting code into reusable functions, Toolpack SDK's coding tools give your agents the ability to navigate and modify JavaScript/TypeScript codebases with AST-level precision.

In this post, we'll explore all 12 tools in the coding category — from symbol navigation to multi-file refactoring with atomic edits.

HTTP Tools in Toolpack SDK: Making API Requests and Downloading Files

· 8 min read
Sajeer Babu
Toolpack SDK Maintainer

AI agents that can interact with APIs and download files become truly powerful integration tools. Whether it's fetching data from REST endpoints, sending webhooks, or downloading resources, Toolpack SDK's HTTP tools give your agents the ability to communicate with external services seamlessly.

In this post, we'll explore all 5 tools in the network category — from simple GET requests to file downloads with custom headers.

Execution Tools in Toolpack SDK: Run Commands, Manage Processes, and Automate Tasks

· 7 min read
Sajeer Babu
Toolpack SDK Maintainer

AI agents that can run commands and manage processes become truly powerful automation tools. Whether it's running tests, starting development servers, or executing deployment scripts, Toolpack SDK's execution tools give your agents the ability to interact with the system shell safely and effectively.

In this post, we'll explore all 6 tools in the execution category — from simple command execution to background process management with full lifecycle control.

System Tools in Toolpack SDK: Query OS Info, Environment, and Disk Usage

· 6 min read
Sajeer Babu
Toolpack SDK Maintainer

AI agents that modify files or run commands need to know where they are. What OS they're on. How much disk is left. What env vars are set. Without that context, you get an agent that assumes Linux paths on Windows or writes a 2GB file to a disk with 500MB free.

Toolpack SDK's system tools give your agents the context they need to operate safely and effectively across different environments.

Advanced Filesystem Patterns with Toolpack SDK

· 16 min read
Sajeer Babu
Toolpack SDK Maintainer

Toolpack SDK's 18 filesystem tools are powerful on their own, but their real potential emerges when you combine them into patterns that solve real-world problems. This guide explores advanced techniques for building robust, efficient, and production-ready AI agents that work with files.

We'll cover atomic operations, intelligent file discovery, batch processing strategies, error handling patterns, and complete examples of production-grade filesystem workflows.

Understanding Modes in Toolpack SDK

· 6 min read
Sajeer Babu
Toolpack SDK Maintainer

An AI agent that can read files, run shell commands, and hit external APIs is useful. An AI agent that does all of that when you only asked it to answer a question is a problem.

Modes are how Toolpack SDK draws that line. A mode defines three things: which tools the AI can access, what system prompt shapes its behavior, and whether the workflow engine (planning, step execution, retries) is active. You set the mode once at init or switch it at runtime, and the SDK enforces the constraints on every request.

File System Tools in Toolpack SDK: Read, Write, Search, and Manage Files with AI

· 8 min read
Sajeer Babu
Toolpack SDK Maintainer

AI agents that can interact with the file system are genuinely useful. Whether it's reading a config file, searching through source code, or writing multiple files in one shot, Toolpack SDK's file system tools make it all possible out of the box.

In this post, we'll explore all 18 tools in the filesystem category — from core read/write operations to advanced search, glob matching, and atomic batch writes.

Building Custom Tools for Toolpack SDK

· 9 min read
Sajeer Babu
Toolpack SDK Maintainer

Toolpack SDK ships with a lot of built-in tools across categories like file system, web, databases, Git, and code analysis. But every project has unique needs - internal APIs, proprietary systems, domain-specific operations. Custom tools let you extend your AI agent's capabilities without limits.

This guide shows you exactly how to build custom tools, based on real production implementations from the Toolpack CLI project.

Mastering Custom Modes in Toolpack SDK

· 6 min read
Sajeer Babu
Toolpack SDK Maintainer

By default, the Toolpack SDK provides a unified AI agent runtime with full access to an extensive toolset. But giving an AI full runtime access is not always the correct architectural choice. Sometimes you need a chat-only assistant, a read-only DevOps reviewer, or a highly specialized agent confined to a strict workflow.

This is exactly what Modes solve. A "Mode" shapes the AI's persona, its capabilities, and its operational boundaries. In this guide, we will explore what modes do, how the built-in modes work, and how to create powerful custom ones from scratch.

Web Tools in Toolpack SDK: Search, Fetch, and the Smart Fallback System

· 7 min read
Sajeer Babu
Toolpack SDK Maintainer

AI agents need to access real-time information from the web. Whether it's searching for current events, fetching documentation, or scraping data, Toolpack SDK's web tools make it seamless.

In this post, we'll explore the web search fallback system (Tavily → Brave → DuckDuckGo Lite) and the web fetch tools that power web-aware AI applications.