๐Ÿง  Investment Elicitation Profiling Assistant

This project is an AI-powered conversational assistant that guides users step-by-step (elicitation) to build their investment profile through a friendly dialogue. It uses LangChain, OpenAI, FastAPI, and WebSocket for a real-time interactive experience.

๐Ÿš€ Features

  • Conversational investment profiling via WebSocket
  • Guided 4-step elicitation:
    1. Purpose โ€“ Why you're investing
    2. Timeline โ€“ How long you plan to invest
    3. Risk Tolerance โ€“ How much risk you can handle
    4. Investment Entry โ€“ How and how much you plan to invest
  • Structured and validated input via Pydantic
  • Real-time messaging powered by LangChain + OpenAI
  • WebSocket support for frontend integration

๐Ÿ“ฆ Tech Stack

  • Python
  • FastAPI โ€“ REST + WebSocket API
  • LangChain โ€“ agent logic and prompt orchestration
  • OpenAI GPT โ€“ language understanding and generation
  • Pydantic โ€“ validation and type safety
  • Loguru โ€“ logging
  • dotenv โ€“ environment management
  • FastMCP โ€“ multi-step conversational pipeline manager

๐Ÿ› ๏ธ Setup

1. Clone the Repository

git clone https://github.com/your-username/investment-assistant.git
cd investment-assistant

2. Install Dependencies

uv sync

3. Add .env File

Create a .env file with your OpenAI API key:

OPENAI_API_KEY=your-openai-api-key

4. Run the servers

uv run python client.py
uv run python mcp_server.py

MCP Server ยท Populars

MCP Server ยท New

    unbrowse-ai

    Unbrowse

    Unbrowse โ€” api native browser skill/cli for any agent. Auto-discovers APIs from browser traffic, generates skills on the fly to call APIs directly 100x faster, 80% cheaper locally.

    Community unbrowse-ai
    campfirein

    ByteRover CLI

    ByteRover CLI (brv) - The portable memory layer for autonomous coding agents (formerly Cipher)

    Community campfirein
    cafeTechne

    Antigravity Link (VS Code Extension)

    VS Code extension that bridges Antigravity sessions to mobile for uploads and voice-to-text

    Community cafeTechne
    cookjohn

    TeamMCP

    MCP-native collaboration server for AI agent teams โ€” real-time messaging, task management, and web dashboard with just 1 npm dependency

    Community cookjohn
    NameetP

    pdfmux

    PDF extraction that checks its own work. #2 reading order accuracy โ€” zero AI, zero GPU, zero cost.

    Community NameetP