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.
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.
![]()
Where to look in the code
src/client/App.tsxโ chat UI + side panelsrc/server/index.tsโ Express routessrc/server/support-agent.tsโ the tool-calling loop you'll instrument in02-tracingsrc/server/tools.tsโ tool definitions andexecuteTool(...)src/server/support-data.tsโ Dad's fixed context + guide librarysrc/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?