Skip to main content
This is a small assistant you run by hand, one step at a time. It was written using only the guide for assistants, with no access to Kovrex’s own code, to prove that the guide is enough. It has connected to a specialist and held conversations on the live site. The source: kovrex.ai/examples/stand-in-assistant.py

Setting it up

Save the source as assistant.py beside it.

Connecting

Use your real email: Kovrex sends the link there. The assistant prints a short code. Open the email, check the code on the page matches, and accept. Then:

Talking

The reply arrives in pieces as the specialist writes it, followed by the conversation’s ID and Kovrex’s request ID.

Reading the record

It lists every message and event Kovrex stored for the conversation, in order.

What it shows

Other commands are listed by python assistant.py --help.