Cookies

With your permission, we use Google Analytics cookies to measure visits and improve the site. Necessary cookies are always on. You can change your choice or withdraw consent anytime in the footer, under Cookie settings. Cookie Policy

Skip to content

Generative Interfaces ·Advanced

AI Financial Coach Agent

About this app

A multi-agent financial coach that analyzes your budget, plans your savings, and builds debt-payoff strategies - rendered as interactive UI cards in a separate report tab. Built with CopilotKit AG-UI and Google's ADK( on top of Next.js.

  • Complete open-source code
  • Step-by-step tutorial

Technical sheet

Category
Generative Interfaces
Difficulty
Advanced
Models
Gemini
Frameworks
Google ADK
Runs locally?
Needs cloud APIs
Required keys
GOOGLE_API_KEY

License Apache-2.0 · content curated and maintained by Doutor AI.

Full tutorial

A multi-agent financial coach that analyzes your budget, plans your savings, and builds debt-payoff strategies - rendered as interactive UI cards in a separate report tab. Built with CopilotKit, AG-UI, and Google's ADK on top of Next.js.

https://github.com/user-attachments/assets/edd4fa8d-ecc5-4b5d-90ff-27b21af5af94

Gen UI concept - tool-rendered components. A top-level coach routes each chat turn to the right tool: update your financial profile from natural language ("my income is $8k"), run a single phase (budget / savings / debt), or run the full Budget→Savings→Debt sequence. Each tool call streams a status pill into the chat while the corresponding card materializes in the report tab.

Prerequisites

  • Node.js 18+
  • Python 3.12+
  • Google Makersuite API Key (for the ADK agent) (see https://makersuite.google.com/app/apikey)
  • Any of the following package managers:
  • npm (default)
  • pnpm
  • yarn
  • bun

Getting Started

  1. Install dependencies (npm, or pnpm/yarn/bun):
npm install
  1. Install Python dependencies for the ADK agent:
npm run install:agent
Note: This will automatically setup a .venv (virtual environment) inside the agent directory.
To activate the virtual environment manually, you can run:
```bash
source agent/.venv/bin/activate
```
  1. Set up your Google API key:
export GOOGLE_API_KEY="your-google-api-key-here"
  1. Start the development server:
npm run dev

This will start both the UI and agent servers concurrently.

Available Scripts

The following scripts can also be run using your preferred package manager:

  • dev - Starts both UI and agent servers in development mode
  • dev:debug - Starts development servers with debug logging enabled
  • dev:ui - Starts only the Next.js UI server
  • dev:agent - Starts only the ADK agent server
  • build - Builds the Next.js application for production
  • start - Starts the production server
  • install:agent - Installs Python dependencies for the agent

Customization

The main UI component is in src/app/page.tsx. You can:

  • Modify the theme colors and styling
  • Add new frontend actions
  • Customize the CopilotKit sidebar appearance

📚 Documentation

From the same category

Generative InterfacesAdvanced

AI Dashboard Canvas Agent

An agent that populates live charts, metrics, and real-time data into a Canvas dashboard instead of just streaming text. Built with CopilotKit, AG-UI,…

  • OpenAI
  • Gemini
Generative InterfacesAdvanced

AI Deep Research Agent

A deep research assistant that plans, searches the web, writes to a virtual filesystem, and renders each tool call as a live card in a workspace pane.…

  • OpenAI
Generative InterfacesAdvanced

AI Knowledge Explorer

Drop files - documents or source code - into a chatbot. The agent extracts entities, concepts, and relationships (or modules, classes, functions, and …

  • OpenAI
  • Claude
  • Gemini

Need a tailor-made solution?

Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.

Save hours every week with AI, no hassle

Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.

See plans