# Potpie ## Docs - [API Access](https://docs.potpie.ai/agents/api-access.md): Use the Potpie API to parse repositories, create conversations, and query your codebase programmatically. - [Code Generation Agent](https://docs.potpie.ai/agents/code-changes-agent.md) - [Debugging Agent](https://docs.potpie.ai/agents/debugging-agent.md) - [Codebase Q&A Agent](https://docs.potpie.ai/agents/qna-agent.md) - [Tools Reference](https://docs.potpie.ai/agents/tools-reference.md) - [Ask](https://docs.potpie.ai/build-flow/ask-a-question.md): **Potpie's Q&A interface** - [Build a Feature](https://docs.potpie.ai/build-flow/build-a-feature.md): **Potpie's code generation interface** - [Debug](https://docs.potpie.ai/build-flow/debug-an-issue.md): **Potpie's bug investigation interface** - [Forge](https://docs.potpie.ai/build-flow/forge.md) - [Overview](https://docs.potpie.ai/build-flow/overview.md) - [Recipe](https://docs.potpie.ai/build-flow/recipe.md) - [Specialists](https://docs.potpie.ai/build-flow/specialists.md) - [Trace](https://docs.potpie.ai/build-flow/trace.md) - [Context Commands](https://docs.potpie.ai/cli/context-commands.md): Task-oriented context retrieval and durable learning commands: resolve, search, and record. - [Graph & Operations](https://docs.potpie.ai/cli/graph-and-operations.md): Daemon, services, ledger, graph workbench, timeline, backend, skills, and cloud command families. - [How to Use](https://docs.potpie.ai/cli/how-to-use.md): Practical workflows for onboarding a project, retrieving context, debugging, and working with AI coding agents. - [Installation](https://docs.potpie.ai/cli/installation.md): Install the Potpie CLI, run first-time setup, and verify your environment. - [Integrations & Auth](https://docs.potpie.ai/cli/integrations-and-auth.md): Potpie account auth and provider integrations for GitHub, Linear, Jira, and Confluence. - [Introduction](https://docs.potpie.ai/cli/introduction.md): What the Potpie Context Engine is, what problems it solves, and how it works. - [CLI Manual](https://docs.potpie.ai/cli/manual.md): Complete reference manual for the potpie command-line interface. - [Pots & Sources](https://docs.potpie.ai/cli/pots-and-sources.md): Workspace routing, repo-local defaults, source registration, and ingestion entry points. - [CLI Reference](https://docs.potpie.ai/cli/reference.md): The Potpie CLI command map: setup, context retrieval, integrations, pots, sources, and graph operations. - [Setup & Lifecycle](https://docs.potpie.ai/cli/setup-and-lifecycle.md): Setup, readiness, diagnostics, local identity, UI launch, and local config commands. - [Context Engine](https://docs.potpie.ai/concepts/context-engine.md): How Potpie turns repositories, source history, and durable project memory into a bounded context system for agents. - [Parsing](https://docs.potpie.ai/concepts/parsing.md): With Potpie, you can with ease, parse through repository’s complex source code, build a structured dependency graph & seamlessly capture every symbol along with their relationship. - [Custom Agents](https://docs.potpie.ai/custom-agents/introduction.md): Build an agent with a defined role, goal, and task set that runs against your codebase. - [Auth Flow](https://docs.potpie.ai/examples/auth-flow.md): Understand how authentication works before building a protected endpoint. - [Auth Middleware](https://docs.potpie.ai/examples/auth-middleware.md): Update authentication middleware consistently across every protected route. - [Code Migration](https://docs.potpie.ai/examples/code-migration.md): Migrate a module to a new pattern with full dependency awareness. - [Code Review](https://docs.potpie.ai/examples/code-review.md): Understand exactly what a PR changes across the full codebase before approving it. - [Impact Analysis](https://docs.potpie.ai/examples/impact-analysis.md): Find everything that depends on a service before you change it. - [Memory Leak](https://docs.potpie.ai/examples/memory-leak.md): Trace a memory leak in a long running service to its source across object lifecycle and dependency chains. - [Null Pointer](https://docs.potpie.ai/examples/null-pointer.md): Trace a null pointer exception to its origin across service and data layers. - [Example Uses](https://docs.potpie.ai/examples/overview.md): Real tasks across Ask, Build, and Debug , each grounded in your actual codebase. - [Race Conditions](https://docs.potpie.ai/examples/race-conditions.md): Trace and fix race conditions causing intermittent failures in production. - [Rate Limiting](https://docs.potpie.ai/examples/rate-limiting.md): Add rate limiting to existing routes with full middleware chain awareness. - [Refactor Scope](https://docs.potpie.ai/examples/refactor-scope.md): Map every dependency before touching a shared service. - [Potpie](https://docs.potpie.ai/introduction.md) - [Spec Agent](https://docs.potpie.ai/pre-built-agents/specgen-agent.md) - [Quickstart](https://docs.potpie.ai/quickstart.md): Start using Potpie for your codebase in four steps. - [Local Setup](https://docs.potpie.ai/self-hosting/setup.md): Run Potpie locally on your own infrastructure. - [Configure Custom Agents](https://docs.potpie.ai/tutorials/configure-custom-agents.md) - [Explore Your Codebase](https://docs.potpie.ai/tutorials/explore-your-codebase.md) - [Generate an API Key](https://docs.potpie.ai/tutorials/generate-api-key.md) - [Make Code Changes](https://docs.potpie.ai/tutorials/make-code-changes.md) - [Trace and Fix Bugs](https://docs.potpie.ai/tutorials/trace-and-fix.md)