AgentForge

Templates Overview

Pre-built agent templates — customer support, research assistant, data processor, and more.

What Are Templates?

Templates are factory functions that create fully configured agents for common use cases. They come with pre-defined tools, system prompts, and sensible defaults.

TemplateFactoryUse Case
Customer SupportcreateCustomerSupportAgent()Handle support tickets
Research AssistantcreateResearchAssistant()Research and synthesize
Data ProcessorcreateDataProcessor()Transform and analyze data
Code ReviewercreateCodeReviewer()Review code changes
Workflow AutomatorcreateWorkflowAutomator()Automate business workflows

Usage Pattern

import { createCustomerSupportAgent, createLLM } from '@ahzan-agentforge/core';

const agent = createCustomerSupportAgent({
  llm: createLLM({ provider: 'anthropic', model: 'claude-sonnet-4-20250514' }),
  companyName: 'Acme Corp',
  // Template-specific config
});

const result = await agent.run({ task: 'Customer asks about return policy' });

Customization

Templates return standard Agent instances. You can extend them with additional tools, hooks, or configuration.

Next Steps