Agent offers the same functionality as Chat, while also including tools in the request to the model and an interface for handling tool calls and responses.
read_file
tool with a filepath
argument will give the model the ability to request the contents of a specific file.
The following handshake describes how Agent uses tools:
user
chat requestsAutomatic
read_file
)read_currently_open_file
)ls
)glob_search
)grep_search
)fetch_url_content
)search_web
)view_diff
)view_repo_map
)view_subdirectory
)codebase_tool
)create_new_file
): Create a new file within the projectedit_file
): Make changes to existing filesrun_terminal_command
): Run commands from the workspace rootcreate_rule_block
): Create a new rule block in .continue/rules