> ## Documentation Index
> Fetch the complete documentation index at: https://docs.graphify.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The PyPI package is graphifyy, with two y's. The command is graphify.
> /graphify . is typed in an assistant chat, not in a shell.
> Use only commands, flags, and endpoints shown on these pages. Do not invent one.
> Check the current version on PyPI (https://pypi.org/project/graphifyy/) or in https://docs.graphify.com/changelog.md before you describe what shipped.
> The official site is https://graphify.com. These docs are https://docs.graphify.com.
> The local MCP server is the ten tools in the MCP tool reference and reads a graph on the machine. The hosted server is https://api.graphify.com/mcp (Streamable HTTP, OAuth, no API key). The VS Code, JetBrains, ChatGPT, OpenClaw, and Vercel Connect pages use the hosted server, not the ten-tool list.
> Read https://docs.graphify.com/llms.txt, then open one page's .md link. Use https://docs.graphify.com/llms-full.txt only when one page is not enough.

# Your first knowledge graph

> Install Graphify, map your repository, and ask a question about your code.

<div className="not-prose xl:hidden" style={{ marginBottom: 24 }}>
  <Accordion title="On this page" id="quickstart-mobile-outline" className="bg-white">
    <div role="navigation" aria-label="On this page">
      <a href="#install-the-cli" className="no-underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c]" style={{ display: "block", minHeight: 44, padding: "10px 8px", fontSize: 14, lineHeight: "24px", color: "#062314", borderBottom: "none" }}>Install the CLI</a>
      <a href="#connect-your-assistant" className="no-underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c]" style={{ display: "block", minHeight: 44, padding: "10px 8px", fontSize: 14, lineHeight: "24px", color: "#062314", borderBottom: "none" }}>Connect your assistant</a>
      <a href="#map-a-repository" className="no-underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c]" style={{ display: "block", minHeight: 44, padding: "10px 8px", fontSize: 14, lineHeight: "24px", color: "#062314", borderBottom: "none" }}>Map a repository</a>
      <a href="#inspect-the-output" className="no-underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c]" style={{ display: "block", minHeight: 44, padding: "10px 8px", fontSize: 14, lineHeight: "24px", color: "#062314", borderBottom: "none" }}>Inspect the output</a>
      <a href="#ask-a-question" className="no-underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c]" style={{ display: "block", minHeight: 44, padding: "10px 8px", fontSize: 14, lineHeight: "24px", color: "#062314", borderBottom: "none" }}>Ask a question</a>
    </div>
  </Accordion>
</div>

Graphify turns a repository into a graph of its functions, classes, imports, and relationships. Your assistant can query that graph instead of repeatedly scanning the same files.

This quickstart uses the **open-source engine** on your machine. You need Python 3.10 or later and a supported coding assistant. For the hosted product, see [Graphify Cloud](/platform/overview).

<Steps>
  <Step title="Install the CLI" titleSize="h2">
    ```bash theme={null}
    uv tool install graphifyy
    graphify --version
    ```

    `graphify --version` prints the version you installed. The latest release is on [PyPI](https://pypi.org/project/graphifyy/) and in the [changelog](/changelog). The package is **`graphifyy`**, with two y's. The command is `graphify`. You can also use `pipx install graphifyy`.
  </Step>

  <Step title="Connect your assistant" titleSize="h2">
    ```bash theme={null}
    graphify install
    ```

    This installs the Graphify skill for a detected assistant. To choose one explicitly:

    ```bash theme={null}
    graphify install --platform cursor
    ```

    See [all integrations](/integrations/overview) for your assistant’s setup.
  </Step>

  <Step title="Map a repository" titleSize="h2">
    Open a repository in your assistant, then enter this in its chat:

    ```text theme={null}
    /graphify .
    ```

    In Codex, select the Graphify skill with `$graphify` and ask it to map the current repository. This is an **assistant instruction**, not a shell command.

    Code is parsed locally. If the repository includes documents or media, the skill can use your assistant’s model for semantic extraction. For an explicit code-only run, use the [local CLI workflow](/guides/local-development).
  </Step>

  <Step title="Inspect the output" titleSize="h2">
    ```text theme={null}
    graphify-out/
    ├── graph.html        Interactive graph
    ├── GRAPH_REPORT.md   Concepts, communities, and suggested questions
    └── graph.json        The graph used by CLI and MCP queries
    ```

    Open `graph.html` in your browser. Click a node to inspect its connections, or start with the report for a tour of the architecture.
  </Step>

  <Step title="Ask a question" titleSize="h2">
    From a terminal at the repository root:

    ```bash theme={null}
    graphify query "how does authentication reach the database?"
    ```

    Use names from **your graph** to investigate further:

    ```bash theme={null}
    graphify explain "YourService"
    graphify path "YourService" "YourRepository"
    ```

    The names above are placeholders. A path only exists if those nodes and connecting edges exist in your project.
  </Step>
</Steps>

<Columns cols={2}>
  <Card title="Take the full tutorial" icon="route" href="/guides/first-graph">
    Build a small example and follow a real relationship.
  </Card>

  <Card title="Give your agent MCP tools" icon="plug" href="/mcp/overview">
    Expose the graph as structured tools in your editor.
  </Card>
</Columns>

<div aria-hidden="true" data-graphify-site-styles="true" className="hidden [body:has(&)_.chat-assistant-floating-input::before]:!bg-transparent [body:has(&)_#content-container>span[style*=features-bg]]:!bg-cover [body:has(&)_#content-container>span[style*=features-bg]]:!bg-bottom [body:has(&)_#footer_a[href*='linkedin.com']_svg]:!bg-[#0a66c2] [body:has(&)_#footer_a[href*='discord.gg']_svg]:!bg-[#5865f2] [body:has(&)_#footer_a[href*='github.com']_svg]:!bg-[#181717] [body:has(&)_#footer_a[href*='x.com']_svg]:!bg-[#000000] [body:has(&)_#content-container>span[style*=features-bg]]:!opacity-0 [body:has(&)_button]:!rounded-[2px] [body:has(&)_.rounded-xl]:!rounded-[2px] [body:has(&)_.rounded-2xl]:!rounded-[2px] [body:has(&)_.rounded-lg]:!rounded-[2px]" />

<div role="navigation" aria-label="Documentation pages" className="not-prose mt-12 grid gap-4 sm:grid-cols-2">
  <a href="/" rel="prev" aria-label="Previous: Overview" className="group flex min-h-[112px] flex-col justify-center gap-3 rounded-xl border border-[#c7dbd0] !border-b-[#c7dbd0] bg-[#ffffff] px-6 py-5 text-[#062314] no-underline transition-colors hover:border-[#94b6a2] hover:!border-b-[#94b6a2] hover:bg-[#edf6f0] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c] items-start text-left"><span className="flex items-center gap-2 text-[11px] font-medium uppercase tracking-[0.08em] text-[#586b60]"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" aria-hidden="true"><path d="M15 5l-7 7 7 7" /></svg>Previous</span><span className="text-[15px] font-semibold leading-6">Overview</span></a>
  <a href="/installation" rel="next" aria-label="Next: Installation" className="group flex min-h-[112px] flex-col justify-center gap-3 rounded-xl border border-[#c7dbd0] !border-b-[#c7dbd0] bg-[#ffffff] px-6 py-5 text-[#062314] no-underline transition-colors hover:border-[#94b6a2] hover:!border-b-[#94b6a2] hover:bg-[#edf6f0] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#4dea9c] items-end text-right sm:col-start-2"><span className="flex items-center gap-2 text-[11px] font-medium uppercase tracking-[0.08em] text-[#586b60]">Next<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" aria-hidden="true"><path d="M9 5l7 7-7 7" /></svg></span><span className="text-[15px] font-semibold leading-6">Installation</span></a>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.