import { Scoopika, Agent } from "@scoopika/scoopika";

const scoopika = new Scoopika({...}); // set your scoopika config
const agent = new Agent("AGENT_ID", scoopika);

An Agent instance enables you to interact with individual agents. What are agents

Arguments

id
string
required

The agent ID. your agent ID is shown under its name in the platform, just click it to copy.

scoopika
Scoopika
required

An instance of the Scoopika class that you previously initialized.

Reference to Scoopika instance

import { Scoopika, Agent } from "@scoopika/scoopika";

const scoopika = new Scoopika({...}); // set your scoopika config
const agent = new Agent("AGENT_ID", scoopika);