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

# Prompting Guide

> Write effective prompts for chat and multi‑agent workflows; where the system prompt lives.

# Prompting Guide

## System Prompt

* Location: `app/core/prompts.py`
* The agent in `app/core/langgraph/graph.py` injects the system prompt and binds tools.

## Tips

* Be explicit about intent and chain context.
  * “quote 10 USDC to WETH on Base (8453)”
* For research, specify sources and limits.
  * “Graph query: top 5 pools by TVL; Dune query 12345 with params …”
* For execution, include wallet context when adapters require it.
  * “use Thirdweb wallet\_ref=…; chain\_id=8453”
* Keep long‑running operations staged: preview intent → preview quote → risk → execute.

## Example Prompts

* Research: “Get ETH price from Chainlink (Base), TVL for ethereum from DeFiLlama, and latest 10 trending words in sentiment.”
* Trade preview: “Quote 0.01 ETH to USDC on Base; include Chainlink reference; compute risk report.”
* Data check: “Run The Graph query for Uniswap V3 pools(first:2) id + TVL.”
