Crawler Summary

World_Model_Database_Agent answer-first brief

CrewAI Agents, MongoDB, FAISS, Streamlit 🧠 Database Conversation Chatbot Chat with your **MongoDB** database using **natural language queries** - This AI-powered agent understands user queries from natural language - Convert user queries into MongoDB queries to extract requiered data from database - Use Agenetic Reasoning to returns insightful results. - Loom Videos to show working model: 1.https://www.loom.com/share/a3fae6c6d67a4346b8a15d4b1b5a0633?sid=62 Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Freshness

Last checked 10/9/2026

Best For

World_Model_Database_Agent is best for crewai, multi-agent workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB REPOS, runtime-metrics, public facts pack

Agent DossierGITHUB REPOSSafety: 66/100

World_Model_Database_Agent

CrewAI Agents, MongoDB, FAISS, Streamlit 🧠 Database Conversation Chatbot Chat with your **MongoDB** database using **natural language queries** - This AI-powered agent understands user queries from natural language - Convert user queries into MongoDB queries to extract requiered data from database - Use Agenetic Reasoning to returns insightful results. - Loom Videos to show working model: 1.https://www.loom.com/share/a3fae6c6d67a4346b8a15d4b1b5a0633?sid=62

OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Oct 9, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Trust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Oct 9, 2026

Vendor

Harsh064

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.

Setup snapshot

  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 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.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Harsh064

profilemedium
Observed Oct 9, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Oct 9, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB REPOS

Extracted files

0

Examples

5

Snippets

0

Languages

python

Executable Examples

bash

git clone https://github.com/your-username/conversational-db-agent.git
cd conversational-db-agent

bash

python -m venv venv
source venv/bin/activate  # or venv\Scripts\activate on Windows

pip install -r requirements.txt

bash

MONGODB_URI="your-mongodb-uri"
GEMINI_API_KEY="your-generative-ai-key"
HF_TOKEN="YOUR-HUGGINGFACE-api-key"

bash

streamlit run app.py

text

β”œβ”€β”€ app.py                      # Streamlit frontend app
β”œβ”€β”€ main.py                     # Core agent logic and tools
β”œβ”€β”€ .env                        # API KEYS
β”œβ”€β”€ utils/vector_store.py       # # FAISS intent matching logic
β”œβ”€β”€ requirements.txt            # Python dependencies
β”œβ”€β”€ sample_questions.json       # Pre-defined sample questions for few shot learning
β”œβ”€β”€ README.md                   # Project documentation (you are here)

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB REPOS

Docs source

GITHUB REPOS

Editorial quality

ready

CrewAI Agents, MongoDB, FAISS, Streamlit 🧠 Database Conversation Chatbot Chat with your **MongoDB** database using **natural language queries** - This AI-powered agent understands user queries from natural language - Convert user queries into MongoDB queries to extract requiered data from database - Use Agenetic Reasoning to returns insightful results. - Loom Videos to show working model: 1.https://www.loom.com/share/a3fae6c6d67a4346b8a15d4b1b5a0633?sid=62

Full README

🧠 Database Conversation Chatbot

Chat with your MongoDB database using natural language queries

- This AI-powered agent understands user queries from natural language

- Convert user queries into MongoDB queries to extract requiered data from database

- Use Agenetic Reasoning to returns insightful results.

- Loom Videos to show working model: 
        1.https://www.loom.com/share/a3fae6c6d67a4346b8a15d4b1b5a0633?sid=62697a53-819a-4e3f-8d93-b6d104d5bf33
        2.https://www.loom.com/share/ae4291976e5e42c7978908b7ef3be8d3?sid=e57197a6-d41c-419b-ace0-b6903830feaf

πŸš€ Features

  • πŸ’¬ Natural language chat interface via Streamlit
  • 🧠 Agentic reasoning using CrewAI with modular agent roles:
    • Query Understander
    • Mongo Query Planner
    • Result Validator
  • πŸ” Intent matching using FAISS and HuggingFace Embeddings
  • πŸ”Œ Connects to MongoDB sample_analytics dataset (accounts, transactions, customers)
  • πŸ› οΈ Custom tools for database operations
  • πŸ“š Uses sample_questions.json for few-shot intent examples
  • πŸ”„ Handles multi-step reasoning via CrewAI
  • ❌ Graceful error handling for unknown or ambiguous inputs

βš™οΈ Setup Instructions

1. Clone the Repository

git clone https://github.com/your-username/conversational-db-agent.git
cd conversational-db-agent

2. Install Dependencies

We recommend using a virtual environment:

python -m venv venv
source venv/bin/activate  # or venv\Scripts\activate on Windows

pip install -r requirements.txt

3. Configure Environment Variables

Create a .env file in the root directory:

MONGODB_URI="your-mongodb-uri"
GEMINI_API_KEY="your-generative-ai-key"
HF_TOKEN="YOUR-HUGGINGFACE-api-key"

