How termidy/ccar-f-practice works
This repository is course practice material, not one integrated ShopAssist application: learners run independent lesson scripts or use offline notebooks that simulate the Claude SDK. The main documented paths cover chat, extraction and validation, tool use, and agent patterns; evaluation and Claude Code exercises are separate capabilities. Edges reflect README-documented execution or the explicit validation import; source excerpts do not establish broader runtime connections.
Main entry points: build_extract.py Return extraction · first_request.py First request · conversation.py Conversation · app.py Chat server
Components 33
API practice scripts
- First request
shopassist/first_request.py - Conversation
shopassist/conversation.py - Prompt and rules
shopassist/rules.py - Prompt evaluation
shopassist/evaluate.py - Tool calls
shopassist/tool_call.py - Structured extraction
shopassist/extract.py - Output validation
shopassist/validate.py - Return extraction
shopassist/build_extract.py - Agent loop
shopassist/agent_loop.py - Tool errors
shopassist/tool_errors.py - MCP server
shopassist/mcp_server.py - Support agent
shopassist/agent.py - Coordinator
shopassist/coordinator.py
Offline lab simulators
- Agent-loop lab
labs/lab_agentic_loop/shopassist_lab.py - Chat-server lab
labs/lab_chat_server/shopassist_lab.py - Conversation lab
labs/lab_conversation/shopassist_lab.py - Coordinator lab
labs/lab_coordinator/shopassist_lab.py - Evaluation lab
labs/lab_evaluation/shopassist_lab.py - Return-extraction lab
labs/lab_extract_returns/shopassist_lab.py - First-request lab
labs/lab_first_request/shopassist_lab.py - Human-review lab
labs/lab_human_review/shopassist_lab.py - Model-settings lab
labs/lab_model_settings/shopassist_lab.py - Structured-output lab
labs/lab_structured_output/shopassist_lab.py - Support-agent lab
labs/lab_support_agent/shopassist_lab.py - System-prompt lab
labs/lab_system_prompt/shopassist_lab.py - Tool-call lab
labs/lab_tool_call/shopassist_lab.py - Tool-errors lab
labs/lab_tool_errors/shopassist_lab.py - Validation lab
labs/lab_validation/shopassist_lab.py
User interfaces
- Chat server
shopassist/app.py - Chat UI
shopassist/static/index.html
Other components
- Learner
- Claude API
- Sample emails
shopassist/emails
Connections 35
- Learner → First request: runs
README.md - Learner → Conversation: runs
README.md - Learner → Chat UI: opens
README.md - Chat UI → Chat server: talks to
README.md - Learner → Prompt and rules: runs
README.md - Learner → Prompt evaluation: runs
README.md - Learner → Tool calls: runs
README.md - Learner → Structured extraction: runs
README.md - Learner → Output validation: runs
README.md - Learner → Return extraction: runs
README.md - Return extraction → Sample emails: reads
README.md - Return extraction → Output validation: imports
shopassist/build_extract.py - Learner → Agent loop: runs
README.md - Learner → Tool errors: runs
README.md - Learner → MCP server: runs
README.md - Learner → Support agent: runs
README.md - Learner → Coordinator: runs
README.md - First request → Claude API: calls
README.md - Conversation → Claude API: calls
README.md - Chat server → Claude API: uses
README.md - Agent-loop lab → Learner: practices
README.md - Chat-server lab → Learner: practices
README.md - Conversation lab → Learner: practices
README.md - Coordinator lab → Learner: practices
README.md - Evaluation lab → Learner: practices
README.md - Return-extraction lab → Learner: practices
README.md - First-request lab → Learner: practices
README.md - Human-review lab → Learner: practices
README.md - Model-settings lab → Learner: practices
README.md - Structured-output lab → Learner: practices
README.md - Support-agent lab → Learner: practices
README.md - System-prompt lab → Learner: practices
README.md - Tool-call lab → Learner: practices
README.md - Tool-errors lab → Learner: practices
README.md - Validation lab → Learner: practices
README.md