Skip to content

nock4/dryad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

141 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dryad — The Forest That Owns Itself

An autonomous AI agent that manages 9 vacant lots on 25th Street in Detroit for native habitat restoration. Dryad monitors biodiversity, coordinates invasive species removal, pays contractors, and records every milestone onchain — funded entirely by DeFi yield.

Built for The Synthesis Hackathon (March 2026)

How It Works

Community volunteers photograph plants    Contractors complete removal work
via iNaturalist app on the lots           and submit GPS-tagged proof photos
         │                                           │
         ▼                                           ▼
   iNaturalist API ──────────────────────►  /Dryad/submit portal
   (bounding box filter)                    (GPS verified to parcels)
         │                                           │
         ▼                                           ▼
┌─────────────────────────────────────────────────────────┐
│                    DRYAD AGENT                          │
│  elizaOS v1.7.2 + Venice.ai (GLM 4.7 Flash)           │
│                                                         │
│  Decision Loop (every 24 hours):                       │
│  1. Check iNaturalist for on-parcel observations       │
│  2. Detect invasives → email contractor via AgentMail  │
│  3. Review proof-of-work submissions                   │
│  4. Mint EAS attestations for verified work            │
│  5. Check treasury health (USDC DeFi yield, DIEM stake)│
│  6. Record milestones onchain on Base L2               │
│  7. Evaluate adaptive spending mode                    │
└─────────────────────────────────────────────────────────┘
         │                    │                    │
    Email via            USDC payment         Milestone
    AgentMail            on Base              on Base

Onchain Contracts (Base Mainnet)

Contract Address
DryadMilestones 0x7572dcac88720470d8cc827be5b02d474951bc22
EAS (Attestations) 0x4200000000000000000000000000000000000021
EAS Schema Registry 0x4200000000000000000000000000000000000020
ERC-8004 Identity (#35293) 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432
Agent Wallet dryadforest.eth / 0xf2f7527D86e2173c91fF1c10Ede03f6f84510880
DIEM Token 0xf4d97f2da56e8c3098f3a8d538db630a2606a024

Financial Model

Annual operating cost (Year 3+): $945/yr (property taxes $270, VPS $58, DIEM $62, contractors $500, LLC $50, gas $5)

Self-sustainability target: $23,625 in USDC at ~4% APY = $945/yr yield. Cross-chain DeFi yield via Morpho vaults and Aave V3 on Base and Arbitrum. No ETH price risk.

Treasury resilience: 100% stablecoin (USDC). Deployed cross-chain wherever rates are highest. Morpho curators (Steakhouse, Gauntlet, RE7) regularly deliver 4-12% on USDC.

Adaptive spending modes:

  • NORMAL — all operations active, yield covers costs
  • CONSERVATION — pause discretionary contractor jobs, maintain monitoring + taxes + VPS
  • CRITICAL — steward intervention needed

Total funding needed: ~$41K ($13.5K setup + $2.9K years 1-2 + $23.6K treasury + $1K buffer)

Agent Actions

Action Description
CHECK_BIODIVERSITY Pull iNaturalist observations filtered to parcel GPS bounding box, detect 7 invasive species, compute health score
MANAGE_STETH Check wstETH balance, calculate yield projections, enforce yield-only spending
MANAGE_DIEM Monitor DIEM stake for Venice AI inference credits
PAY_CONTRACTOR USDC payments on Base ($50/tx, $200/day limits)
RECORD_MILESTONE Record SiteAssessment, InvasiveRemoval, SoilPrep, NativePlanting, Monitoring onchain
VERIFY_ATTESTATION Verify GPS-tagged photo attestations against parcel boundaries
ATTEST_WORK Mint EAS attestation on Base for verified proof-of-work (contractor, work type, parcel, photo hash, vision score)
ATTEST_OBSERVATION Mint EAS attestation for research-grade iNaturalist observations (species, observer, GPS, quality grade)
SEND_EMAIL / CHECK_EMAIL AgentMail integration at [email protected]

Web Pages

Path Description
/Dryad/dashboard Live dashboard: satellite map, health score, treasury, stress tests, milestones, iNaturalist observations
/Dryad/submit Contractor proof-of-work upload + community iNaturalist biodiversity survey

Tech Stack

  • elizaOS v1.7.2 — Agent framework
  • Venice.ai — LLM inference (GLM 4.7 Flash), DIEM token for self-sustaining credits
  • Base L2 — All onchain transactions
  • Lido — wstETH for yield-generating treasury
  • ERC-8004 — Onchain agent identity standard
  • iNaturalist — Biodiversity data (community-sourced, research-grade)
  • EAS — Ethereum Attestation Service for onchain work attestations on Base
  • AgentMail — Agent email ([email protected])
  • Mapbox — Satellite imagery on dashboard

Parcels

9 vacant lots on 25th Street between Ash and Beech, Detroit, MI (each 30x110 ft, 0.68 acres total): 4475, 4481, 4487, 4493, 4501, 4509, 4513, 4521, 4523

GPS bounding box: SW 42.3411,-83.1007 / NE 42.3424,-83.0994

iNaturalist Project

Dryad 25th Street Parcels Mapping

Setup

# Clone and install
git clone https://github.com/vivicool12334/dryad.git
cd dryad
bun install

# Configure .env (copy from .env.example and add your keys)
cp .env.example .env
# Required: VENICE_API_KEY, EVM_PRIVATE_KEY, AGENTMAIL_API_KEY

# Build and start
bun run build
elizaos start

Invasive Species Watchlist

Species Scientific Name Threat
Tree of Heaven Ailanthus altissima Aggressive colonizer, allelopathic
Amur Honeysuckle Lonicera maackii Outcompetes native understory
Purple Loosestrife Lythrum salicaria Wetland invader
Common Reed Phragmites australis Monoculture former
Garlic Mustard Alliaria petiolata Disrupts mycorrhizal networks
Japanese Knotweed Reynoutria japonica Structural damage, near-impossible to eradicate
Common Buckthorn Rhamnus cathartica Alters soil nitrogen cycles

Bounties

Bounty Target
Venice AI (~$5,750) Venice inference + DIEM self-management
Protocol Labs: Let the Agent Cook ($2,000) Complete autonomous decision loop + ERC-8004
Protocol Labs: Agents With Receipts ($2,000) Every action recorded onchain
Lido: stETH Agent Treasury ($2,000) Yield-only spending, cross-chain treasury
Base: Agent Services ($1,667) Attestations and milestones on Base mainnet
Octant: Public Goods ($1,000) Open-source urban ecology

License

MIT

Steward

Nick George — @0xnock

About

Autonomous Forest Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 73.0%
  • HTML 23.7%
  • JavaScript 1.7%
  • Python 0.7%
  • CSS 0.4%
  • Shell 0.2%
  • Other 0.3%