
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
kore-memory-client
Advanced tools
JavaScript/TypeScript client for Kore Memory - the memory layer that thinks like a human
JavaScript/TypeScript client for Kore Memory - the memory layer that thinks like a human.
fetchnpm install kore-memory-client
import { KoreClient } from 'kore-memory-client';
const kore = new KoreClient({
baseUrl: 'http://localhost:8765',
agentId: 'my-agent',
apiKey: 'your-api-key' // optional for localhost
});
// Save a memory
const result = await kore.save({
content: 'User prefers dark mode',
category: 'preference',
importance: 4
});
// Search memories
const memories = await kore.search({
q: 'dark mode',
limit: 5,
semantic: true
});
console.log(memories.results);
const kore = new KoreClient({
baseUrl?: string; // default: 'http://localhost:8765'
agentId?: string; // default: 'default'
apiKey?: string; // optional, required for non-localhost
timeout?: number; // default: 30000ms
});
// Save memory
await kore.save({
content: string,
category?: Category, // 'general' | 'project' | 'task' | etc.
importance?: number, // 1-5, 1=auto-scored
ttl_hours?: number // auto-expire after N hours
});
// Batch save (up to 100)
await kore.saveBatch([
{ content: 'Memory 1', category: 'project' },
{ content: 'Memory 2', category: 'task' }
]);
// Search memories
await kore.search({
q: string,
limit?: number, // default: 5
offset?: number, // pagination
category?: Category, // filter by category
semantic?: boolean // default: true
});
// Timeline for subject
await kore.timeline({
subject: string,
limit?: number,
offset?: number
});
// Delete memory
await kore.delete(memoryId: number);
// Add tags
await kore.addTags(memoryId, ['react', 'frontend']);
// Get tags
await kore.getTags(memoryId);
// Remove tags
await kore.removeTags(memoryId, ['old-tag']);
// Search by tag
await kore.searchByTag('react', 10);
// Add relation
await kore.addRelation(memoryId, targetId, 'depends_on');
// Get relations
await kore.getRelations(memoryId);
// Run decay pass (Ebbinghaus forgetting)
await kore.decayRun();
// Compress similar memories
await kore.compress();
// Cleanup expired memories
await kore.cleanup();
// Export all memories
const backup = await kore.exportMemories();
// Import memories
await kore.importMemories(backup.memories);
// Health check
const health = await kore.health();
console.log(health.capabilities.semantic_search);
The client provides a typed error hierarchy:
import {
KoreError,
KoreAuthError,
KoreNotFoundError,
KoreValidationError,
KoreRateLimitError,
KoreServerError
} from 'kore-memory-client';
try {
await kore.save({ content: 'ab' }); // too short
} catch (error) {
if (error instanceof KoreValidationError) {
console.log('Validation failed:', error.detail);
} else if (error instanceof KoreAuthError) {
console.log('Authentication failed');
}
}
Full type definitions included:
import type {
MemoryRecord,
MemorySaveResponse,
MemorySearchResponse,
Category,
SearchOptions
} from 'kore-memory-client';
const memories: MemoryRecord[] = await kore.search({ q: 'test' }).then(r => r.results);
Available memory categories:
general (default)projecttradingfinancepersonpreferencetaskdecisionMIT © Juan Auriti
Part of the Kore Memory ecosystem.
FAQs
JavaScript/TypeScript client for Kore Memory - the memory layer that thinks like a human
The npm package kore-memory-client receives a total of 10 weekly downloads. As such, kore-memory-client popularity was classified as not popular.
We found that kore-memory-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.