feat: add hdp-autogen middleware for AutoGen (Python + TypeScript)#9
Open
asiridalugoda wants to merge 4 commits intomainfrom
Open
feat: add hdp-autogen middleware for AutoGen (Python + TypeScript)#9asiridalugoda wants to merge 4 commits intomainfrom
asiridalugoda wants to merge 4 commits intomainfrom
Conversation
Add HDP delegation provenance middleware for Microsoft AutoGen with full Ed25519 + RFC 8785 cryptographic chain support. Python package (hdp-autogen): - HdpMiddleware with configure() for ConversableAgent and GroupChatManager - Speaker turns recorded as delegation hops, tool calls checked against scope - Offline verify_chain(), ScopePolicy, strict mode, max_hops enforcement - 32 tests covering all 5 design considerations TypeScript package (@helixar_ai/hdp-autogen): - HdpAgentWrapper for stateful agent message flows - hdpMiddleware functional wrapper (observe/required modes) - OpenAI-compatible HDP_TOOLS for AutoGen function calling - 14 tests covering wrapper, middleware, and tool schemas Addresses microsoft/autogen#7485 discussion on trust-boundary testing gaps in multi-agent frameworks.
…autogen - Add test-hdp-autogen job to ci.yml (Python 3.10/3.11/3.12 matrix) - Add full release pipeline to release.yml: test → vet → publish for both hdp-autogen (PyPI) and @helixar_ai/hdp-autogen (npm) - Add tag trigger: python/hdp-autogen/v* - Add AutoGen packages to README: packages table, install section, quickstart with GroupChatManager example, badges, releasing section - Fix TypeScript onSpeakerTurn() to catch signing errors non-blocking, matching the Python middleware's error handling pattern
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
hdp-autogenPython package withHdpMiddlewarefor AutoGen'sConversableAgentandGroupChatManager@helixar_ai/hdp-autogenTypeScript package withHdpAgentWrapper,hdpMiddleware(), andHDP_TOOLSDesign
configure()auto-detects ConversableAgent vs GroupChatManagerauthorized_tools+ strict modeTest plan