Skip to main content
The following examples are complete, copy-paste runnable programs. Each example demonstrates a specific Vibes feature set - start with Hello World and work your way up.

Hello World

The simplest possible agent - 5 lines

Weather Agent

Tools + external API + structured output

Chat App

Multi-turn conversation with Vercel AI frontend

Bank Support

Canonical Pydantic AI teaching example ported to TypeScript

RAG

Retrieval-augmented generation with tool-based vector search

Graph Workflow

Multi-step FSM pipeline using BaseNode and Graph

Human-in-the-Loop

End-to-end deferred tool approval flow

A2A

Two agents communicating via the A2A protocol