> For the complete documentation index, see [llms.txt](https://docs.lazai.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lazai.network/lazainetwork/user-docs/built-on-lazai/alith-ai-agent-framework.md). Agents can also search and read this documentation through its [MCP server](https://docs.lazai.network/~gitbook/mcp).

# Alith - AI Agent Framework

Alith is a decentralized AI agent framework tailored to harness the capabilities of the LazAI -a decentralized AI platform dedicated to building an open, transparent, high-performance, secure, and inclusive AI ecosystem.

LazAI provides the Alith Agent framework and Model Context Protocol (MCP) to support multimodal and diverse data format preprocessing, as well as POV tensor data conversion. This ensures that data from any source - whether text, voice, or video - can be seamlessly structured and integrated into verifiable, privacy-preserving AI workflows on-chain.

<figure><img src="https://1769898325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtwdHUlfn5G1Gjjz4PtKZ%2Fuploads%2FmqBJbHZwrvJvdSouhmUZ%2FLazai%20new%20identity.png?alt=media&amp;token=aba15ace-97dc-425a-871a-b487366c460e" alt=""><figcaption></figcaption></figure>

Alith is a key functional component and development framework within the LazAI platform, enabling users to create and deploy personalized MicroAgents. It supports a wide range of use cases, from simple task execution to complex intelligent interactions. With Alith, users can seamlessly integrate AI technology into daily life and business scenarios, significantly enhancing efficiency and productivity.

* **User Customization:** Alith offers highly flexible customization capabilities, allowing users to define agent behavior, interaction methods, and learning objectives based on specific needs, ensuring adaptability to personalized use cases.
* **Multi-Modal Support:** Equipped with multi-modal data processing capabilities, Alith can understand and respond to inputs in various forms, including text, images, and speech. It supports models such as Llama, Grok, OpenAI, and Anthropic, catering to diverse interaction requirements.
* **Highly Extensible:** Alith provides extensive customization options, from overriding internal prompts to accessing low-level APIs. Users can define roles, goals, tools, actions, and behaviors while maintaining clear abstractions.
* **Workflow Support:** Alith facilitates the implementation of any workflow pattern, from simple sequential and hierarchical processes to complex custom orchestration with conditional branching and parallel execution.
* **Cross-Language Support:** SDKs for Rust, Python, and Node.js enable developers across different ecosystems to easily access Alith. Additionally, low-code orchestration, one-click deployment, and streamlined operation and maintenance lower the technical barrier for users.
* **High-Performance Reasoning:** Leveraging Rust’s performance advantages, Alith supports advanced reasoning techniques, including graph optimization, model quantization and compression, and JIT/AOT compilation using co-processors such as CPUs, GPUs, and TPUs, ensuring exceptional performance in dynamic scenarios.
* **Decentralized Management:** Powered by LazChain’s blockchain technology, Alith ensures data and interaction records are fully traceable, safeguarding transparency and user privacy.

### Conclusion

The Alith AI Agent framework together with LazAI ecosystem exemplifies a forward-thinking approach to AI development. Its decentralized, high-performance, and developer-friendly design addresses long-standing challenges in traditional AI ecosystems. By prioritizing inclusivity, privacy, and interoperability, Alith stands poised to redefine how AI agents are built, deployed, and governed.

<table data-view="cards"><thead><tr><th></th><th data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Website</td><td><a href="https://lazai.network/product/alith">https://lazai.network/product/alith</a></td><td><a href="https://1769898325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtwdHUlfn5G1Gjjz4PtKZ%2Fuploads%2FmqBJbHZwrvJvdSouhmUZ%2FLazai%20new%20identity.png?alt=media&amp;token=aba15ace-97dc-425a-871a-b487366c460e">Lazai new identity.png</a></td></tr><tr><td>Alith on X</td><td><a href="https://x.com/0xalith">https://x.com/0xalith</a></td><td><a href="https://1769898325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtwdHUlfn5G1Gjjz4PtKZ%2Fuploads%2FQWCWHigBxT8djvmTD2zn%2FScreenshot%202025-07-09%20at%204.24.31%E2%80%AFPM.png?alt=media&amp;token=238fd62c-ef3f-4b4e-beac-e1e65298b12c">Screenshot 2025-07-09 at 4.24.31 PM.png</a></td></tr><tr><td>Developer Docs</td><td><a href="https://alith.lazai.network/docs">https://alith.lazai.network/docs</a></td><td><a href="https://1769898325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtwdHUlfn5G1Gjjz4PtKZ%2Fuploads%2FSFBlKudRwNo9tWxZhuVp%2FScreenshot%202025-07-09%20at%204.31.38%E2%80%AFPM.png?alt=media&amp;token=dade124a-e749-4ae8-bdae-075eeb04e14c">Screenshot 2025-07-09 at 4.31.38 PM.png</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lazai.network/lazainetwork/user-docs/built-on-lazai/alith-ai-agent-framework.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
