03
Agents SDK Agents SDK Agents SDK
Ship agent có state Ship a stateful agent Ship agent មាន state
Agent stateful: memory, schedule task, WebSocket realtime. A stateful agent: memory, scheduled tasks, and realtime WebSockets. Agent មាន state៖ memory, កំណត់ពេល task, WebSocket realtime។
Sau bài Agents ở Phần 5. Phần 6 (Durable Objects) giải thích state theo object phía sau SDK. After the Agents lesson in Part 5. Part 6 (Durable Objects) explains the per-object state behind the SDK. បន្ទាប់ពីមេរៀន Agents នៅផ្នែក 5។ ផ្នែក 6 (Durable Objects) ពន្យល់ state តាម object ខាងក្រោយ SDK។
- 01 Agent starter: tools và schedule Agent starter: tools and scheduling Agent starter៖ tools និងការកំណត់ពេល Tạo agent, xem tool có sẵn, đọc cách schedule task. Create an agent, inspect the bundled tools, read how tasks are scheduled. បង្កើត agent មើល tool ភ្ជាប់មក អានវិធីកំណត់ពេល task។ 20 phút 20 min 20 នាទី
- 02 Clone repo Agents và build Clone the Agents repo and build Clone repo Agents និង build Clone source, npm install, build — sẵn sàng sửa tool / memory. Clone the source, npm install, build — ready to change tools or memory. Clone source, npm install, build — រួចរាល់កែ tool / memory។ 20 phút 20 min 20 នាទី