camel-ai / camel

🐫 CAMEL: Finding the Scaling Law of Agents. A multi-agent framework. https://www.camel-ai.org
https://docs.camel-ai.org/
Apache License 2.0
5.47k stars 676 forks source link

[Feature Request] Try GraphRAG with codebase #782

Open Wendong-Fan opened 2 months ago

Wendong-Fan commented 2 months ago

Required prerequisites

Motivation

Solution

https://arxiv.org/abs/2408.03910 https://github.com/modelscope/modelscope-agent/tree/master/apps/codexgraph_agent

Alternatives

No response

Additional context

No response

Odysseusailoon commented 2 months ago

You mean graphRAG with code analysis? I have explored this one https://www.falkordb.com/blog/code-graph/ The code and docs quality are average, but the approach is worth to learn

Wendong-Fan commented 2 months ago

Hey @Odysseusailoon , Thanks for sharing! It's quite good material that we can learn from.

Asher-hss commented 6 days ago

Here are the two implementation approaches currently under consideration:

Based on reference materials, attempt to independently construct all the relevant content and relationships between classes and functions within the codebase.

Use repopack-py to first generate agent-readable XML-format documents, and then utilize Camel's graph agent to create the relationship network. However, this approach might encounter token limitation issues.