Skip to content

Build a Workspace Agent with Claude

Category Claude for Work & Life
Status ๐ŸŸก Partially completed
Repo nextwork-build-a-workspace-agent-with-claude
Original NextWork guide nextwork.ai

Learning project

Practice work following a NextWork guide, separate from my production projects.

๐Ÿ“š NextWork learning project. This is a practice project I built while working through NextWork's Build a Workspace Agent with Claude guide. It is part of my Learning portfolio and is fully separate from my production projects.

Category: Learning โ€บ Claude for Work & Life
Status: ๐ŸŸก Partially completed

Overview

Giving an assistant a standing brief (who it is, what it does, what it must never do) makes it safer to hand it real requests. I tested whether one sentence could become several drafts and whether the assistant would confirm it sent nothing.

Summary

Gave a local chat stand-in a name, a job and limits (Pip, an admin helper for a made-up photographer who never sends or shares anything), then turned one sentence into a calendar entry, a shot list and booking-sheet rows, checked every draft, and asked for a short phone catch-up. Partial: no Claude Pro, no Google apps, no voice or mobile app, and the model made one booking row instead of three and left the date blank.

The checks behind this are in docs/verification.txt.

Skills & tools

Prompt engineering, Iterative prompting, Python, Local LLMs (Ollama)

What I built

  • chat.py: a small local stand-in for the vendor's chat app. It has saved conversations you can rename, list and reopen, custom instructions, a memory file read by every new chat, and artifacts saved as files. It runs on qwen2.5:3b through Ollama. test_chat.py covers it offline.
  • session.json: my own prompts for a made-up person (none copied from the guide), run with python chat.py run session.json, which writes docs/transcript.md.
  • docs/transcript.md: the assistant brief, the one-sentence request, the three kinds of drafts, the approval check and the phone-length catch-up.
  • docs/review.md: my review of how the run went, including what the model got wrong.

How to run

# needs Ollama with qwen2.5:3b
python chat.py run session.json      # replays my prompts, writes docs/transcript.md
python chat.py list | python chat.py show <id>
python -m pytest -q test_chat.py

Verification

I ran the verification command on 2026-12-03. The full output is in docs/verification.txt.

/workspace/nextwork-portfolio/.venv/bin/python -m pytest -q -p no:cacheprovider test_chat.py && test -s docs/transcript.md && grep -q 'Lindqvist' docs/transcript.md && echo CHAT OK

What isn't done, and why

This doesn't use Claude with Google Workspace or its account: the app is a local stand-in and the model is qwen2.5:3b, which is much weaker than the vendor's model. Features that only exist in the vendor's product aren't reproduced. No calendar, Docs or Sheets are written, there's no voice input, and the phone catch-up is just a short reply in the same chat.


Original project: https://nextwork.ai/projects/a4408ba1-a181-4936-ab81-c217cc0b5f73 ยท Part of my NextWork Learning portfolio (hub).

Verification output

From docs/verification.txt:

$ /workspace/nextwork-portfolio/.venv/bin/python -m pytest -q -p no:cacheprovider test_chat.py && test -s docs/transcript.md && grep -q 'Lindqvist' docs/transcript.md && echo CHAT OK

...                                                                      [100%]
3 passed in 0.02s
CHAT OK

[exit code 0]