Feature/edge apps

Summary

Add Edge App MCP tools and optional Redis-backed short-term memory for agent workflows.

Changes

  • Added Edge App MCP tools for app definition list/get/register/delete.
  • Added Edge Cloud Zone retrieval tool.
  • Added app instantiation, app instance listing, and app instance deletion tools.
  • Added Pydantic input models for Edge App operations.
  • Added JSON templates for app definition registration and app instantiation.
  • Registered the new MCP tools explicitly in mcp_module/app.py.
  • Added optional Redis short-term memory for /groq-mcp and /groq-mcp/stream.
  • Increased Groq MCP agent max steps to better support multi-step tool workflows.
  • Added Redis service and memory-related environment variables to Docker Compose.
  • Expanded CI with type checking, architecture checks, linting, formatting, tests, and SAST.
  • Updated AI Agent and MCP module documentation.
  • Cleaned up QoD runtime env lookup, formatting, and delete-session description.

Merge request reports

Loading
+7 −0
Changes for ai_agent/prompts/__init__.py: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
from ai_agent.prompts.memory import CONVERSATION_MEMORY_PROMPT
from ai_agent.prompts.tool_agent import TOOL_USING_ASSISTANT_PROMPT

__all__ = [
    "CONVERSATION_MEMORY_PROMPT",
    "TOOL_USING_ASSISTANT_PROMPT",
]
+5 −0
Changes for ai_agent/prompts/memory.py: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
CONVERSATION_MEMORY_PROMPT = """
You are an intelligent assistant that uses available tools to respond to user requests.
1. Identify the appropriate tool.
2. Summarize the tool's result and be as concise as possible with the less 
"""
+6 −0
Changes for ai_agent/prompts/tool_agent.py: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
TOOL_USING_ASSISTANT_PROMPT = """
You are an intelligent assistant that uses available tools to respond to user requests.
1. Identify the appropriate tool.
2. Summarize the tool's result naturally.
3. Offer helpful next steps.
"""
+1 −0
Changes for ai_agent/routes/__init__.py: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
+1 −1
Changes for ai_agent/routes/debug.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
import io
import sys
import objgraph
import objgraph  # type: ignore[import-untyped]
from fastapi import APIRouter
from fastapi.responses import PlainTextResponse

Loading
Loading