Harness chat

Open In Colab

This Colab notebook walks through build a chat harness, bind tools, and run a chat loop against your memory. Click the badge above to open an editable copy in your own Google Drive.

Setup — one time

Generate an API key at app.areev.ai → Account → API Keys. Inside Colab, open the 🔑 Secrets panel (left sidebar) and add two entries:

NameValue
AREEV_API_KEYyour Areev API key
AREEV_MEMORY_IDthe memory id the notebook should target (e.g. my-first-memory)

Toggle Notebook access ON for both. The notebook reads them via google.colab.userdata so the key never appears in the notebook itself.

What’s covered

  • Create a harness
  • Bind tools (Action grains)
  • Run the chat loop with SSE streaming
  • Tool calling (Flow A — Areev-driven)
  • Inspect harness activity

Run it

Open the notebook in Colab →