# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://graphai-1.gitbook.io/graphai/graphai-platform/graphengine-closed-beta/graphai-lens-create-your-own-sub-graph.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
