Why Do Stronger Agents Need Custom Tools?
As general-purpose AI agents become more capable, teams often ask whether it is still worth investing engineering effort in building their own tools. This article argues that a skill is essentially an instruction manual, while a tool is the execution layer that actually gets work done. The stronger a general model becomes, the less scarce general knowledge is; real value comes from private data, internal workflows, and industry-specific formats that the model does not possess. The article explains this distinction and outlines practical engineering methods for making tools reliable and maintainable.
As general-purpose agents become more capable, a question keeps coming up: are custom tools still worth the engineering investment? This article argues that a skill is essentially an instruction manual, while a tool is what actually executes the work. The stronger the general model, the less valuable general knowledge becomes—what matters is the private data, internal workflows, and industry-specific formats the model does not have. It explains the difference between skills and tools, why text-only skills fall short, and how to build tools with clear contracts, classified errors, idempotency, least privilege, and observability.
Skills vs. Tools: Instruction Manual vs. Hands and Feet
In an agent architecture, a skill is usually a structured prompt that tells the model what to do: what to read first, what to validate next, and what to output in the end. Skills are cheap to write and easy to iterate, which makes them a good fit for expressing processes and standards.
However, skills have one inherent limitation: they cannot guarantee deterministic execution. When a task requires access to private data sources, calls to internal systems, parsing of proprietary binary formats, or strict validation rules, the model has to improvise and generate scripts on the fly to produce an answer. This on-the-spot generation leads to three typical problems:
- Slow: the model has to reason and generate code again every time, which lengthens the chain.
- Expensive: repeated trial and error consumes a large amount of inference resources.
- Unstable: the same task may produce inconsistent results across runs, making testing and auditing difficult.
Tools work the other way around. They lock deterministic logic in place, with clear input/output contracts, predictable error codes, and testable behavior. Skills handle decision-making and orchestration; tools handle determinism and execution. They divide the work rather than replace each other.
A simplified diagram shows this layering:
User intent↓Agent reasoning and planning (general capability)↓Skill: process description / constraints / acceptance criteria↓Tool: deterministic function (input → validation → execution → structured output)↓Private data / internal systems / proprietary formats
Why Text-Only Skills Are a Low-End Version of Tools
Text-only skills are only a low-end substitute because they hand the parts that should be guaranteed by code over to probabilistic reasoning. You can think of them as an interface without a type system: the documentation may be clear, but nothing is enforced at runtime.
A more reliable approach is to close the loop between skills and scripts: the skill describes the goal, boundaries, and acceptance conditions, while the script (the tool) performs the deterministic actions. For example, a skill can state that resource naming validation must be completed before export and that the process must terminate on failure, while the tool actually runs the validation and returns a structured result. This way, the model does not need to rewrite the logic every time; it only needs to decide the next step based on the status returned by the tool.
You can use three questions to decide which capabilities should be turned into tools:
- Must the result be reproducible? If so, prioritize tooling it.
- Does it depend on private data or proprietary formats? If so, it must be turned into a tool.
- Must errors be captured precisely? If precise error classification is required, leave it to a tool.
The Stronger the General Capability, the More Valuable Private Tools Become
One easily overlooked economic fact is that once general capabilities become widespread, the marginal value of general knowledge drops quickly. General principles, common patterns, and public specifications that the model already knows hardly provide any advantage.
What is truly scarce is the part the model does not know:
- Your data: internal asset libraries, build artifacts, and version metadata.
- Your workflows: approval steps, release gates, and rollback strategies.
- Industry-specific formats: proprietary engineering files, and internally agreed directory and naming conventions.
These can only be accessed through custom tools. Take engineering scenarios such as digital content production pipelines and engine plugins as an example. The model understands general engine concepts and common API usage, but knows nothing about a specific project’s resource specifications, naming conventions, or import/export processes. In this case, relying only on text skills will most likely lead the model to generate scripts that look reasonable but do not conform to project standards. Once the specifications are encapsulated in a tool, the model only needs to call it to get a deterministic result.
Engineering Practices for Building Tools
To make tools genuinely useful, consider the following practices:
- Contract first: define a clear input schema and structured output for each tool, and avoid free-form text.
- Classifiable errors: distinguish parameter errors, permission errors, missing data, and execution failures so the model can correct them automatically.
- Idempotency and retryability: ensure write operations are idempotent to avoid side effects from repeated execution.
- Least privilege: expose only the minimum data and operation scope a tool needs to complete its task.
- Observability: log tool calls and collect metrics, and integrate with a general logging service and monitoring/alerting system to help locate long-tail issues.
- Incremental enhancement: start by using tools for high-frequency, high-determinism steps, then gradually expand to more complex scenarios.
In terms of deployment, tools usually exist as service interfaces or locally executable modules, hosted by a container platform or a function-based runtime. Sensitive data can be stored in object storage or an internal database, with a unified gateway handling authentication and rate limiting. This preserves determinism while making horizontal scaling and canary releases easier.
Conclusion
The power of general-purpose agents does not make custom tools meaningless; it raises their value. Skills solve how to organize a process; tools solve how to execute it deterministically. Encapsulating private data, internal workflows, and industry formats into tools with contracts, testability, and observability is the key to getting agents to produce stable results in real business scenarios. To further reduce integration costs, you can use general cloud product capabilities from Baidu AI Cloud (such as container platforms, object storage, logging services, and monitoring/alerting) to host the tool runtime, keeping engineering effort focused on the business logic that truly differentiates your product.
