Not sure whether to use the Animus SDK or REST API? This guide will help you choose the best approach based on your project requirements, technical constraints, and development preferences.
Factor | SDK | REST API |
---|---|---|
Language | JavaScript/TypeScript | Any language |
Environment | Browser applications | Any environment |
Setup Time | < 30 seconds | 2-5 minutes |
Code Required | 3-5 lines | 15-30 lines |
Authentication | Automatic token handling | Manual header management |
Streaming | AsyncIterable pattern | Manual SSE parsing |
Event Handling | Built-in events | Custom implementation |
Conversation History | Automatic management | Manual tracking |
Learning Curve | Minimal | Moderate |