UNPKG

@botpress/adk-cli

Version:

Command-line interface for the Botpress Agent Development Kit (ADK)

46 lines (38 loc) 1.53 kB
import { z, defineConfig } from '@botpress/runtime' export default defineConfig({ name: '{{projectName}}', description: 'An AI agent built with Botpress ADK', defaultModels: { autonomous: 'cerebras:gpt-oss-120b', zai: 'cerebras:gpt-oss-120b', }, // Per-bot persistent state — add fields here to store data across conversations. bot: { state: z.object({}), }, // Per-user persistent state — add fields here to remember things about each user. user: { state: z.object({}), }, // Static bot-level config — import { configuration } from '@botpress/runtime' to read it anywhere. // Great for feature flags, API endpoints, and other deploy-time settings. // configuration: { // schema: z.object({ // apiEndpoint: z.string().default("https://api.example.com"), // featureFlags: z.object({ // enableBeta: z.boolean().default(false), // }).default({}), // }), // }, // Custom events your agent can emit and subscribe to via triggers. // events: { // myEvent: { // schema: z.object({ userId: z.string(), message: z.string() }), // description: 'Emitted when something noteworthy happens', // }, // }, // Integrations extend your agent with actions, channels, and events. // Browse available integrations: adk integrations search <name> // Install one: adk integrations add <integration> (e.g. adk integrations add browser) // See actions/events/channels: adk integrations info <integration> })