Skip to content

[Feature] Add LangGraph framework parser for threat modeling #51

Description

@lxcxjxhx

Summary

Add support for parsing LangGraph workflow files (.py) in the threat modeling pipeline.

Problem

Agent-Wiz currently supports Autogen, CrewAI, and Swarm frameworks but lacks LangGraph support. LangGraph is widely used for building stateful, multi-actor agent applications.

Proposed Implementation

  • New file: src/repello_agent_wiz/frameworks/langgraph/mapper.py
  • AST-based parsing for LangGraph-specific constructs (StateGraph, nodes, edges)
  • Extract agent workflows similar to existing framework parsers
  • Add corresponding tests

Use Case

Security teams using LangGraph-based agent systems can automatically generate threat models without manual graph construction.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions