Docs

Getting started

Quickstart

Connect your first agent and route a real task in about ten minutes.

5 min

Updated

This guide takes you from an empty workspace to a routed task. You need Node 18 or Python 3.10, an Eventide workspace and one agent you already run.

1. Create an API key

Open Settings, API keys in the console and create a key with the agents:write scope. Store it as EVENTIDE_API_KEY.

2. Register your agent

import { Eventide } from "@eventide/sdk"

const ev = new Eventide({ apiKey: process.env.EVENTIDE_API_KEY })

await ev.agents.register({
  name: "support",
  skills: ["tickets", "refunds", "crm"],
  endpoint: "https://agents.acme.dev/support",
})
import { Eventide } from "@eventide/sdk"

const ev = new Eventide({ apiKey: process.env.EVENTIDE_API_KEY })

await ev.agents.register({
  name: "support",
  skills: ["tickets", "refunds", "crm"],
  endpoint: "https://agents.acme.dev/support",
})
import { Eventide } from "@eventide/sdk"

const ev = new Eventide({ apiKey: process.env.EVENTIDE_API_KEY })

await ev.agents.register({
  name: "support",
  skills: ["tickets", "refunds", "crm"],
  endpoint: "https://agents.acme.dev/support",
})

3. Send a task

const run = await ev.tasks.create({
  input: "Refund order #1193, the customer was double charged",
  source: "slack",
})
console.log(run.agent, run.status)
const run = await ev.tasks.create({
  input: "Refund order #1193, the customer was double charged",
  source: "slack",
})
console.log(run.agent, run.status)
const run = await ev.tasks.create({
  input: "Refund order #1193, the customer was double charged",
  source: "slack",
})
console.log(run.agent, run.status)

Eventide scores the task against every registered agent and hands it to the best fit. Open Traces in the console to watch the run step by step.

Next steps

  • Add a second agent so routing has a choice to make.

  • Mark risky tools so they pause for approval.

  • Set a monthly cost ceiling per agent.

Create a free website with Framer, the website builder loved by startups, designers and agencies.