@orient-bot/agents
v1.1.0
Published
AI agent services for the Orient
Readme
@orient-bot/agents
AI agent services for the Orient.
Overview
This package provides:
- AgentService - Core agent orchestration and message processing
- ToolCallingService - Tool execution and loop management
- AgentRegistry - Dynamic agent configuration and context resolution
- ProgressiveResponder - Streaming response handling
Installation
pnpm add @orient-bot/agentsUsage
import { AgentService, ToolCallingService, AgentRegistry } from '@orient-bot/agents';
// Initialize the agent service
const agentService = new AgentService({
anthropicApiKey: process.env.ANTHROPIC_API_KEY,
// ...
});
// Process a message
const response = await agentService.processMessage(
'What issues are in progress?',
userId,
channelId
);Migration Status
This package contains services migrated from src/services/:
agentService.ts- Core agent servicewhatsappAgentService.ts- WhatsApp-specific agenttoolCallingService.ts- Tool executionagentRegistry.ts- Agent configurationagentContextLoader.ts- Context loadingtoolDiscovery.ts- Tool discoverytoolRegistry.ts- Tool registrationprogressiveResponder.ts- Streaming responsescontextService.ts- Context management
