Week 7

Documents, channels, process and cloud

By Anusheel Bhushan, co-founder of Plank
Documents and spreadsheets, chat channels beyond the web, the process model under the agent, and the first deployments to a neo-cloud and a major cloud from Terraform.

What the week builds toward

WorkBot reads invoices, contracts, letters and spreadsheets. It answers on Slack, WhatsApp and SMS, with iMessage documented behind an SMS fallback. Every operation runs on an explicit execution model, with queues and events. WorkBot is packaged to deploy on a neo-cloud and on a major cloud. Its infrastructure is Terraform, changed through a plan, review and apply pipeline.

The 5 days

  1. Day 31

    Documents and spreadsheets: PDF, DOCX, XLSX and large tables

    Send a document to the model as the file or as its text, read Word and Excel files, and answer questions about tables too large for a prompt with SQL.

    You ship: A document intake service for PDF, Word and Excel files, with accuracy and cost measured for each path to the model.

  2. Day 32

    Multi-channel chat: web, SMS, WhatsApp, iMessage and Slack

    One assistant and one store of conversations across the web, SMS and WhatsApp through Twilio, and Slack, with iMessage documented behind an SMS fallback.

    You ship: WorkBot's assistant on 4 channels (web, SMS, WhatsApp and Slack) with shared conversations, delivery callbacks and retries.

  3. Day 33

    Process lifecycle: queues, pub/sub, SSE, WebSockets and serverless

    File every operation as a request, a stream, a job or a workflow, then build the queues, events and streams each one needs within the limits of serverless.

    You ship: A processing layer with a fair queue, dead letters, versioned events and streams across 2 instances, load tested with 500 jobs.

  4. Day 34

    Cloud services: AWS, GCP, Azure and the neo-clouds

    The services an AI product needs on each major cloud, the neo-clouds (managed platforms such as Vercel, Supabase and Neon) as the alternative, and how to choose for a customer.

    You ship: WorkBot as two container images on a stack shaped like a major cloud, with deployment steps for a neo-cloud and a major cloud, cost estimates and a recommendation.

  5. Day 35

    Infrastructure as code: Terraform and deployment targets

    The deployment as Terraform on Cloud Run, Kubernetes and an Azure VM, recreated from nothing on a local cluster, and changed through a pipeline.

    You ship: WorkBot's infrastructure as Terraform on 3 targets, through a plan, review and apply pipeline, with a demonstrated rollback.