Getting Started with Hindsight Cloud
FreshSource: docs.hindsight.vectorize.io/getting-started
AI Moves Fast!
Content freshness is indicated above. Always verify tool versions and APIs match current releases.
Prerequisites
- A Hindsight Cloud account (available at ui.hindsight.vectorize.io)
- Basic REST API knowledge or familiarity with Python/TypeScript
Step 1: Sign Up and Log In
- Visit ui.hindsight.vectorize.io
- Select Sign Up and complete account creation
- Confirm your email address
- Log in to access the dashboard
Step 2: Create an Organization
Organizations are the top-level container for all your resources including memory banks, team members, API keys, and billing data. Enter an organization name and click Create.
Step 3: Create Your First Memory Bank
- From the dashboard, select Create Memory Bank
- Provide a descriptive name (e.g., "My AI Assistant")
Step 4: Get Your API Key
- Click the Connect button in the navigation
- Select Create API Key
- Enter a descriptive key name
- Choose an expiration setting
- Copy your API key immediately — it will not be shown again
Step 5: Make Your First API Call
Python
bash
pip install hindsight-clientpython
from hindsight_client import Hindsight
client = Hindsight(
base_url="https://api.hindsight.vectorize.io",
api_key="your-api-key"
)
# Create a memory bank
bank = client.create_bank(
bank_id="my-assistant",
name="My Assistant"
)
# Store a memory
client.retain(
bank_id="my-assistant",
content="The user's name is Alice and she prefers Python."
)
# Retrieve relevant memories
result = client.recall(
bank_id="my-assistant",
query="What is the user's name?"
)
for memory in result.results:
print(memory.text)
# Get an AI-powered answer
response = client.reflect(
bank_id="my-assistant",
query="What do we know about this user?"
)
print(response.text)
# Create a mental model
result = client.create_mental_model(
bank_id="my-assistant",
name="User Profile",
source_query="What do we know about this user?"
)
print(f"Creating mental model (operation: {result.operation_id})")
# List mental models
models = client.list_mental_models(bank_id="my-assistant")
for m in models.items:
print(f"{m.name}: {m.content}")
client.close()TypeScript
bash
npm install @vectorize-io/hindsight-clienttypescript
import { HindsightClient } from '@vectorize-io/hindsight-client';
const client = new HindsightClient({
baseUrl: 'https://api.hindsight.vectorize.io',
apiKey: 'your-api-key'
});
// Create a memory bank
const bank = await client.createBank('my-assistant', {
name: 'My Assistant'
});
// Store a memory
await client.retain(
'my-assistant',
"The user's name is Alice and she prefers Python."
);
// Retrieve relevant memories
const result = await client.recall(
'my-assistant',
"What is the user's name?"
);
result.results.forEach(memory => {
console.log(memory.text);
});
// Create a mental model
const mmResult = await client.createMentalModel(
'my-assistant',
'User Profile',
'What do we know about this user?'
);
console.log(`Creating mental model (operation: ${mmResult.operation_id})`);cURL
bash
# Store a memory
curl -X POST https://api.hindsight.vectorize.io/v1/default/banks/{bank_id}/memories \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"items": [{"content": "The user'\''s name is Alice and she prefers Python."}]}'
# Retrieve memories
curl -X POST https://api.hindsight.vectorize.io/v1/default/banks/{bank_id}/memories/recall \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{"query": "What is the user'\''s name?"}'Next Steps
- Memory Banks — Understand bank organization and configuration
- Retain — Deep dive into storing memories
- Recall — Advanced search with TEMPR retrieval
- Reflect — AI-powered reasoning over memories
- Mental Models — Pre-computed reflections
- MCP Integration — Connect to Claude, Cursor, ChatGPT