AI god of wealth that help you optimize your DeFi portfolio with reasoning.
Caishen is an AI agent designed to analyze your on-chain portfolio. He helps optimize your investments by suggesting ways to hedge, enhance yield, or lower risk. Unlike a typical chatbot, Caishen uses dynamic UI generation to cater to all users, from beginners to seasoned financial experts.
The project centers on the AI agent built using Langgraph and a dynamic frontend.
On the AI part, we use langgraph react agent. To get user data, I leveraged 1inch to collect users' DeFi history and portfolio details, feeding this data into the LLM to pose tailored questions for portfolio optimization.
The AI backend engages interactively with the frontend, continuously generating questions and choices for users until all necessary information is gathered.