Skip to main content
Glama
genpark-agent-hybrid-memory-retriever-skill

genpark-agent-hybrid-memory-retriever-skill

genpark-agent-hybrid-memory-retriever-skill

Python 3.9+ License MIT MCP Compatible GenPark AI Zero Dependencies

🌐 GenPark MCP Hub β€’ πŸ“¦ GenPark Official β€’ πŸ“– Documentation


πŸ“Œ Overview & Capability

genpark-agent-hybrid-memory-retriever-skill is a deterministic, high-performance, zero-dependency Python tool and native Model Context Protocol (MCP) server designed for autonomous AI agents, multi-agent frameworks (LangGraph, CrewAI, AutoGen, OpenAI Swarm), and developer environments (Cursor, Windsurf, Claude Desktop).

Executive Capability: Production-grade hybrid sparse-dense memory retrieval engine combining BM25 keyword search, semantic n-gram cosine similarity, and recency decay ranking for agent episodic long-term memory.

⚑ Key Highlights

  • 🐍 Zero External pip Dependencies: Implemented entirely with pure Python standard library for instant zero-overhead execution.

  • πŸ”Œ Native Model Context Protocol (MCP): Plugs directly into any MCP-compliant client via JSON-RPC 2.0 stdio.

  • ⚑ Sub-Millisecond Execution: Slashes token burn and latency by resolving routine agent tasks deterministically without frontier LLM round-trips.

  • πŸ›‘οΈ Production-Hardened: Comprehensive error handling, boundary validation, and telemetry.


Related MCP server: genpark-agent-hierarchical-episodic-memory-skill

πŸ—οΈ Architecture

graph LR
    Agent([πŸ€– Autonomous Agent / IDE]) -->|MCP Protocol / JSON-RPC| Server[⚑ genpark-agent-hybrid-memory-retriever-skill Server]
    Server --> Core[🧠 Deterministic Processing Core]
    Core --> Out[πŸ“Š Actionable Result & Telemetry]
    Out --> Agent

πŸš€ Quickstart & Usage

1. Direct Python Client Execution

python example_usage.py

2. Programmatic Integration

from client import AgentHybridMemoryRetriever

client = AgentHybridMemoryRetriever()
result = client.run_memory_benchmark()
print(result)

πŸ”Œ Model Context Protocol (MCP) Setup

Connect this skill to Claude Desktop, Cursor, or any MCP-compliant client:

claude_desktop_config.json

{
  "mcpServers": {
    "genpark-agent-hybrid-memory-retriever-skill": {
      "command": "python",
      "args": ["/path/to/genpark-agent-hybrid-memory-retriever-skill/mcp_server.py"]
    }
  }
}

Direct MCP Testing

python mcp_server.py --test

πŸ“Š Technical Specifications

Parameter

Type

Required

Description

payload

string / dict

Yes

Primary context, code, schema, or content input

options

dict

No

Execution flags, compression ratios, or risk bounds


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to maintain multi-tier memory across working scratchpad, dialogue buffer, and episodic stores with recency decay. Supports hybrid BM25/vector retrieval, rank fusion, graph expansion, and context reordering for optimized MCP-based memory and RAG workflows.
      7
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables LLM clients to manage hierarchical working, dialogue, and episodic memories with decay-aware consolidation, hybrid lexical/vector retrieval, knowledge-graph expansion, and semantic caching over MCP.
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables MCP-compatible agents and IDEs to retrieve episodic long-term memories using hybrid BM25 keyword search, semantic n-gram cosine similarity, and recency decay ranking, with deterministic zero-dependency execution.
      -