4. Run the App

streamlit run app.py

The app will open in your browser at http://localhost:8501.


🧠 Database Conversation Chatbot - Architecture

  • The system allows users to chat with MongoDB database using natural language, powered by CrewAI Agents, HuggingFace Embeddings, Google Generative AI Chat Model, and Streamlit for an interactive UI.

πŸ“Œ High-Level Overview


🧱 Components

1. Streamlit Frontend (app.py)

  • Provides a chat-based user interface.
  • Displays both user queries and agent responses.
  • Handles session management and chat history.

2. CrewAI Agents (main.py)

  • Central logic for handling natural language input.
  • Uses custom CrewAI Tools and memory for interactive querying.
  • Integrates a custom toolset for MongoDB operations.

3. Tools

Functions registered with the CrewAI Agents to perform specific DB operations:

  • get_customer_tiers
  • get_customers_with_email_domain
  • get_accounts_for_username
  • And many more defined in main.py.

4. FAISS Vectorstore

  • Performs similarity search to identify user intent.
  • Matches user input with stored intents from sample_questions.json.

5. MongoDB Database

  • Primary data source (MongoDB Atlas or local).
  • Collections: customers, accounts, transactions.
  • Link for dataset - https://www.mongodb.com/docs/atlas/sample-data/sample-analytics/

πŸ” Data Flow

<div style="text-align: center;"> <img src="Flowchart.png" alt="Data Flow Diagram" style="width: 75%; max-width: 800px;"> </div>
  1. User enters natural language query in Streamlit chat.

  2. app.py sends the query to the first agent (Query Understander Agent).

  3. Data would flow into these agents sequentially :

    (Multi Agent Architecture)

1️⃣ Query Understander Agent

  • Goal: Understand what the user wants.
  • Uses:
    • Tools for semantic parsing
    • FAISS similarity search on sample_questions.json
  • Output: Refined user intent or rephrased task for the next agent

2️⃣ Mongo Query Planner Agent

  • Goal: Translate intent into MongoDB-compatible queries.
  • Uses:
    • Tools like get_transactions_by_amount, get_customers_by_email, etc.
    • Executes actual database queries via pymongo
  • Output: Extracted raw data from the MongoDB collections

3️⃣ Result Validator Agent

  • Goal: Validate and interpret raw data based on the original user question.
  • Uses:
    • Access to both raw data and initial user query
    • Language modeling to structure a meaningful natural language response
  • Output: Final structured answer sent back to the frontend
  1. Response is returned from Agent β†’ Streamlit.
  2. User sees the assistant's response in the chat.

🧠 Technologies Used

| Component | Technology | |---------------------|-------------------------| | UI | Streamlit | | LLM Integration | CrewAI + GEMINI LLM| | Vector Database | FAISS + HuggingFace Embeddings | | Backend Logic | Python + CrewAI Tools and Tasks| | Database | MongoDB (via PyMongo) |


πŸ—‚ Directory Structure

β”œβ”€β”€ app.py                      # Streamlit frontend app
β”œβ”€β”€ main.py                     # Core agent logic and tools
β”œβ”€β”€ .env                        # API KEYS
β”œβ”€β”€ utils/vector_store.py       # # FAISS intent matching logic
β”œβ”€β”€ requirements.txt            # Python dependencies
β”œβ”€β”€ sample_questions.json       # Pre-defined sample questions for few shot learning
β”œβ”€β”€ README.md                   # Project documentation (you are here)

πŸ” Environment Variables

Stored in a .env file:

  • MONGODB_URI=your_mongodb_connection_string
  • GEMINI_API_KEY=your_google_genai_api_key
  • HF_TOKEN=your-huggingface-api-key

πŸ’‘ Sample Questions

Sample questions are loaded from sample_questions.json to help agent to analyze different types of user’s query intent. Examples:

  • "Show me transactions analysis for account id 328304."
  • "List customer tier details for account id 345123"
  • "Show the email of username harsh and show birthdate of username yash."

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB REPOS

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/contract"
curl -s "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
Github ReposUpdated 9h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation β€’ (~400 MCP servers for AI agents) β€’ AI Automation / AI Agent with MCPs β€’ AI Workflows & AI Agents β€’ MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/snapshot",
    "contractUrl": "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/contract",
    "trustUrl": "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/trust"
  },
  "curlExamples": [
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/snapshot\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/contract\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_REPOS",
      "generatedAt": "2026-10-10T04:37:48.629Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "crewai",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "multi-agent",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Harsh064",
    "href": "https://github.com/Harsh064/World_Model_Database_Agent",
    "sourceUrl": "https://github.com/Harsh064/World_Model_Database_Agent",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-10-09T22:27:16.786Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-10-09T22:27:16.786Z",
    "isPublic": true
  },
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/trust",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/crewai-harsh064-world-model-database-agent/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub Β· GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to World_Model_Database_Agent and adjacent AI workflows.