> For the complete documentation index, see [llms.txt](https://docs.frequencychain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frequencychain.org/13.-ai-integration-and-intelligent-systems/13.4-ai-integration-workflow-for-developers.md). Agents can also search and read this documentation through its [MCP server](https://docs.frequencychain.org/~gitbook/mcp).

# 13.4 AI Integration Workflow for Developers

From a developer perspective, integrating AI into an application involves a structured workflow.

The process begins with identifying the data inputs required for the application. These inputs may include blockchain data, energy metrics, or user activity. The data is then processed through an AI system, which generates outputs such as predictions, classifications, or optimization parameters.

These outputs are then submitted to the blockchain through transactions or oracle mechanisms, allowing smart contracts to consume and act upon them.

This workflow ensures that AI remains an off-chain computation layer, while the blockchain serves as the source of truth for execution and state changes.
