Code with AI
Code with AI writes, audits, and deploys Solidity for you. It has two modes: a Chat that drafts and reviews contracts, and an autonomous Agent that builds and ships a contract end to end.
Chat mode
Describe what you want and the assistant writes production-grade Solidity, or paste an existing contract and ask for a security review (findings are graded by severity). Every generated code block has an Open in Editor button that drops the source straight into the Contract Editor to compile and deploy.
Agent mode
Switch to the Agent tab and describe a contract. The agent then runs the whole build loop on its own, reporting each step inline:
- 1Generate
Writes a complete, secure contract from your request.
- 2Compile
Compiles in the browser and reads the solc output.
- 3Auto-fix
If compilation fails, it rewrites the source and recompiles, up to 5 attempts.
- 4Deploy
Deploys with your connected wallet. When the constructor needs arguments, a form appears pre-filled with sensible values for you to review and confirm before signing.
- 5Record
Saves the deployment to My Projects and links to the DevStation explorer.
Providers
Both modes run against your chosen AI provider. The assistant can use a server-side proxy so your provider key never reaches the browser, or a direct bring-your-own-key path stored only in your browser.
- OpenAI (gpt-4o, gpt-4.1, and more)
- Claude (Anthropic native)
- OpenRouter (one key, many models)
Pick a provider, model, and key in Settings.