Skip to main content
Glama
krishansingh1-stack

Investment Elicitation Profiling Assistant

🧠 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
-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/krishansingh1-stack/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server