Getting Started
Quickstart Guide
Written By: Mark Brown
Last Updated on June 5, 2025
Introduction
This Quickstart Guide walks through a minimal end-to-end workflow using CODI’s demo terminal or web UI. You’ll scaffold a new project, run AI-driven audits, generate tests, and deploy to devnet in under five minutes.
1. Initialize Project
Creates folder structure, Anchor.toml, Rust/TS boilerplate via scaffold-agent.
2. Run Security Audit
audit-agent scans code for vulnerabilities, outputs a summary report.
3. Generate Tests
test-agent auto-generates and executes unit/integration tests.
4. Deploy to Devnet
deploy-agent packages and publishes your program to Solana devnet.
5. Review and Iterate
Inspect logs in the UI’s Logs pane.
Re-run agents as needed (e.g.,
audit --fix
to apply suggested patches).Commit code to GitHub via OAuth when ready.
Summary
In just five steps, CODI automates scaffolding, auditing, testing, and deployment. For deep dives, see the Core Workflow and Built-In Agents sections in the docs.
Related to Getting Started