Production-Ready Examples

Agent Templates

Production-ready agent templates to accelerate your development. Copy, customize, and deploy in minutes.

Simple Chatbot

A conversational AI agent using OpenAI

chatbot
// Generated by: stick init chatbot --template chatbot --ai openai

const { IntelligentAgent } = require('@stick-ai/runtime');

const agent = new IntelligentAgent({
  name: 'chatbot',
  template: 'chatbot',
  tools: ['text', 'datetime'],
  instructions: 'You are a friendly chatbot...'
}, {
  provider: 'openai',
  model: 'gpt-3.5-turbo'
});

agent.start();

Web Researcher

Research assistant with web scraping

researcher
// Generated by: stick init researcher --template researcher

const { IntelligentAgent } = require('@stick-ai/runtime');

const agent = new IntelligentAgent({
  name: 'researcher',
  template: 'researcher',
  tools: ['http', 'web-scraper', 'json', 'text'],
  instructions: 'You are a research assistant...'
}, {
  provider: 'anthropic',
  model: 'claude-3-sonnet'
});

agent.start();

Code Assistant

Developer agent with file operations

developer
// Generated by: stick init dev-assistant --template developer

const { IntelligentAgent } = require('@stick-ai/runtime');

const agent = new IntelligentAgent({
  name: 'dev-assistant',
  template: 'developer',
  tools: ['bash', 'file-ops', 'github', 'json'],
  instructions: 'You are a developer assistant...'
}, {
  provider: 'openai',
  model: 'gpt-4'
});

agent.start();

Data Analyst

Analyze data with SQL and CSV tools

analyst
// Generated by: stick init analyst --template analyst

const { IntelligentAgent } = require('@stick-ai/runtime');

const agent = new IntelligentAgent({
  name: 'analyst',
  template: 'analyst',
  tools: ['database', 'csv', 'json', 'datetime'],
  instructions: 'You are a data analyst...'
}, {
  provider: 'openai',
  model: 'gpt-4'
});

agent.start();

Build Your Custom Agent

Ready to create something unique? Use our interactive CLI to scaffold and deploy your custom AI agent.

$ npm install -g @stick-ai/cli
$ stick init my-agent
$ stick deploy