Zhaoling Chen efe287ce34
integrate LocAgent into OpenHands (#7371)
Co-authored-by: czlll <gangda@huaihe.usc.edu>
Co-authored-by: Hoang Tran <descience.thh10@gmail.com>
2025-05-23 22:42:58 +07:00
..

LocAgent Framework

This folder is an implementation of Locagent. It is based on (LocAgent, tweet), a framework that addresses code localization through graph-based representation. By parsing codebases into directed heterogeneous graphs, LocAgent creates a lightweight representation that captures code structures and their dependencies, enabling LLM agents to effectively search and locate relevant entities through powerful multi-hop reasoning.

Built-in Tools

The agent provides several built-in tools:

  1. search_code_snippets
  2. get_entity_contents
  3. explore_tree_structure