Skip to content

Commit 08633d6

Browse files
committed
Update name
1 parent 07bb7d6 commit 08633d6

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Redis Agentic Memory
1+
# Redis Agentic Memory Server
22

3-
Redis Memory Server is a high-performance and flexible server for managing
3+
Agentic Memory Server is a high-performance and flexible server for managing
44
short-term and long-term memory for agents using Redis. It provides both REST
55
API endpoints and an MCP (Managed Control Plane) server interface for robust
66
memory operations in AI applications.
@@ -70,7 +70,7 @@ The following endpoints are available:
7070
```
7171

7272
## MCP Server Interface
73-
Redis Memory Server also offers an MCP (Model Context Protocol) server interface powered by FastMCP, providing tool-based memory operations:
73+
Agentic Memory Server also offers an MCP (Model Context Protocol) server interface powered by FastMCP, providing tool-based memory operations:
7474

7575
- **list_sessions**: Retrieve available memory sessions with optional pagination.
7676
- **get_session_memory**: Fetch memory (messages and context) for a specific session.

redis_memory_server/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
"""Redis Memory Server - A memory system for conversational AI."""
1+
"""Redis Agentic Memory Server - A memory system for conversational AI."""
22

33
__version__ = "0.1.0"

redis_memory_server/main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
logger = get_logger(__name__)
1818

1919
# Create FastAPI app
20-
app = FastAPI(title="Redis Memory Server")
20+
app = FastAPI(title="Redis Agentic Memory Server")
2121

2222

2323
async def startup_event():
2424
"""Initialize the application on startup"""
25-
logger.info("Starting Redis Memory Server 🤘")
25+
logger.info("Starting Redis Agentic Memory Server 🤘")
2626

2727
# Check for required API keys
2828
available_providers = []
@@ -104,7 +104,7 @@ async def startup_event():
104104
logger.info(f"Available Anthropic models: {', '.join(anthropic_models)}")
105105

106106
logger.info(
107-
"Redis Memory Server initialized",
107+
"Redis Agentic Memory Server initialized",
108108
window_size=settings.window_size,
109109
generation_model=settings.generation_model,
110110
embedding_model=settings.embedding_model,
@@ -114,7 +114,7 @@ async def startup_event():
114114

115115
async def shutdown_event():
116116
"""Clean up resources on shutdown"""
117-
logger.info("Shutting down Redis Memory Server")
117+
logger.info("Shutting down Redis Agentic Memory Server")
118118
if utils._redis_pool:
119119
await utils._redis_pool.aclose()
120120

@@ -142,7 +142,7 @@ async def mcp_middleware(request, call_next):
142142
def on_start_logger(port: int):
143143
"""Log startup information"""
144144
print("\n-----------------------------------")
145-
print(f"🧠 Redis Memory Server running on port: {port}")
145+
print(f"🧠 Redis Agentic Memory Server running on port: {port}")
146146
print("-----------------------------------\n")
147147

148148

redis_memory_server/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323

2424
logger = logging.getLogger(__name__)
25-
mcp_app = FastMCP("Redis Memory Server")
25+
mcp_app = FastMCP("Redis Agentic Memory Server")
2626

2727

2828
@mcp_app.tool()

run.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/usr/bin/env python3
2-
"""Run the Redis Memory Server."""
2+
"""Run the Redis Agentic Memory Server."""
3+
4+
import os
35

46
import uvicorn
57

8+
from redis_memory_server.main import on_start_logger
9+
610

711
if __name__ == "__main__":
8-
uvicorn.run(
9-
"redis_memory_server.main:app",
10-
host="0.0.0.0",
11-
port=8000,
12-
reload=True,
13-
)
12+
port = int(os.environ.get("PORT", "8000"))
13+
on_start_logger(port)
14+
uvicorn.run("redis_memory_server.main:app", host="0.0.0.0", port=port, reload=False)

0 commit comments

Comments
 (0)