> For the complete documentation index, see [llms.txt](https://docs.graphcommons.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.graphcommons.com/create/generating-a-graph-with-ai.md). Agents can also search and read this documentation through its [MCP server](https://docs.graphcommons.com/~gitbook/mcp).

# Generating a graph with AI

Graph Commons AI turns what you already have — a prompt, pasted notes, or a list — into a live network: nodes for the actors, edges for the relationships, typed and ready to edit.

### Start from a prompt

Open a new graph and describe the system in one or two sentences. Say what the actors are and what the relationships should show:

> Map the organizations in our regional climate-tech ecosystem: startups, funders, accelerators, universities, and the public agencies they work with. Show funding, partnership, and membership relationships.

Graph Commons AI proposes a network of roughly 30–50 nodes with typed relationships. Nothing is final: every node, edge, and attribute is yours to inspect, correct, and extend.

### Start from pasted notes or a list

Paste the material you keep anyway — meeting notes, a list of partners with their roles, a landscape answer you got from an AI assistant. One actor per line works well for lists; free text works for notes. Graph Commons AI extracts the actors and the relationships it can read, and asks nothing else of you.

Good inputs:

* a list of organizations with what each does and who they work with
* notes from stakeholder interviews
* an AI assistant's answer to "who are the players in X and how are they connected"

### Start from structured data

If your data is already a table, import it with the Graph Commons template (see [*Importing data*](https://docs.graphcommons.com/create/importing-data.md)). Template imports are parsed, not generated, so they use no AI credits.

### What happens next

The graph is live: lay it out, color by type, and open **Insights** to read the structure back (see *Expanding a graph and reading insights*). Generation, expansion, and insight actions use AI credits; most use 10 (see *AI credits*).
