Launch Week 5 ยท Day 1: Experiments in CI/CD โ†’
Workshop01 Base App
WorkshopLessons01 Base App

01 Base App

Workshop source

Workshop material is maintained in the public langfuse/langfuse-workshop repository. Use the repository for the runnable app, checkpoint branches, and local setup.

View this Markdown file

The base app is already in the repo. Nothing to build in this chapter โ€” just orient yourself before tracing starts in 02-tracing.

What the running app does

  • Dad himself is the user. Specs (the agent) talks directly to him about his iPhone.
  • One OpenAI tool-calling loop. Two local tools (get_support_context, search_help_library).
  • The system prompt is rendered locally from src/server/support-agent.ts. No Langfuse yet.

How Specs handles a ticket โ€” one agent, two tools, one model, each hop an observation in the trace.

Where to look in the code

  • src/client/App.tsx โ€” chat UI + side panel
  • src/server/index.ts โ€” Express routes
  • src/server/support-agent.ts โ€” the tool-calling loop you'll instrument in 02-tracing
  • src/server/tools.ts โ€” tool definitions and executeTool(...)
  • src/server/support-data.ts โ€” Dad's fixed context + guide library
  • src/server/support-agent.ts โ€” system-prompt template

Bonus

You can customize your experience by changing the phone specs in support-data.ts file. Adding your dad's phone information means, you will get replies for the right type of phone.

End state

You are ready to start 02-tracing.


Was this page helpful?