> For the complete documentation index, see [llms.txt](https://docs.gm.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gm.ai/introduction/gmai-framework.md).

# gmAI Framework

Fueled by pre-trained AI models that continuously ingests real-time data streams, gmAI arms developers with powerful APIs and SDKs to effortlessly integrate AI capabilities into their dApps.

gmAI consists of 3 main components, each playing a crucial role in its functionality:

* Data
* Decentralized Computing
* Dapps for AI&#x20;

<figure><img src="/files/ZdLgdKpHf2mrJf24phmx" alt=""><figcaption></figcaption></figure>

Equipped with comprehensive understanding and insights into the entire ecosystem of Solana protocols, along with a deep familiarity with their publicly available source codes, gmAI can:

* Answer the most complex and nuanced questions related to Solana & Web3 space
* Execute on-chain swaps on user's command (fully trustless & non-custodial)
* Perform a series of on-chain transactions on a pre-set objective

Example:&#x20;

* Swap from asset A to asset B, stake asset B in protocol X for optimized yield.
* When yield on protocol Y is higher, move staked assets automatically from X to Y.

And pretty much any other possible action, as long as it is on-chain.
