# blurr An AI-first IDE for Polkadot blurr is Polkadot-oriented --> as Polkadot evolves, blurr will evolve and support not only PVM/Solidity with its pre-compiles but also JAM services and whatever else Polkadot has yet to offer in order to empower developers to build complete Web3 solutions on Polkadot. ## Objective 1 Objective 1 will have a strong focus on UI/UX for creating an IDE that is highly useful for developers. The primary screen will be a UI to **interact** with the AI agent: “What would you like to build today?” Use ChatGTP, DeepSeek, and dAppForge as backend for AI agent. Selecting whichever one allows for the best UX experience for the blurr enduser. ### User Stories As a developer I should be able to click a button to either copy the source code or to create a Solidity file from the source code so that I can use the code that I obtain from the AI agent. As a developer I should be able to deploy to Polkadot from blurr so that I can quickly test my code. As a developer, I should be able to open a project and edit/create revisions to existing code with the AI agent so that I can effectively develop my solution. As a developer I should be able to highlight specific sections of the code to indicate exactly what I want the AI agent to focus on. It can also give me in-line feedback and suggestions with the entire file in mind so that I can develop Polkadot Solidity smart contracts effectively. As a developer, I would like to see a sequence diagram view of my Solidity smart contract so that I can quickly see how it works without having to read the code. In this objective, we are essentially building: - an [OpenAI/Canvas](https://openai.com/index/introducing-canvas)-like interface - an effective IDE - Create a new file - Edit a file - Ability to compile PVM Solidity smart contracts - Syntax highlighting - File explorer - “Deploy to Polkadot” button --> deploys to Asset Hub - Developer can ask blurr to generate a diagram view of a Solidity smart contract that is saved in the IDE (under-the-hood blurr uses the AI agent to generate the diagram) UI/UX: 1. AI agent UI prompt and agent output as primary screen 2. Code editor as the secondary screen 3. An excellent sequence diagram view of the Solidity smart contract(s) that are saved in the IDE as a tertiary screen 1. Special colors for pre-compiles vs JAM service vs Solidity code ## Objective 2 Support for complex workflows This objective makes blurr unique, giving it its competitive advantage over [OpenAI/Canvas](https://openai.com/index/introducing-canvas). ### User Stories As a developer, I would like for the AI agent to be intelligent enough to know how to separate concerns across multiple smart contracts versus building a monolith smart contract so that I can build production quality solutions that can scale. > From Objective 1, the AI agent should already be able to suggest multiple Solidity smart contracts e.g. DAO contract, ERC20 contract. However, with this objective, we want to solidify the UX around this and have the AI agent be aware of the existing files/code saved in the IDE. The ability for the AI agent to build composable solutions across multiple Solidity smart contracts versus in one monolithic smart contract. As a developer, I would like for blurr to suggest solutions based on the work that I have already done so that I can build upon already existing work. The ability to take other existing Solidity smart contracts that are saved in the IDE as input for creating new solutions suggesting to either make revisions to existing code or create a new file with code. Example: "Hey Polkadot, I would like to create a DAO where the community members are represented as NFTs." This would output more than one Solidity smart contract. "Hey Polkadot, I would like to increment my existing DAO for community members to be represented as NFTs." This would take in all the files saved in my IDE and output the code that I would need to add to either an existing file or as a new file. As a developer, I would like to see a sequence diagram view of my Solidity smart contract so that I can quickly see how it works without having to read the code. As a developer, I would like to see how my Solidity smart contracts are connected via a diagram view, so that I can quickly see how the solution works without having to read the code. blurr will use the AI agent to generate these diagrams. blurr should caches these diagrams and only re-generate them when the code changes.