CLAUDE
> Anthropic API client for DOS.
NetISA suite app. Anthropic API client for IBM PC compatibles. Chat mode and agent mode. Conversation history saved to disk. Stub backend for development; live API requires the NetISA card’s TLS path. Builds clean under Open Watcom V2; 8088 is the floor.
Status
2026-04-25. v0.1. Builds clean under Open Watcom V2 at 30 KB. Source migrated to claude/ at the NetISA repo root.
Features
- Chat mode: prompt + scrollable conversation + message compose.
- Agent mode: stream of tool calls + thinking blocks when the API surfaces them.
- VGA splash on launch.
- Conversation history saved to disk.
- Stub backend for development without a NetISA card.
Source layout
Lives at claude/ in the NetISA repo.
src/main.c: entry point.src/claude.c: session state.src/chat.c: chat mode UI.src/compose.c: message editor.src/agent.c: agent mode UI.src/splash.c: launch splash.src/stub_claude.c: stub backend.../lib/screen.c: shared suite library.
Building
Hardware
Suite context
One of nine NetISA suite apps. Shared screen lib at /lib/screen.c, shared INT 63h API at /lib/netisa.h. Cmdline conventions match the rest of the suite.
Notes
The Anthropic API endpoint is HTTPS. CLAUDE talks to it via the NetISA card’s TLS session API. The DOS host never sees the encrypted bytes. Token streaming arrives line-by-line for the chat UI to render incrementally.
The agent mode is the more interesting one for a vintage machine: tool calls and thinking blocks render as discrete UI events, which fits a slow text-mode UI better than a wall of streamed prose. A 286 can keep up with the rendering even when it cannot keep up with reading.