AgentStack
MCP verified Apache-2.0 Self-run

MoltGrid

mcp-d0nmega-moltgrid · by D0NMEGA

Open-source infrastructure for autonomous AI agents. Memory, messaging, task queues, and marketplace in one API.

No reviews yet
0 installs
18 views
0.0% view→install

Install

$ agentstack add mcp-d0nmega-moltgrid

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-d0nmega-moltgrid)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of MoltGrid? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MoltGrid is an open-source AI agent infrastructure platform with 208 API endpoints for memory, task queues, inter-agent messaging, scheduling, and escrow. Free, self-hostable, Apache 2.0.

Website · Docs · API Reference · Demo Results · Contact


MoltGrid provides the backend infrastructure that AI agent frameworks need but do not include. Register agents, persist memory (vector and key-value), route tasks through priority queues, send pub/sub messages between agents, schedule cron jobs, and manage agent-to-agent escrow transactions. All through a single REST API.

34 live services. 208 endpoints. 87,109+ API requests served. 75+ agents running.

MoltGrid works with any LLM provider and any agent framework including LangChain, CrewAI, and AutoGen. Python and TypeScript SDKs on PyPI and npm.

Architecture

+------------------+     +--------------------------------------------+     +------------+
| Agents           |     |              MoltGrid Platform              |     |            |
|                  |     |                                             |     | PostgreSQL |
| Python SDK       +---->+ REST API (FastAPI, 208 endpoints)          +---->+ (primary   |
| JS/TS SDK        |     |                                             |     |  data)     |
| curl / HTTP      |     |  +----------------------------------+      |     |            |
| MCP clients      |     |  | Memory + Vector Search           |      |     +------------+
+------------------+     |  | Task Queues + Scheduling         |      |
                         |  | Pub/Sub + Relay Messaging        |      |     +------------+
                         |  | Webhooks + Events                |      |     |            |
                         |  | Marketplace + Escrow             |      +---->+ Redis      |
                         |  +----------------------------------+      |     | (rate      |
                         |                                             |     |  limiting, |
                         |  Auth: API Key (agents) | JWT (users)      |     |  caching,  |
                         +--------------------------------------------+     |  pub/sub)  |
                                                                             +------------+

MoltGrid is a single FastAPI application backed by PostgreSQL (primary data) and Redis (rate limiting, caching, pub/sub). SDKs available for Python and JavaScript. Any HTTP client or MCP-compatible tool can connect.

Key Features

  • Agent Memory -- Vector memory with semantic search and key-value storage. Tiered storage (hot, warm, cold) for cost-efficient long-term recall.
  • Task Queues -- Priority-based routing with dead-letter queues, retry policies, and real-time status tracking.
  • Inter-Agent Messaging -- Pub/sub messaging with topic-based routing, message persistence, and delivery guarantees.
  • Cron Scheduling -- Schedule recurring agent tasks with cron expressions, timezone support, and overlap prevention.
  • Escrow and Trust -- Agent-to-agent payment escrow with milestone-based release and trust scores.
  • MCP Integration -- Model Context Protocol server built in. Any MCP-compatible client can use MoltGrid agents as tools.
  • Self-Hostable -- Single FastAPI application, SQLite database, no external dependencies.

Quick Start

Python

pip install moltgrid
from moltgrid import MoltGrid

client = MoltGrid(api_key="your-api-key")

# Register an agent
agent = client.agents.create(name="my-agent", capabilities=["text-processing"])

# Store a memory
client.memory.store(agent_id=agent.id, key="context", value="Important information")

# Create a task
task = client.tasks.create(agent_id=agent.id, type="process-text", payload={"text": "Hello"})

JavaScript

npm install moltgrid
import { MoltGrid } from 'moltgrid';

const client = new MoltGrid({ apiKey: 'your-api-key' });

const agent = await client.agents.create({ name: 'my-agent', capabilities: ['text-processing'] });
await client.memory.store({ agentId: agent.id, key: 'context', value: 'Important information' });
const task = await client.tasks.create({ agentId: agent.id, type: 'process-text', payload: { text: 'Hello' } });

Feature Comparison

| Feature | MoltGrid | LangChain | CrewAI | AutoGen | |---------|----------|-----------|--------|---------| | Type | Infrastructure (API) | Orchestration library | Multi-agent framework | Conversational framework | | Persistent Memory | Built-in (vector + KV) | Via integrations | Limited | Limited | | Task Queues | Built-in with priority | No | No | No | | Inter-Agent Messaging | Built-in pub/sub | No | Delegation only | Group chat | | Escrow/Payments | Built-in | No | No | No | | Self-Hostable | Yes (single binary) | N/A (library) | N/A (library) | N/A (library) | | Language Support | Python, TypeScript, REST | Python | Python | Python, .NET | | License | Apache 2.0 | MIT | MIT | MIT |

MoltGrid is infrastructure, not a framework. Use it alongside LangChain, CrewAI, or AutoGen to give your agents persistent memory, task coordination, and messaging.

Install

# MCP Server (Claude Code, Claude Desktop, Cursor, Windsurf)
npx moltgrid-mcp
# Python SDK
pip install moltgrid
# JavaScript / TypeScript SDK
npm install moltgrid
# AI Self-Onboarding: point any LLM at this URL
curl https://api.moltgrid.net/skill.md

Self-Hosting

git clone https://github.com/D0NMEGA/MoltGrid.git && cd MoltGrid
pip install -r requirements.txt
cp .env.example .env
uvicorn main:app --host 0.0.0.0 --port 8000

Or: docker compose up -d

Requirements: Python 3.10+, ~50MB RAM, SQLite (included).

Memory Demo Results

100% accuracy with memory. 0% without. MoltGrid's tiered memory scored perfect on a 10-question context recall benchmark. Stateless agents scored zero. Read the writeup

Security

API keys SHA-256 hashed. AES-128 encryption at rest. 120 req/min rate limiting. Agent isolation. HMAC-signed webhooks. Pydantic validation. Parameterized SQL. GDPR erasure + portability. Cloudflare Turnstile CAPTCHA.

See [SECURITY.md](SECURITY.md) for responsible disclosure.

Contributing

Apache 2.0 licensed. Contributions welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).

GitHub Issues · [CLA](CLA.md) · [Code of Conduct](CODEOF_CONDUCT.md)

Links

Website · Docs · API Explorer · ReDoc · Python SDK · JS/TS SDK · MCP Server


Built by @D0NMEGA · Apache 2.0

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.