Skip to content

Latest commit

 

History

History

README.md

Galculator Computer Use - TypeScript

A Computer Use environment where Claude uses the Galculator GUI to solve math problems, with the MCP server written in TypeScript.

This is a port of galculator-cu-python and demonstrates how to build a Computer Use Taiga environment without depending on the Python taiga-core SDK. The Grade interface is inlined in src/index.ts and ComputerTool in src/computer.ts.

Running this example

Prerequisites:

  • Docker
  • taiga-local-tunnel installed and logged in (from the repo root: uv pip install -e local-tunnel/ && taiga-local-tunnel login)

Build the environment:

cd examples/galculator-cu-typescript
docker build --build-context taiga=../../ --platform linux/amd64 -t galculator-cu-typescript -f Dockerfile .

Then start an interactive session against the hosted Taiga platform:

taiga-local-tunnel start \
  --image galculator-cu-typescript \
  --metadata-file problems-metadata.json \
  --problem-id factorial

This will open a browser where you can watch Claude solve the factorial problem using Galculator. The container is cleaned up automatically when you press Ctrl+C.

Available problems

  • factorial - Compute 20! using the Galculator GUI

Viewing the desktop

To watch Claude interact with the GUI in real-time, you can use VNC (Virtual Network Computing) to view the container's desktop.

When the container is running, you can connect at localhost:6080