Graph optimization foundation with LangGraph/Graph adapter and Trace/OTEL/Sysmon backends#73
Merged
Merged
Conversation
… of Langgraph optimization
Member
|
TODO: integrates the graph/module path with existing optimization/search mechanisms such as PrioritySearch and ModuleCandidate |
Member
|
LGTM |
doxav
pushed a commit
to doxav/NewTrace
that referenced
this pull request
Jun 11, 2026
…ckends - Updated README.md to reflect changes in installation and usage instructions, removing references to PR AgentOpt#73 and clarifying the role of graph telemetry. - Modified levels.py to update API verification comments and remove PR AgentOpt#73 references. - Refactored runmode.py to clarify the mode banner and remove PR AgentOpt#73 mentions, replacing them with general graph telemetry references. - Enhanced tracebench.py to introduce a new trace_type configuration, allowing for hybrid trace feedback from multiple sources (internal, OTEL, Sysmon). - Updated traces.py to guard imports for optional graph/telemetry modules and provide clear error messages when they are unavailable. - Added new tests in test_recursive_opt.py to validate the trace_type functionality and ensure proper feedback collection from the TraceBenchTaskAdapter.
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.
This PR adds an improved end-to-end approach for graph optimization in Trace, using LangGraph as the initial runtime target but aiming to be generalized to other graph structures.
Current scope:
trace,otel, andsysmonThis is still an early design base and some cleanup/refactoring is expected, but it should already be a useful basis for:
bundleapproach without modifying core primitives yetSuggested entry point for review:
docs/GraphOptimization.mdNO modification of core code => A clean-up/sync is required: some core files are modified just because branch is a little bit out of sync (e.g. utils.py, bundle.py...)