Installation
Package Installation
Install the SDK using your preferred package manager:
# npm
npm install @agentic-work/sdk
# yarn
yarn add @agentic-work/sdk
# pnpm
pnpm add @agentic-work/sdkRequirements
Node.js: 20 or higher
TypeScript: 4.7+ (optional, for type support)
Peer Dependencies
The SDK has optional peer dependencies for specific providers:
# For Anthropic Claude
npm install @anthropic-ai/sdk
# For OpenAI
npm install openai
# For Google Gemini
npm install @google/genai
# For AWS Bedrock
npm install @aws-sdk/client-bedrock-runtimeInstall only the providers you plan to use.
Environment Setup
Platform Mode
For full platform integration, set your API credentials:
Direct Provider Mode
For direct LLM access without the platform:
TypeScript Configuration
For TypeScript projects, ensure your tsconfig.json includes:
Verification
Verify installation:
Next Steps
Quick Start - Basic usage examples
API Reference - Complete API documentation
Last updated