How Senior Engineers Build AI Agents (7 Tips)
π Trigger: https://tgr.dev/LMujWlA (sponsored) π Trigger 7 tips: https://tgr.dev/OA31AQy π Work with me: support@bytegrad.com π React & Next.js Course: https://bytegrad.com/courses/professional-react-nextjs π Professional JavaScript Course: https://bytegrad.com/courses/professional-javascript π Professional CSS Course: https://bytegrad.com/courses/professional-css π Web development roadmap & newsletter: https://email.bytegrad.com π Discord: all my courses have a private Discord π Original article by Katia Bulatova and Eric Allam at Trigger.dev: https://trigger.dev/blog/seven-tips-for-building-better-chat-agents π Open-source example: https://github.com/triggerdotdev/examples/tree/main/trigger-chat-agent TIMESTAMPS 00:00 Build better AI agents 00:37 An agent that survives a refresh 01:12 Trigger.dev & durable agents 02:05 1. Make the first reply fast 03:49 2. Compaction & accurate token counting 05:10 3. Set sensible retry limits 05:51 4. Resumable streams & incoming messages 07:35 5. Version your prompts 09:24 6. Give your agent better tools 11:24 7. Evals & observability 12:38 Bonus: Slack & webhooks 13:23 Code walkthrough #aiagents #triggerdev #typescript Note that these videos may contain mistakes. Always verify yourself that your code is safe and does what you want it to do for your specific situation. ByteGrad and any of its affiliated people are not responsible for mistakes in code. This channel and all its content is owned & operated by ByteGrad Sp. z o.o. with Tax ID: PL6762676561 and KRS-number: 0001125554