> For the complete documentation index, see [llms.txt](https://dosui.gitbook.io/dosui/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dosui.gitbook.io/dosui/dosgpt-ai-and-utilities/dosgpt-ai-bot/1.-prompt-guide-and-ideas/b.-analyze-and-explain-code.md).

# B. Analyze & Explain Code

## Introduction to DOSGPT

DOSGPT is a revolutionary new way to make smart contracts and code accessible to non-developers. Using advanced AI-driven technology, DOSGPT can audit any code, program, or smart contract within seconds and explain what each function / smart contract is meant to do. Furthermore, DOSGPT has developed a browser extension called "Dev Assist," which helps users with live web3 transactions and explains what they are about to agree to before they confirm the transaction.

### How DOSGPT Works

DOSGPT uses AI-driven technology to scan any code, program, or smart contract. Once the scan is complete, DOSGPT provides a clear, concise explanation of what each function / smart contract is supposed to do. This makes it extremely easy for non-developers to understand the purpose and function of a smart contract.

### Example

To demonstrate the power of DOSGPT, we asked it to explain the ‘BSCValidatorSet’ contract on Binance Smart Chain. In seconds, we received a clear, concise response. Here’s the reaction from DOSGPT:

"BSCValidatorSet is a smart contract that allows users to manage validator sets on Binance Smart Chain. It allows users to add, remove, and view validator sets and query the current validator set."

### Conclusion

DOSGPT is a revolutionary AI-driven blockchain technology that helps make smart contracts and code accessible to non-developers. With DOSGPT, users can audit any code, program, or smart contract within seconds and understand what each function / smart contract is supposed to do. Furthermore, the "Dev Assist" browser extension helps users with live web3 transactions and explains what they are about to agree to before they confirm the transaction. This makes DOSGPT a game-changer for non-programmers in the blockchain world, allowing them to fully understand what they decide to do in a smart contract.
