Write a coding agent from first principles: better tools 0 ▲ mathspp.com feed 2 hours ago · Tech · hide · 0 comments Improve the capabilities of your agent by providing it with better tools. Introduction This tutorial builds on the coding agent you implemented in the tutorial “Write a coding agent from first principles”. In this tutorial, you'll take your agent and improve its capabilities by implementing the text edit and bash command tools that Anthropic provides. Why use Anthropic's tools? In the previous tutorial you implemented a coding agent that has a few tools that it can use to read, write, and execute, code. The tool "bash" can be used to execute arbitrary commands and the tools "read", "write", "replace", and "insert", can be used to edit files. As it turns out, these tools are so universally useful that Anthropic trained its models on specific schema definitions for these tools. The tools still run on the client side, so you'll still get tool use blocks in the API responses, but you don't have to define the schema for the tool. You just specify the tools by their Anthropic types and… No comments yet. Log in to reply on the Fediverse. Comments will appear here.