The OpenAI Agents SDK has a first-class MCP integration, so you can launch AgentRAM's memory server as a subprocess and hand its tools to any agent. A few lines of Python and your agents remember across runs.
In one line: Launch AgentRAM's MCP server from the OpenAI Agents SDK with MCPServerStdio, and your agents get store and recall tools.
Persistent, named memory your Agents-SDK agents can read and write across runs, shared memory for multi-agent teams, and no vector database to manage. Memory is exposed as tools the agent calls. See the MCP integration overview for the underlying model.
pip install openai-agents (a virtual environment is recommended).npx.The Agents SDK can launch an MCP server as a subprocess with MCPServerStdio. Point it at agentram-mcp:
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerStdio
async def main():
async with MCPServerStdio(
name="AgentRAM",
params={
"command": "npx",
"args": ["-y", "agentram-mcp"],
"env": {"AGENTRAM_API_KEY": "agentram_your_key_here"},
},
) as agentram:
agent = Agent(
name="Assistant",
instructions="Use AgentRAM to store and recall facts across sessions.",
mcp_servers=[agentram],
)
result = await Runner.run(agent, "Remember that my name is Sean, then confirm.")
print(result.final_output)
asyncio.run(main())The agent now has AgentRAM's store and recall tools available and will use them as the task requires.
Run the script once to store a value, then run a second run that recalls it in a fresh process to prove the memory persists across runs, not just within one conversation.
which python points into your venv.AGENTRAM_API_KEY in env is missing or wrong; it should start with agentram_.node -v.AgentRAM is a simple memory API for AI agents. One call to store, one to recall, shared across agents, no vector database. Store your first memory in about a minute.
Get your API key1,000 free operations. No credit card.
© 2026 AgentRAM. All rights reserved.