Add ESG analyst workflow#762
Open
MichaelCao0 wants to merge 2 commits intoTauricResearch:mainfrom
Open
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces an ESG (Environmental, Social, Governance) Analyst to the trading agent system. Key changes include the implementation of an ESG analyst agent, new data tools for fetching sustainability scores and news from Yahoo Finance with look-ahead bias protection, and the integration of ESG reports into the bull and bear researcher prompts. The graph workflow and CLI have also been updated to support this new analyst type. Feedback points out a high-severity syntax error in the ESG analyst's system message definition where a trailing comma incorrectly creates a tuple, which would break the prompt formatting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add an optional ESG analyst to the TradingAgents workflow and wire ESG analysis through CLI selection, graph state, report persistence, and downstream research prompts.
Changes
esg_reportto graph state, initial propagation, and final graph results.create_esg_analystplus ESG score/news data tools.ESG Analyst.safe_ticker_component.curr_date.Testing
Remote server (
eddc2d887321a8715a63ccb5ebafafaa.bayesdl.com):Results:
Runtime smoke from the previous latest-version validation:
The remaining warning is an upstream LangGraph pending deprecation warning unrelated to this change.