Deploy a Convex Actor
SkillCloud & infraDeploy an actor (smart contract) to the Convex network. Use when the user wants to create a new on-chain actor with exported functions.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Deploy a Convex Actor skill
What this skill tells your AI
The instructions your AI receives, as published by convex-dev/convex in .agents/skills/deploy/SKILL.md and read by ahel’s review.
Actors are autonomous on-chain programs with their own address, state, and callable functions.
See the convex-lisp skill for CVM conventions and error codes. Deploying is a
transaction, so it needs a key the user has supplied — see transact.
Actor Structure
A typical actor deployment:
(deploy
'(do
;; Internal state (private to the actor)
(def counter 0)
;; Callable functions: mark each with ^:callable so it can be
;; invoked from outside the actor via (call ...)
(defn ^:callable increment []
(set! counter (+ counter 1))
counter)
(defn ^:callable get-count []
counter)))
Key Rules
deployreturns the new actor's address (e.g.#12345)- Only functions tagged with
^:callablemetadata can be called from outside (there is noexportform). The equivalent map form is^{:callable true} - Use
set!to update an existingdeffrom inside a function; plaindefs declared in the actor body are private state - Actors have their own
*address*and*balance* - Use
(set-controller #ADDR)inside the actor to set who can upgrade it deployalso accepts a vector of code forms, which is how library builders are composed into one actor:(deploy [(@convex.fungible/build-token {…}) (@convex.fungible/add-mint {…})])
After Deployment
- Note the returned address for the user
- Optionally register a CNS name:
(*registry*/create 'my.actor.name #NEW-ADDR)— needs control of the parent namespace; see thecnsskill - Test by calling a
^:callablefunction:(call #NEW-ADDR (get-count))
Workflow
- Help the user design the actor based on
$ARGUMENTS - Write the Convex Lisp source
- Deploy using
transactwith the(deploy ...)expression - Verify the deployment with a test query
Signals
- GitHub stars
- 117
- Forks
- 47
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
deploy-convex-dev- Source
- github.com/convex-dev/convex