Getting Started with HeroBrain
Welcome to HeroBrain! This guide will help you get up and running with our memory infrastructure platform in 15 minutes or less.Quick Start
1. Sign Up
Visit herobrain.ai and create your account.2. Get Your API Key
- Go to the API Platform in your dashboard
- Click “Create API Key”
- Give it a name like “Development Key”
- Copy the API key (you won’t see it again!)
3. Make Your First API Call
4. Search Your Memories
Installation
JavaScript/TypeScript SDK
Python SDK (Coming Soon)
Core Concepts
Memories
Memories are the fundamental unit of data in HeroBrain. Each memory represents a piece of information your AI can recall. Key Properties:- Content: The actual text/content of the memory
- Type: How the memory should be categorized (episodic, semantic, procedural, etc.)
- Importance: How important this memory is (0.0 to 1.0)
- Metadata: Additional structured data
Memory Types
episodic: Personal experiences and eventssemantic: Factual knowledge and conceptsprocedural: How-to knowledge and processestask: Tasks and action items
Tenants
Each user has their own tenant (data silo). ThetenantId ensures your data stays private and isolated.
Basic Operations
Creating Memories
Searching Memories
Listing Memories
Common Use Cases
1. Meeting Notes & Action Items
2. Knowledge Base
3. Customer Interactions
4. AI-Powered Search
Advanced Features
Webhooks
Get notified when memories are created, updated, or searched:Intelligence Features
Use AI to analyze patterns and relationships in your memories:Bulk Operations
Handle multiple memories at once:Error Handling
All HeroBrain APIs return consistent error responses:VALIDATION_ERROR: Invalid request dataAUTH_REQUIRED: Missing or invalid API keyRATE_LIMIT_EXCEEDED: Too many requestsRESOURCE_NOT_FOUND: Memory doesn’t exist
Best Practices
1. Use Appropriate Memory Types
episodicfor events and experiencessemanticfor facts and knowledgeproceduralfor how-to guidestaskfor action items
2. Set Importance Scores
- 0.1-0.3: Minor details
- 0.4-0.6: Regular information
- 0.7-0.8: Important but not critical
- 0.9-1.0: Critical information
3. Use Rich Metadata
4. Implement Proper Error Handling
5. Use Webhooks for Real-time Updates
Testing
Use our test tenant for development:Rate Limits
- Free tier: 1,000 requests/month
- Pro tier: 100,000 requests/month
- Enterprise: Custom limits
Support
- Documentation: https://docs.herobrain.ai
- API Reference: https://docs.herobrain.ai/api-reference
- Community: https://community.herobrain.ai
- Support: [email protected]
Next Steps
- Explore the API: Check out all available endpoints in our API Reference
- Try Intelligence Features: Use our AI-powered analysis tools
- Set Up Webhooks: Get real-time notifications for memory changes
- Build Something: Create your first AI application with HeroBrain
- Join the Community: Share what you’re building and get help