chapter ten

10 Building an AI assistant: putting the platform to work

 

This chapter covers

  • Designing a personal AI assistant using our platform services
  • Adding memory, knowledge, tools, safety, and observability incrementally
  • Implementing the agent loop that coordinates reasoning, retrieval, and action
  • Applying context engineering to assemble the right information for every request
  • Deploying the complete application with the Workflow Service

Every platform service we’ve built solves a piece of the AI application puzzle. The Model Service generates responses. The Session Service remembers conversations. The Data Service retrieves organizational knowledge. The Tool Service calls external systems. The Guardrails Service enforces safety policies. The Observability Service tracks what happens. The Experimentation Service measures improvement. The Workflow Service deploys and scales it all. What we haven't done yet is build a complete application that weaves these services together from start to finish. That's what this chapter is about.

10.1 The blueprint

10.2 The simplest assistant: a model call in a workflow

10.3 Teaching Claw to remember conversations

10.4 Long-term memory: remembering across sessions

10.5 Grounding Claw in reality: knowledge retrieval and agentic RAG

10.6 From conversation to action: tools and the agent loop

10.7 Safety: guardrails at every step

10.8 The prompt that makes it all work: context engineering

10.9 The complete agent loop

10.9.1 Streaming the response

10.10 Seeing what Claw does: observability

10.11 Making Claw better: experimentation

10.12 Deploying Claw

10.13 What the platform gave us

10.14 Summary