Skip to content

Conversation

@3rd-Son
Copy link
Contributor

@3rd-Son 3rd-Son commented Dec 1, 2025

πŸ”— Linked Issue

Closes #

βœ… Type of Change

  • ✨ New Project/Feature
  • 🐞 Bug Fix
  • πŸ“š Documentation Update
  • πŸ”¨ Refactor or Other

πŸ“ Summary

πŸ“– README Checklist

  • I have created a README.md file for my project.
  • My README.md follows the official .github/README_TEMPLATE.md.
  • I have included clear installation and usage instructions in my README.md.
  • I have added a GIF or screenshot to the assets folder and included it in my README.md.

βœ”οΈ Contributor Checklist

  • I have read the CONTRIBUTING.md document.
  • My code follows the project's coding standards.
  • I have placed my project in the correct directory (e.g., advance_ai_agents, rag_apps).
  • I have included a requirements.txt or pyproject.toml for dependencies.
  • I have added a .env.example file if environment variables are needed and ensured no secrets are committed.
  • My pull request is focused on a single project or change.

πŸ’¬ Additional Comments


EntelligenceAI PR Summary

This PR adds a complete AI Consultant Agent application for assessing company AI readiness with memory-powered conversations and web research capabilities.

  • Streamlit UI with dual-tab interface for assessments and memory-based chat queries
  • Memori v3 integration for automatic conversation capture and persistent SQLite storage
  • ExaAI-powered case study research combined with LangChain and GPT-4o-mini reasoning
  • Pydantic models for structured company profiles and research snippets
  • Complete project setup with pyproject.toml, README documentation, and Streamlit theme configuration
  • Python 3.11+ requirement with dependencies for LangChain, OpenAI, ExaAI, SQLAlchemy, and Streamlit

@entelligence-ai-pr-reviews
Copy link

Entelligence AI Vulnerability Scanner

Status: No security vulnerabilities found

Your code passed our comprehensive security analysis.

Analyzed 2 files in total

@entelligence-ai-pr-reviews
Copy link

Walkthrough

This PR introduces a new AI Consultant Agent application that assesses company AI readiness using Streamlit for the UI, Memori v3 for persistent memory, and ExaAI for web research capabilities. The implementation includes a complete project structure with dependency management via pyproject.toml, comprehensive documentation, and a workflow that combines LangChain reasoning with real-time case study research. The application features a dual-tab interface for conducting AI assessments and querying historical data through memory-powered conversations. All components are configured for Python 3.11+ with SQLite-based memory storage and OpenAI GPT-4o-mini integration.

Changes

File(s) Summary
memory_agents/ai_consultant_agent/app.py Implemented Streamlit-based AI consultant application with Memori v3 integration, featuring dual-tab interface (AI Assessment and Memory), API key management sidebar, session state handling, and automatic LLM interaction capture.
memory_agents/ai_consultant_agent/workflow.py Created AI assessment workflow with Pydantic models (CompanyProfile, ResearchSnippet), ExaAI case study search function, and main assessment orchestration using GPT-4o-mini to generate structured markdown consulting reports.
memory_agents/ai_consultant_agent/pyproject.toml Added project configuration for ai-consultant-agent v0.1.0 with Python 3.11+ requirement and dependencies including LangChain, ExaAI, Memori 3.0.0b3, SQLAlchemy, OpenAI, Streamlit, Pydantic, and python-dotenv.
memory_agents/ai_consultant_agent/README.md Added comprehensive documentation covering installation with uv package manager, API key configuration (OpenAI and ExaAI), usage instructions, feature descriptions (AI readiness assessment, use-case recommendations, cost analysis, web research, persistent memory), and project structure overview.
memory_agents/ai_consultant_agent/.streamlit/config.toml Added Streamlit theme configuration file with light mode base theme and commented-out customization options for colors.
memory_agents/job_search_agent/.env.example.local-backup Added environment configuration template with placeholders for EXA_API_KEY and NEBIUS_API_KEY.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    actor User
    participant UI as Streamlit UI
    participant Profile as CompanyProfile
    participant Workflow as workflow.run_ai_assessment
    participant OpenAI as OpenAI Client
    participant Memori as Memori v3
    participant DB as SQLite Database

    Note over UI,DB: Initialization Phase
    UI->>DB: Create engine & session
    UI->>OpenAI: Initialize client with API key
    UI->>Memori: Initialize Memori(conn=SessionLocal)
    Memori->>OpenAI: Register OpenAI client
    Memori-->>UI: Return wrapped client
    UI->>Memori: Set attribution(entity_id, process_id)
    UI->>Memori: config.storage.build()
    Memori->>DB: Create/verify tables

    Note over User,DB: AI Assessment Flow
    User->>UI: Enter company details<br/>(name, industry, size, goals, etc.)
    User->>UI: Click "Run AI Assessment"
    UI->>Profile: Create CompanyProfile(company_name, industry, ...)
    Profile-->>UI: Return profile object
    UI->>Workflow: run_ai_assessment(profile, openai_client)
    Workflow->>OpenAI: chat.completions.create()<br/>(assessment generation)
    Note over OpenAI,Memori: Memori automatically captures<br/>this conversation
    Memori->>DB: Store conversation context
    OpenAI-->>Workflow: Return assessment markdown
    Workflow-->>UI: Return (assessment_markdown, snippets)
    UI->>UI: Store in session_state
    UI->>User: Display assessment results

    Note over User,DB: Memory-Powered Q&A Flow
    User->>UI: Enter question in chat
    UI->>UI: Append to memory_messages
    UI->>UI: Build full_prompt with<br/>latest assessment context
    UI->>OpenAI: chat.completions.create()<br/>(model="gpt-4o-mini")
    Note over OpenAI,Memori: Memori captures Q&A automatically
    Memori->>DB: Store question & response
    OpenAI-->>UI: Return response text
    UI->>UI: Append response to memory_messages
    UI->>User: Display response in chat
Loading

πŸ”— Cross-Repository Impact Analysis

Enable automatic detection of breaking changes across your dependent repositories. β†’ Set up now

Learn more about Cross-Repository Analysis

What It Does

  • Automatically identifies repositories that depend on this code
  • Analyzes potential breaking changes across your entire codebase
  • Provides risk assessment before merging to prevent cross-repo issues

How to Enable

  1. Visit Settings β†’ Code Management
  2. Configure repository dependencies
  3. Future PRs will automatically include cross-repo impact analysis!

Benefits

  • πŸ›‘οΈ Prevent breaking changes across repositories
  • πŸ” Catch integration issues before they reach production
  • πŸ“Š Better visibility into your multi-repo architecture

▢️ ⚑ AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please change the default marketplace provider to the following in the windsurf settings:

Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery

Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items

Entelligence.ai can learn from your feedback. Simply add πŸ‘ / πŸ‘Ž emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • πŸ”’ Security Vulnerability - Fix to ensure system safety.
  • πŸ’» Code Improvement - Suggestions to enhance code quality.
  • πŸ”¨ Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

@Arindam200 Arindam200 merged commit 0c98491 into Arindam200:main Dec 2, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants