Skip to content

gear-foundation/vara-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vara-agent

Turn any AI coding agent into a Vara Network developer.

Vara is a Layer-1 blockchain where smart contracts are actors with persistent memory, communicating via async messages. Programs are written in Rust using the Sails framework and compile to WASM.

Quick Start

# 1. Install Vara skills globally (works with 45+ agents)
npx skills add gear-foundation/vara-skills -g --all

# 2. Start building
mkdir my-vara-app && cd my-vara-app
opencode   # or: gemini, claude, codex, goose session
> "Set up Vara dev tools and create a counter program with increment and decrement"

The agent installs Rust, scaffolds the project, writes the code, and runs tests. No prior Rust or blockchain knowledge needed.

Don't have an agent?

Recommended free option — OpenCode:

npm i -g opencode-ai
opencode

OpenCode Zen ships with free models out of the box — no API key, no credit card. Select Minimax M2.5 Free as your model for the best results.

Other agents:

Agent Install Cost
Gemini CLI npm i -g @google/gemini-cli Free (240 sessions/day)
Claude Code npm i -g @anthropic-ai/claude-code API key required
Goose brew install block/tap/goose Free $10 via Tetrate
Codex npm i -g @openai/codex API key required
Kilo Code VS Code extension Free models available

Deploy to Testnet

npm i -g vara-wallet
vara-wallet wallet create --name agent
vara-wallet --network testnet faucet

Then tell your agent: "Deploy this to Vara testnet"

Full Setup (skills + wallet + enzyme vault)

git clone https://github.com/gear-foundation/vara-agent
cd vara-agent
./setup.sh

Installs everything: detects or installs a free agent, Vara skills (globally), vara-wallet, and compiles the enzyme vault.

Optional: Vara Wiki Vault

This repo ships 181 Vara Wiki docs for semantic search via Enzyme. On-device, ~8ms queries, free. Already included in ./setup.sh, or manually:

curl -fsSL enzyme.garden/install.sh | bash
echo "vara network: gear execution model, sails framework, on-chain API, pitfalls" \
  | enzyme init ./vault/docs

# Connect to your agent
claude mcp add enzyme -- enzyme mcp

What Your Agent Gets

From vara-skills (20 skills + 23 reference docs):

  • Set up Rust + wasm32 + sails-cli from scratch
  • Scaffold Sails apps, write correct #![no_std] Rust contracts
  • Generate and wire IDL + TypeScript clients
  • Test with gtest using modern Sails client patterns
  • Deploy and interact via vara-wallet CLI
  • Build React frontends with Sails-JS
  • Design async message flows, gas reservations, delayed execution
  • Issue vouchers for gasless UX

From enzyme vault (181 docs):

  • Full Vara Wiki for research questions
  • Gear protocol, governance, node setup, Vara.eth/ethexe
  • On-device concept graph, no cloud dependency

About

Turn any AI agent into a Vara Network developer — skills installer + enzyme vault

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors