Skip to content

Add agent-memory provider#23

Open
g1itchbot8888-del wants to merge 1 commit intosupermemoryai:mainfrom
g1itchbot8888-del:main
Open

Add agent-memory provider#23
g1itchbot8888-del wants to merge 1 commit intosupermemoryai:mainfrom
g1itchbot8888-del:main

Conversation

@g1itchbot8888-del
Copy link

Summary

Adds a provider for benchmarking agent-memory, a graph-based memory system for AI agents.

Features

  • HTTP bench server integration (runs on port 9876)
  • Semantic search with graph-enhanced retrieval
  • Memory relations (extends, contradicts, supersedes)
  • LearningMachine for meta-memory (learns from errors)

Usage

  1. Start the bench server:
cd /path/to/agent-memory
python -m agent_memory.bench_server --port 9876
  1. Run benchmarks:
bun run benchmark --provider agent-memory

Files Changed

  • src/providers/agent-memory/index.ts - Provider implementation
  • src/providers/agent-memory/prompts.ts - System prompts
  • src/providers/index.ts - Added export
  • src/types/provider.ts - Added to ProviderName union
  • src/utils/config.ts - Added configuration

Testing

Tested locally against LoCoMo and ConvoMem benchmarks with agent-memory's real database (400+ memories).

Happy to adjust anything based on feedback!

Adds support for benchmarking agent-memory (github.com/g1itchbot8888-del/agent-memory):

- HTTP bench server integration (port 9876)
- Semantic search with graph-enhanced retrieval
- Memory relations (extends, contradicts, supersedes)
- LearningMachine for meta-memory

Run with: bun run benchmark --provider agent-memory

Requires agent-memory bench server running locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant