Veranda

Veranda Claude

Veranda Claude is a conversation with Claude, Anthropic's AI model, on the X16. You type a question; Claude's answer appears as it is written. It can save code from the answers as files, even as BASIC programs the X16 can run.

A conversation

It works in two ways:

  1. With an Anthropic API key (paid by use), through the Wi-Fi modem. This needs Zimodem with ATCS (see Network setup).
  2. With your claude.ai plan, through Claude Code on your PC and a small bridge program. The X16 is then only the screen and the keyboard.

Way 1: an API key

  1. Make a key at console.anthropic.com (Settings, API keys).
  2. Start Veranda Claude. The first time, it opens Settings.
  3. Server: Anthropic API. Type the key (shown as stars), or paste it with Ctrl+V. Press Return.
Settings

Easier: write the key on the card from a PC, as a line in /VERANDA/.SYSTEM/CLAUDE.CFG:

key=sk-ant-api03-...

The key is kept there as plain text. Anyone with your card can use it and spend your money.

Way 2: Claude Code on your PC (a claude.ai plan)

A claude.ai subscription is for Anthropic's own apps, such as Claude Code. So Veranda Claude talks to your own Claude Code on a PC.

  1. On a PC where Claude Code (claude) is installed and signed in, with Python 3, copy PC/claude_bridge.py from the card and run:
    python3 claude_bridge.py --password something-long

    It listens on port 8642 and prints the PC's address.

  2. In Veranda Claude: Settings, Server Claude Code on my PC, the PC's address (for example 192.168.1.20:8642), Tab, the same password, Return.

The status bar then says "on my PC". Claude Code runs with every tool off: the X16 cannot make the PC run a command or read a file. The connection is plain TCP: the password and the conversation cross your home network unencrypted, and the password is kept as plain text in CLAUDE.CFG.

Settings with Claude Code on my PC

python3 claude_bridge.py --help lists its options.

Talk

The menus group their items with dotted lines and show the keys at the right.

MenuItems
Veranda ClaudeAbout Veranda Claude; Quit (Ctrl+Q)
FileNew conversation (Ctrl+N), Chats... (Ctrl+L); Export as text... (Ctrl+S); Quit (Ctrl+Q)
SettingsServer, key and model...; Claude Opus 5.5, Claude Sonnet 5.5, Claude Haiku 5.5 (the one in use marked *); Conversation..., Compact conversation
CodeCopy last code block (Ctrl+K), Save last code block... (Ctrl+E), Go to code block...; Copy last reply; Attach a file... (Ctrl+Shift+A)
The Settings menu

Code in answers

Code in an answer is shaded. Its first row shows the language and buttons:

The Code menu: Copy last code block (Ctrl+K), Save last code block... (Ctrl+E), Go to code block..., Copy last reply, Attach a file... (Ctrl+Shift+A).

Code with Copy, Save and Save .PRG

Attach a file

Attach (the toolbar) sends a file from /DOCUMENTS with your next question: plain text, a Veranda Write .cwr (its text only), or a BASIC .PRG (made into text). Up to 12 KB. The answer's new version of the file can be saved back over it with [Save...]. For example: attach GAME.PRG, ask Claude to fix line 30, save over the file, run it.

To run a saved BASIC program: quit to BASIC (see BASIC and back) and type LOAD"/DOCUMENTS/GAME.PRG" and RUN.

Chats

Every conversation is saved after each turn in /DOCUMENTS/Chats/Claude (one .chat file per chat). File > Chats... (Ctrl+L) lists the 16 newest: Open (go on with it), Rename, Delete, New. No key or password is ever written into a chat file.

Chats

What a question costs

The API remembers nothing between questions: each question sends the whole conversation again. A long conversation costs more each time. The status bar shows each turn's tokens ("in 1,484 (cached 34) out 42"), and with an API key an estimate in dollars (only an estimate: the bill is Anthropic's).

To keep it small (Settings > Conversation...):

Errors

Limits

This page is also in the wiki, and on the X16 (the desktop's Veranda > Help).