Skip to main content

Example Queries

Common questions to ask your AI agent with ArchGraph connected.

Finding code​

"What functions call parseData?"

"Show me all classes that inherit from BaseExtractor"

"Find all functions named validate* in Python files"

Understanding architecture​

"Show the class hierarchy for the auth module"

"What modules does api/routes.py depend on?"

"Give me an overview of the project structure and main components"

Impact analysis​

"What would break if I changed the authenticate function?"

"Show the blast radius for func:src/auth.py:validate:42"

"What functions are affected by changes to the database module?"

Security​

"Find all security-sensitive functions (input sources, dangerous sinks)"

"Are there any known vulnerabilities in the project dependencies?"

"Show me all functions that handle user input without validation"

Recent changes​

"What changed in the last week and what's the impact?"

"Show me recently modified functions and their callers"

Raw queries​

"Run this Cypher query: MATCH (f:Function) WHERE f.name CONTAINS 'auth' RETURN f.name, f.file"

"How many nodes and edges are in the graph for this repo?"