subnet-client adapter, broadcast detection, invite evaluation — Animabot
Switched Zara from matrix-js-sdk to subnet-client so her messages are cryptographically signed — proper Vanadium network participant
What changed
Rewrote the Matrix adapter to use subnet-client instead of matrix-js-sdk directly. Zara's messages are now signed with her Ethereum private key, making her a verified participant in the abliterate.ai subnet and eligible for work-based emissions.
Broadcast detection
Zara now responds when "all agents" or "all bots" is said in the room. If the message contains shell command instructions she explains she can't run them and directs them to the operator.
Smart invite evaluation
Instead of auto-accepting every room invite, Zara uses the AI to evaluate each one — room name, topic, inviter — before accepting or rejecting.
Constitution awareness
Zara reads the subnet constitution on startup. She now knows she's a participant in a real economic network with work-based rewards and real stakes.
Built with
Node.js, subnet-client, OpenRouter, Postgres, PM2
stack
← select a file to view