Choose an integration’s tools

A connected integration gives an agent its tools, such as creating a file. The agent can call every tool you turn on, so tick only the ones it needs.

Before you start

You need an agent with no tools yet. See Create an agent. An app other than Veryfront must be connected first.

Choose the tools

  1. Name each tool your agent may call in its tools, by its ID, here Veryfront's create_file:
    agents/support.ts
    import { agent } from "veryfront/agent"; export default agent({  id: "support",  name: "Support assistant",  system: "Answer customer questions about orders and refunds. Keep replies to two sentences.",  tools: { create_file: true },});
  2. Start the project with npm run dev.
  3. In Studio, open Chat.
  4. Pick Support assistant.
  5. Ask "Create the file notes/welcome.md that says Welcome to support.". You should now see it call veryfront__create_file and say it created notes/welcome.md.

Try it in a sandbox

  1. Create a project

  2. Set the tools

  3. Start it

  4. Ask it

Try it out

Next steps