Skip to main content
Ask answers natural language questions about the codebase. It queries the knowledge graph using inference to surface relationships, flows, and patterns. When a query involves a third-party library or external API, Ask retrieves the relevant documentation via web fetch.

Getting started

1

Ask your question

Type a natural language question about the codebase. Ask handles flow tracing, dependency mapping, and pattern analysis.Chat interface
2

Review the response

Potpie returns an answer with exact file paths and line references for every claim.Response in progressCompleted response with citations
Follow up questions in the same session retain full context, so Ask can narrow from a broad overview to a specific function without re-establishing context.

Question types

TypeResponse
Tracing flowsFull component sequence from entry point to output, with file paths and line references at each step
Mapping dependenciesEvery class, function, and module that imports or calls the target, organized by dependency type
Pattern analysisEvery instance of the pattern across the codebase with code citations

Using the API

The Create Conversation and Message endpoint opens a session against a parsed project and returns a cited, markdown formatted answer in a single call.

Example uses