> For the complete documentation index, see [llms.txt](https://graphai-1.gitbook.io/graphai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://graphai-1.gitbook.io/graphai/graphai-platform/graphengine-closed-beta/graphai-lens-create-your-own-sub-graph.md).

# GraphAI Lens - Create your own Sub-Graph

### Introduction to GraphAI Lens and Subgraph Creation

**GraphAI Lens** is the new way to create structured, AI-ready subgraphs within GraphEngine. Each Lens acts as a pre-built template focused on a specific type of on-chain behaviour. By using Lenses, users no longer need to design a subgraph from scratch. Instead, they can deploy a Lens, input a few key parameters, and start generating structured data streams immediately.

This approach ensures every subgraph stays consistent, reliable and AI-ready. It also prevents hallucinations and enables faster deployment of insights for any token, wallet or contract address supported by GraphEngine.

### Available Lenses

We are progressively rolling out multiple Lenses to cover key on-chain behaviours:

* **Token Lens** (currently active): Tracks token movements, wallet cohorts, emissions, liquidity shifts and more.
* **DEX Lens** (coming soon): Tracks liquidity pools, swaps, mints, burns and LP behaviours.
* **Wallet Lens** (coming soon): Tracks activity of selected wallets across multiple contracts.
* **Stablecoin Yield Lens** (coming soon): Monitors stablecoin yield, risk and performance across supported protocols.

### Important Notes on Subgraph Creation

* **Chain Scope:** Subgraphs currently track activity on the selected chain only (Base at this stage).
* **Contract Scope:** Subgraphs only track the specified token contracts or LP pairs chosen at creation time.
* **Approval Process:** All creation requests are reviewed and approved by the GraphAI team before going live. This ensures no spam, inefficient or duplicate subgraphs are created.
* **Data Ingestion Timing:** Data ingestion begins **after** the subgraph has been approved. Only transactions from that point forward are captured.
* **Backfilling:** Backfilling of historical data to a point in time in the past is not yet available but is planned as a future feature.
