Claim this agent
agentGITHUB OPENCLEWUnverified

MultiAgent-Recommender

🎬 Conversational recommender system powered by a three-specialized-agent CrewAI pipeline (Preference Analyst β†’ Movie Matcher β†’ Recommendation Generator), powered by Vector search, Groq LLM, and LangGraph. 🎬 MultiAgent Recommender System A conversational recommendation system powered by a **three-agent AI crew** that collaborates in real-time to deliver personalised film suggestions. Built with $1, $1, $1, and $1. --- Table of Contents - $1 - $1 - $1 - $1 - $1 - $1 - $1 - $1 - $1 - $1 - $1 - $1 --- Overview The MultiAgent Movie Recommender accepts a natural language query (e.g. *"feel-good comedies"*, *"mind-bending s

OpenClawcrewaimulti-agent

Rank

21

Safety

66

Stars

1

Updated

Jun 1, 2026

Source

GITHUB OPENCLEW

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1 GitHub stars reported by the source. Last updated 6/1/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clement Okolovendor Β· observed May 24, 2026
Protocol compatibility
OpenClawcompatibility Β· observed May 24, 2026
Adoption signal
1 GitHub starsadoption Β· observed May 24, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

git clone https://github.com/Clement-Okolo/MultiAgent-Recommender.git
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/crewai-clement-okolo-multiagent-recommender/snapshot"

Documentation

GITHUB OPENCLEW

🎬 MultiAgent Recommender System

A conversational recommendation system powered by a three-agent AI crew that collaborates in real-time to deliver personalised film suggestions. Built with CrewAI, GroqCloud, Redis, and Streamlit.


Table of Contents


Overview

The MultiAgent Movie Recommender accepts a natural language query (e.g. "feel-good comedies", "mind-bending sci-fi") and passes it through a sequential pipeline of three specialised AI agents. Each agent has a distinct role β€” analysing preferences, matching candidate films, and generating a personalised reply β€” before the final recommendation is streamed back to the user through a polished chat interface.

Chat context is persisted in Redis so the system remembers earlier messages within a session, enabling follow-up queries like "something similar but more recent".


Architecture

User Input (Streamlit Chat)
        β”‚
        β–Ό
β”Œβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•—
β•‘               Workflow Graph (LangGraph)                      β•‘
β•‘                                                               β•‘
β•‘                                                               β•‘
β•‘                                                               β•‘
β•‘                                                               β•‘
β•‘        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”            β•‘
β•‘        β”‚  Node: "run_crew"                        β”‚           β•‘
β•‘        β”‚                                          β”‚           β•‘
β•‘        β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚           β•‘
β•‘        β”‚  β”‚    Agent Orchestration (CrewAI)   β”‚  β”‚           β•‘
β•‘        β”‚  β”‚                                   β”‚  β”‚           β•‘
β•‘        β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚  β”‚ Preference  │─▢│  Movie     β”‚  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚  β”‚ Analyst     β”‚  β”‚  Matcher   β”‚  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚  β”‚ (Agent 1)   β”‚  β”‚  (Agent 2) β”‚  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚                         β”‚         β”‚  β”‚           β•‘
β•‘        β”‚  β”‚               β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚               β”‚ Recommendation β”‚  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚               β”‚ Generator      β”‚  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚               β”‚ (Agent 3)      β”‚  β”‚  β”‚           β•‘
β•‘        β”‚  β”‚               β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜  β”‚  β”‚           β•‘
β•‘        β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚           β•‘
β•‘        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β•‘
β•‘                                     β”‚  result                 β•‘
β•‘                                    END                        β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
                                     β”‚
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚      Redis (Cloud / Local)       β”‚
                    β”‚  β€’ Vector DB (embeddings)     β”‚
                    β”‚  β€’ LLM Cache                     β”‚
                    β”‚  β€’ Chat Message History          β”‚
                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Agent Pipeline

| # | Agent | Role | Key Responsibility | |---|-------|------|--------------------| | 1 | Preference Analyst | Understands the user | Parses the query + chat history to build a detailed taste profile (genres, themes, mood) | | 2 | Movie Matcher | Searches the catalogue | Uses semantic similarity search against the Redis vector store to surface the best candidate films | | 3 | Recommendation Generator | Crafts the reply | Ranks candidates by relevance and writes a personalised, conversational recommendation with reasons |

All three agents share the Movie Database Lookup tool β€” a CrewAI @tool that performs vector similarity search over the 3,000-title MovieLens index stored in Redis.


Tech Stack

| Layer | Technology | |-------|-----------| | LLM | Groq β€” llama-3.3-70b-versatile | | Agent orchestration | CrewAI | | Workflow graph | LangGraph (StateGraph) | | Embeddings | HuggingFace Inference API β€” sentence-transformers/all-MiniLM-L6-v2 | | Vector DB | Redis (via langchain-redis) | | Chat memory | RedisChatMessageHistory (langchain-redis) | | UI | Streamlit | | LLM proxy | litellm (CrewAI dependency) | | Dataset | MovieLens ml-latest-small |


Project Structure

multiagent/
β”œβ”€β”€ streamlit_app.py        # Streamlit web application (main entry point)
β”œβ”€β”€ multiagent.ipynb        # Jupyter notebook (exploration & prototyping)
β”œβ”€β”€ credentials.py          # API keys and Redis connection details
β”œβ”€β”€ requirements.txt        # Python dependencies
β”œβ”€β”€ ml-latest-small/        # MovieLens dataset
   β”œβ”€β”€ movies.csv


Prerequisites


Installation

# 1. Clone / download the project
cd multiagent

# 2. Create a virtual environment (recommended)
python -m venv .venv
.venv\Scripts\activate          # Windows
# source .venv/Scripts/activate     # macOS / Linux

# 3. Install dependencies
pip install -r requirements.txt

Configuration

Create a file called credentials.py in the multiagent/ directory:

# credentials.py
GROQ_API_KEY   = "gsk_..."          # Groq API key
HF_TOKEN       = "hf_..."           # HuggingFace token

REDIS_HOST     = "your-redis-host"  # e.g. redis-12345.c1.us-east-1-1.ec2.cloud.redislabs.com
REDIS_PORT     = 12345              # your Redis port (integer)
REDIS_PASSWORD = "your-password"    # Redis password
REDIS_URL      = f"redis://default:{REDIS_PASSWORD}@{REDIS_HOST}:{REDIS_PORT}"

Running the App

streamlit run streamlit_app.py

The app will open at http://localhost:8501.

On first run it will:

  1. Connect to Redis and verify the connection.
  2. Download the sentence-transformers/all-MiniLM-L6-v2 embedding model via the HuggingFace Inference API.
  3. Read ml-latest-small/movies.csv, embed the first 3,000 titles, and index them in Redis.
  4. Initialise the three CrewAI agents and the Groq LLM.

Subsequent runs re-use the cached resources (Streamlit @st.cache_resource), so startup is much faster.


Using the Notebook

Open multiagent.ipynb in VS Code or JupyterLab to explore the system interactively:

jupyter lab multiagent.ipynb

The notebook walks through:

  1. Installing / verifying package versions
  2. Connecting to Redis
  3. Loading and embedding the MovieLens dataset
  4. Defining the three agents and their tasks
  5. Assembling the Crew
  6. Wrapping the crew in a LangGraph StateGraph
  7. Running an interactive terminal-based recommendation loop

How It Works

1. Vector Store Indexing

The first 3,000 movie titles from movies.csv are embedded with sentence-transformers/all-MiniLM-L6-v2 (via the HuggingFace Inference API β€” no local GPU required) and stored in a Redis SearchIndex under the key movie_recommendations.

2. User Query

The user types a free-form request in the Streamlit chat input, or clicks one of eight pre-built suggestion chips (e.g. "πŸš€ Sci-fi adventures").

3. Agent Execution

kickoff(inputs={"user_input": "...", "chat_history": [...]})

CrewAI runs the three agents sequentially:

  • Preference Analyst examines the query and recent chat turns to extract genres, themes, and mood signals.
  • Movie Matcher invokes the Movie Database Lookup tool (Redis similarity search) and surfaces the top candidates.
  • Recommendation Generator ranks those candidates and returns a conversational reply with a reason for each pick.

4. Live Agent Visibility

While the crew is running, the Streamlit UI shows an inline live progress view with:

  • A green block for each completed agent task (first 400 characters of output).
  • A blue block for the current agent step / tool call (first 300 characters).

Once the crew finishes, the live cards are replaced by a collapsed 🧠 Agent reasoning expander showing the full output of every completed task.

5. Redis Memory

Every user message and AI reply is appended to RedisChatMessageHistory. On the next query the full history is serialised and sent to the crew so the agents can maintain conversational context.


Dataset

MovieLens Small by GroupLens Research:

| File | Description | |------|-------------| | movies.csv | 9,742 movies with title and genres | | ratings.csv | 100,836 ratings from 610 users | | tags.csv | User-applied tags | | links.csv | TMDb / IMDb identifiers |

Only the first 3,000 rows of movies.csv are indexed into the vector store to stay within Redis free-tier memory limits. You can adjust this in your code:

sample_df = movies_df.head(3000)   # ← change to index more titles if your Redis plan allows
Github OpenclewUpdated 4mo agoRank 65

@x1pay/langchain

LangChain/LangGraph tools for AI agent x402 payments on X1

OPENCLAW
Github OpenclewUpdated 4mo agoRank 65

oceanbus-langchain

LangChain tools for OceanBus β€” give your LangChain and CrewAI agents a global identity, encrypted messaging, and Yellow Pages service discovery with a single import.

OPENCLAWoceanbuslangchainlangchain-tools

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "label": "Vendor",
      "value": "Clement Okolo",
      "category": "vendor",
      "href": "https://github.com/Clement-Okolo/MultiAgent-Recommender",
      "sourceUrl": "https://github.com/Clement-Okolo/MultiAgent-Recommender",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-05-24T06:16:48.368Z",
      "isPublic": true,
      "metadata": {}
    },
    {
      "factKey": "protocols",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "category": "compatibility",
      "href": "https://www.xpersona.co/api/v1/agents/crewai-clement-okolo-multiagent-recommender/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-clement-okolo-multiagent-recommender/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-05-24T06:16:48.368Z",
      "isPublic": true,
      "metadata": {}
    },
    {
      "factKey": "traction",
      "label": "Adoption signal",
      "value": "1 GitHub stars",
      "category": "adoption",
      "href": "https://github.com/Clement-Okolo/MultiAgent-Recommender",
      "sourceUrl": "https://github.com/Clement-Okolo/MultiAgent-Recommender",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-05-24T06:16:48.368Z",
      "isPublic": true,
      "metadata": {}
    },
    {
      "factKey": "handshake_status",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "category": "security",
      "href": "https://www.xpersona.co/api/v1/agents/crewai-clement-okolo-multiagent-recommender/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-clement-okolo-multiagent-recommender/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true,
      "metadata": {}
    }
  ],
  "events": []
}

Record generated Oct 8, 2026.

Sponsored

Ads related to MultiAgent-Recommender and adjacent AI workflows.