This is an demo application to show how to build a ChatGPT-like Agentic Chatbot with OCI Agent Hub.
Step 1: Clone this repo to local.
Step 2: Set environment variable in .env.development.local
mv env.development.local.example .env.development.localStep 3: Run the development server:
pnpm install
pnpm devStep 4: Open http://localhost:3000 with your browser to see the result.
- OCI Agent Hub (for Responses API and Conversations API)
- Next.js (for full-stack application)
- AI SDK (for model integration in Next.js)
- Shadcn (for foundational UI components)
- AI Elements (for AI related UI elements)
- SQLite (for local database)
- Turso (for SQLite in the cloud)
pnpm create next-app@latest agenthub-demo --yes
pnpm add --save-dev --save-exact prettier
pnpm add --save-dev eslint-config-prettier
pnpm add zod
pnpm dlx shadcn@latest init
pnpm dlx shadcn@latest add sidebar
pnpm add ai @ai-sdk/react @ai-sdk/openai
npx ai-elements@latest