SpendMate

Zero-code platform to create AI agents that spend safely with rules and limits.

Visit Repo
SpendMate banner

About

An easy way to create AI agents that can spend money safely. Our platform lets anyone without technical skills, build an autonomous agent, fund it, and define clear spending rules and limits. Users maintain full control, transparency, and guardrails, making autonomous money management secure and accessible.

How it's made

We are building a non-coding management platform for AI agents with integrated blockchain wallet infrastructure. Below is how our system is architected. On the frontend, we use Next.js. The entire application is written in TypeScript for strict type safety. Our UI/UX layer is built on Radix UI primitives, extended with our custom design system using Tailwind CSS. To maintain type-safe component variants, we rely on class-variance-authority, and we use tailwind-merge for composing dynamic classes. For state management, we use TanStack React Query to handle server state, caching, synchronization, and background updates. We complement that with custom React contexts for modals and organization-level state.

Blockchain and AI Agent Integration

One of the pillars of our system is the Coinbase Developer Platform (CDP). We have integrated @coinbase/agentkit v0.10.3 with a suite of action providers, including: CDP EVM Wallet Provider for automatic wallet creation

WETH, ERC20, and Pyth providers for DeFi-related actions

A custom x402ActionProvider that supports payment protocol flows

An AgentKit–LangChain bridge for AI model connectivity

We support multi-chain operations, focusing on the Base network (mainnet and Sepolia), using viem and wagmi for Ethereum interactions.

Database and Backend Architecture

Our backend is powered by PostgreSQL and Drizzle ORM, a choice we made for its strong TypeScript inference and lightweight bundle footprint. Our schema includes: A clients table with CDP wallet mappings, per-agent spending policies, and metadata

An activityEvents table for transaction logging and compliance visibility

Handling for numeric precision aligned with crypto conventions (18- and 6-decimal assets)

The API layer is organized as RESTful routes with well-defined TypeScript interfaces. One notable endpoint, /api/agent/create-new, provisions new isolated AgentKit instances and automatically issues new CDP wallets on demand.

Authentication and Security

Authentication is managed through Privy, using @privy-io/react-auth to support Web3-native login, email-based auth, Google OAuth, and embedded wallet creation. This ensures every user, including those without prior crypto experience, can onboard with a functional wallet. Our policy engine enforces daily spending limits, vendor allowlisting, and converts ETH-denominated policies to Wei using viem’s parseEther to maintain precision.

Technical Innovations and Engineering Challenges Bundle Optimization We introduced custom Next.js configuration to resolve GraphQL-related dependencies bundled within @coinbase/agentkit, which Next.js does not support by default.

Dynamic Agent Provisioning

Each AI agent receives a fully isolated CDP wallet with its own spending policy. This required us to build custom persistence strategies and consistent AgentKit initialization flows.

Mock Service Layer

We implemented a fallback system inside our CdpService. When CDP credentials are not present (for example, in local development), the service provides mock responses, allowing uninterrupted development.

Type-Safe Database Enums

Using Drizzle’s $type<>() casting, we maintain strict TypeScript safety across all enum-based fields.

Development Tooling

Our development workflow uses ESLint, Prettier, Husky, lint-staged, and commitlint for conventions and code quality. The project uses Yarn for consistent, fast dependency management.

Summary

Our platform bridges familiar Web2 interface patterns, forms, tables, dashboards, with Web3 infrastructure for wallets, transactions, and policy control. The result is a clean, intuitive environment for managing AI agents that interact directly with blockchain ecosystems.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

On-chain AI Agent

On-chain AI Agent Platform is combines a sophisticated architecture of AI agents, DeFi mechanics, and cutting-edge Web3 tools to create a fully autonomous fund management platform.

Agent Vault

Give your AI agent a wallet with hard on-chain spending limits. Powered by Sui + DeepBook + ENS.