Mateo is an AI-powered chat agent built using Cloudflare's Agent platform. It's designed to be an assistant to boyfriends, able to make dinner reservations for dates, order their girlfriends favorite coffees, jot down important dates like anniversaries, and more.
Mateo is still being developed. Future commits will build out the agent's abilities by integrating with API's from StarBucks, Spotify, etc.
https://mateo.noahschell.workers.dev/
With a cloudflare account and an OpenAI Key, follow these steps
- Clone the repository
- Install dependencies
> npm install- Set up your environment:
Create a
.dev.varsfile:
OPENAI_API_KEY=your_openai_api_key
MATEO_FACTS_VAR=your_kv_namespace_id- Setup environment secrets
> npx wrangler secret bulk .dev.vars- Run locally:
> npm run start├── src/
│ ├── app.tsx # Chat UI implementation
│ ├── server.ts # Chat agent logic
│ ├── tools.ts # Tool definitions
│ ├── utils.ts # Helper functions
│ └── styles.css # UI styling
Please reference the starter template I built off of: Build a Chat Agent
MIT