CoolFace
Apppublic

cyberpunk2055/kronos-leo-analyst

sourceHugging Facemitupdated 3mo agoView on Hugging Face
0likes
App README

Kronos-Leo-Analyst (Future-Vision MCP)

A production-ready FastAPI-based MCP server that integrates the Kronos Foundation Model (candlestick forecasting) with Agentic Multi-Agent Investment Simulation logic.

This "Combo Skill" allows Poke's L.E.O. agent to provide "Future-Vision" stock analysis, combining deep-learning time-series forecasts with legendary investor personas.

๐Ÿš€ Quick Start (Local)

  1. 1.Install Dependencies:
bash
   pip install -r requirements.txt
  1. 1.Run the Server:
bash
   export PYTHONPATH=$PYTHONPATH:$(pwd)
   python src/main.py
  1. 1.Test the Endpoint:
bash
   curl -X POST http://localhost:8000/analyze \
     -H "Content-Type: application/json" \
     -d '{"ticker": "NVDA"}'

โ˜๏ธ Deployment (Render)

  1. 1.Push this code to your GitHub repository.
  2. 2.Create a new Web Service on Render.
  3. 3.Connect your repository.
  4. 4.Select Docker as the Runtime.
  5. 5.Add an environment variable PORT=8000.
  6. 6.Once deployed, Render will provide a public URL (e.g., https://kronos-leo.onrender.com).

๐Ÿค– Register with Poke

To use this with L.E.O., ask Poke: "Request permissions for mcp:new:KronosAnalyst:https://your-render-url.com/analyze"

๐Ÿ›  Project Structure

  • โ€”src/main.py: FastAPI & MCP Tool definitions.
  • โ€”src/engine.py: The "Future-Vision" logic fusing Kronos forecasts with agentic signals.
  • โ€”src/data_utils.py: Financial data fetching.