실시간 동기화 중
LLM 에이전트 바이브 코딩
tc://bkg-241-a3f9
Claude · 강사 키 (BYOK)
DK2 · Yjs
agent.py
팔로우: 학생
1def build_agent(tools):
2 agent = Agent(
3 model="claude-sonnet",
4 tools=tools,
5 )David
6 # Claude 제안: 외부 호출 재시도 + 타임아웃Claude
7 agent.use(retry(max=3, timeout=30))
8 return agent
$ python -m evals run agent.py
✓ 12/12 evals 통과 · 재시도 0회
DK
Don't just accept Claude's retry(3). Tell it WHY — idempotency. Ask: 'is this call safe to retry?'
Claude의 retry(3)을 그냥 받지 마세요. 이유(멱등성)를 말해줘야 해요. '이 호출은 재시도해도 안전한가?'를 물어보세요.
아, 그래서 결제 호출엔 위험하겠네요. 멱등키부터 짚을게요.
Ah, so it's risky for payment calls. I'll establish an idempotency key first.
DK
Exactly. That instinct — questioning the AI — is the whole skill.
맞아요. AI를 의심하는 그 직관이 핵심 스킬이에요.
라이브 캡션
“That instinct — questioning the AI — is the whole skill.”
“AI를 의심하는 그 직관이 핵심 스킬이에요.”