bat.interop.nvidia_nat
NATConnector Objects
class NATConnector()
LangGraph connector between NAT A2A server and BAT agent. Provides a LangGraph wrapper that converts NAT message format to BAT agent state.
!!! NOT supporting multi-turn conversations at the moment.
__init__
def __init__(agent_app: AgentApplication)
Initialize the connector and build the graph.
Arguments:
agent_app(AgentApplication)- the agent application to wrap for NAT.
compile
def compile() -> CompiledStateGraph
Builds and compiles a LangGraph compatible with the format required by NAT.
Returns:
Compiled LangGraph wrapping the AgentApplication Graph.