Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 802 Bytes

File metadata and controls

24 lines (15 loc) · 802 Bytes

codex-test

This repository contains a small example of an email assistant inspired by Pete Koomen's essay on AI-native software. The assistant processes a list of dummy emails and applies simple rules to label messages, draft short replies and optionally archive spam.

Command line usage

Run the assistant with Python:

python3 email_assistant.py

The output shows the actions the agent would take for each email.

Web UI

A minimal Flask app provides a simple interface with a "Go" button on the left and the processed emails on the right. Draft replies are generated for each email and you can edit them before hitting Send. Install Flask and run:

pip install Flask
python3 web_app.py

Then open http://localhost:5000 in your browser.