Skip to content

nSchell4/cf_ai_mateo

Repository files navigation

Mateo: Your Trustee Wingman

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.

Run Via Deployed Link

https://mateo.noahschell.workers.dev/

Run Locally

With a cloudflare account and an OpenAI Key, follow these steps

To run...

  1. Clone the repository
  2. Install dependencies
> npm install
  1. Set up your environment: Create a .dev.vars file:
OPENAI_API_KEY=your_openai_api_key
MATEO_FACTS_VAR=your_kv_namespace_id
  1. Setup environment secrets
> npx wrangler secret bulk .dev.vars
  1. Run locally:
> npm run start

Project Structure

├── src/
│   ├── app.tsx        # Chat UI implementation
│   ├── server.ts      # Chat agent logic
│   ├── tools.ts       # Tool definitions
│   ├── utils.ts       # Helper functions
│   └── styles.css     # UI styling

Reference

Please reference the starter template I built off of: Build a Chat Agent

License

MIT

About

Mateo is an AI-powered chat agent built using Cloudflare's Agent platform.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors