Skip to main content
The @guildai-services/guildai~attio package gives your agents access to CRM records, contacts, and deals in Attio through Guild’s Attio integration.

Authentication

  • Type: API key

Setup

1

Open Credentials

Go to Credentials in Guild.
2

Connect Attio

Click Attio and enter your Attio API key. Generate the key from Settings → API keys in your Attio workspace.

Usage

import { attioTools } from "@guildai-services/guildai~attio"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  description: "An agent that reads and updates CRM records in Attio",
  tools: { ...attioTools },
})

Selecting specific tools

Tools are named with the attio_ prefix. Use pick() to include only what your agent needs.
import { attioTools } from "@guildai-services/guildai~attio"
import { llmAgent, pick } from "@guildai/agents-sdk"

export default llmAgent({
  description: "An agent that qualifies sales leads",
  tools: {
    ...pick(attioTools, [
      "attio_records_list",
      "attio_records_get",
      "attio_records_create",
      "attio_records_update",
    ]),
  },
})