Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

smara-io/paperclip-plugin

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@smara/paperclip-plugin-memory

Persistent, decay-aware memory for Paperclip agents — powered by the Smara Memory API.

What it does

Every Paperclip agent gets persistent memory across sessions. Store facts, search by meaning, and recall context — with Ebbinghaus forgetting curves that make recent memories rank higher than stale ones.

Install

# From the Paperclip UI
POST /api/plugins/install
{ "packageName": "@smara/paperclip-plugin-memory" }

# Or local development
POST /api/plugins/install
{ "packageName": "/path/to/paperclip-plugin", "isLocalPath": true }

Configuration

In the Paperclip plugin settings:

Setting Required Description
smaraApiKeyRef Yes Secret reference for your Smara API key
smaraApiUrl No API URL (default: https://api.smara.io)
defaultUserId No Default user ID when agents don't specify one

Get a free API key at smara.io — 10,000 memories, no credit card.

Tools Available to Agents

Tool Description
memory-store Store a fact with importance scoring (0-1)
memory-search Semantic search with decay-aware ranking
memory-context Pre-formatted context for agent prompts
memory-delete Delete a specific memory
memory-usage Check plan limits and memory count

How Scoring Works

score = similarity × 0.7 + decay_score × 0.3
  • Similarity: Voyage AI vector embeddings, cosine similarity
  • Decay: Ebbinghaus forgetting curve — e^(-days / (importance × 10))
  • Recent + frequently accessed = stronger signal
  • Contradictions auto-detected and old facts soft-deleted

License

MIT

About

Smara Memory plugin for Paperclip — persistent decay-aware memory for AI agent companies

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.