After 7 days letting AI agents control my email inbox... 📮

2024 ж. 14 Мам.
69 087 Рет қаралды

I built an AI agent to take over my inbox for my past 7 days, sharing my learnings & how I built it
Get free Hubspot research of 100+ ways business are hacking chatGPT today: offers.hubspot.com/using-chat...
🔗 Links
- Follow me on twitter: / jasonzhou1993
- Join my AI email list: www.ai-jason.com/
- My discord: / discord
- Inbox agent GitHub: github.com/JayZeeDesign/inbox...
- AI agent for schedule meetings: www.crafters.ai/ai-meeting-sc...
- Extract email/reply pair from raw email thread (RelevanceAI): app.relevanceai.com/notebook/...
- Extract FAQ from past emails (RelevanceAI): app.relevanceai.com/notebook/...
⏱️ Timestamps
0:00 Intro
1:20 AI draft everything
3:22 How people are hacking chatGPT today
4:20 Train AI with past emails
12:09 Agent branch behaviour
18:38 AI agent for scheduling
👋🏻 About Me
My name is Jason Zhou, a product designer who shares interesting AI experiments & products. Email me if you need help building AI apps! ask@ai-jason.com
#langchain #autogen #gpt4 #autogpt #ai #artificialintelligence #tutorial #stepbystep #openai #llm #chatgpt #largelanguagemodels #largelanguagemodel #bestaiagent #chatgpt #agentgpt #agent #babyagi

Пікірлер
  • What else should I build for this AI inbox agent? Leave some comments!

    @AIJasonZ@AIJasonZ6 ай бұрын
    • If you are interested in the meeting schedule agent - leave your email here and I will send a blog to you: www.crafters.ai/ai-meeting-schedule-agent

      @AIJasonZ@AIJasonZ6 ай бұрын
    • Could you do same agent for Outlook? Thanks. Great videos!

      @mantasvarna@mantasvarna6 ай бұрын
    • @@mantasvarna yes i think you can just change the trigger from gmail to outlook, the actual agent part is the same!

      @AIJasonZ@AIJasonZ6 ай бұрын
    • Could we hire you to build this for our account?

      @Scotty7777@Scotty77776 ай бұрын
    • Hi Jason, amazing video. The whitepaper is really dumb, i am assuming this was a sponsorship, but your video is really high quality. Would love to see how I can create a decision tree based on slack export of over 20 channels in slack, to help my customer care team to do QA

      @SG-tn4wm@SG-tn4wm6 ай бұрын
  • There's so much garbage on KZhead with people taking already published docs and regurgitating it. Nice to see some original content with real use cases and challenges.

    @NoCPU@NoCPU6 ай бұрын
    • The heart has been added by AI.

      @mihi6348@mihi63485 ай бұрын
    • This is another Zapier ad, so I’m not sure how well that applies.

      @parmesanzero7678@parmesanzero76785 ай бұрын
  • I love how your videos are immediately about what's written in the title. No fluff, no redundant stuff, it's great

    @KunjaBihariKrishna@KunjaBihariKrishna6 ай бұрын
  • AI Jason is my _primary_ source of AI coding that is useful and not just copying someone's docs on youtube. We love and admire you man. Thank you.

    @agenticmark@agenticmark6 ай бұрын
  • Your videos are absolutely top-notch! The quality in each one really sets you apart as one of the best content creators in the AI field. I follow your videos religiously :) Keep up the amazing work!

    @pratiksingh3432@pratiksingh34326 ай бұрын
  • jason making json files... nice

    @itstherajchannel@itstherajchannel6 ай бұрын
  • Just popping to say I genuinely appreciate the videos man! You've taught me so much, and it's changing the way I work for the better. Thanks and keep up the amazing work!

    @tamarauriki4685@tamarauriki46856 ай бұрын
  • Man .. I really thought I could go to bed just a little bit earlier today. But, this blew my mind so hard, as has happened before with this channel, and it's soooo much new, very compressed content, that I'll be up until at least 4am again, just trying to reconstruct and comprehend the full video. You rock!

    @CynicalWilson@CynicalWilson6 ай бұрын
  • Goat I love how deep you go into the details and thoughtful process such as knowledge fact faq, which is something embeddings don’t manage so well. Doing the extra step is very important 💪🚀

    @oxy204@oxy2046 ай бұрын
  • This is SUPERB content! Love the in-depth projects you are doing. Maybe taking the business use case one step further with an AI that can negotiate for item prices or project payments, that would be cool.

    @AntonioRonde@AntonioRonde6 ай бұрын
  • Duude! This is Insane , I love the content , simplicity and function , Tahnk you so much Jason

    @Mike-Mansour@Mike-Mansour6 ай бұрын
  • This man never misses legit puts out the most fire content in the space.

    @SaminYasar_@SaminYasar_6 ай бұрын
    • Thanks bro!

      @AIJasonZ@AIJasonZ6 ай бұрын
  • This content is an absolute fire. I am definitely going to use this!!

    @captainlennyjapan27@captainlennyjapan276 ай бұрын
  • Really Impressive Work! Thank You for sharing…

    @AlgoTraderOnline@AlgoTraderOnline6 ай бұрын
  • This is amazing @AIJasonZ. Definetely first step to full assistance automation. Any chance that you will combine some of your video ideas, fx. this one, vision agents, scaling ai automation etc. to create a semi automatic pro assistant?

    @thesvenni@thesvenni6 ай бұрын
  • Love the videos, please do one for scheduling as well 🙏🏽

    @justinabraham77@justinabraham776 ай бұрын
  • Wow this is next level!

    @samfurlong4050@samfurlong40506 ай бұрын
  • Amazing video. Thanks for the valuable materials. I have learnt a lot.

    @nonamekoala@nonamekoala6 ай бұрын
  • excellent example of doing this purely with lookups and prompt context

    @d_b_@d_b_6 ай бұрын
  • Looking forward to this content 🥰🥰

    @captainlennyjapan27@captainlennyjapan276 ай бұрын
  • man you are legend. legit explanation. target audience is clear. You lift up a LOT of work and make it real for a lot of us. Keep them coming

    @MaximeBellefleur@MaximeBellefleur6 ай бұрын
    • need to also say that problem with your videos are that you forget what time it is. so interesting you realize it's already bright outside :)

      @MaximeBellefleur@MaximeBellefleur6 ай бұрын
  • Love your content!

    @user-hy3qk5jx6n@user-hy3qk5jx6n5 ай бұрын
  • Awesome video Jason, very good insights and top notch knowledge your providing, thank you!! Planning on building such an AI agent for my self to answer my e-mails iam getting, but its hard for me bc i dont have an background in tech. especially the programming part looks hard to duplicate but I will try my best.

    @___Madara__@___Madara__4 ай бұрын
  • Jason is my favorite AI KZheadr now

    @tirthb@tirthbАй бұрын
  • Thank you bro you are genius ❤

    @azer0013@azer00136 ай бұрын
  • You are truly excelling in producing remarkable content on your KZhead channel. I stumbled upon your channel just recently and I have to say, I thoroughly appreciate and take pleasure in exploring your content. I eagerly anticipate witnessing your future creations. May you have a fantastic week ahead and continue to excel in your endeavors!

    @PROJECT_936_dot_NET@PROJECT_936_dot_NET6 ай бұрын
  • you are so damn cool. Thank you so much for your content. Keep it up! 👍👍

    @DieAldiMafia@DieAldiMafia6 ай бұрын
  • Thanks for sharing ❤

    @niconico4472@niconico44725 ай бұрын
  • Congrats on the sponsorship!

    @MJFloof@MJFloof6 ай бұрын
  • A version of this AI Agent with MemGPT would be very interesting!

    @NachiketPatelSays@NachiketPatelSays5 ай бұрын
  • You're probably going to want to revoke your Google Search API Key (it was displayed around 17:30). Cheers, thanks for the video!

    @bitter_midnight@bitter_midnight5 ай бұрын
  • Great video! I am interested in the AI agent to schedule meetings

    @fbravoc9748@fbravoc97485 ай бұрын
  • That's is amazing , thank you , can you do a video about using some Open source AI model from Hagging face and extracting relevant information based on my preference and get the info as a CSV file.

    @ahmeddaoudi3547@ahmeddaoudi35472 ай бұрын
  • Thanks!

    @barely3am@barely3am5 ай бұрын
  • This is fantastic! Are you planning on improving on this system further or making it into a service?

    @TweedBeetle@TweedBeetle5 ай бұрын
  • @AIJasonZ awesome video! What was the total cost of training your email manager (and running cost as well)? Which Zapier plan do you use? How much are you paying for Relevance AI to run this?

    @rbatista19@rbatista196 ай бұрын
  • @AIJasonZ - this is really cool. one thought occurred to me; have you thought about prompt injection attacks? how would one avoid that in this sort of situation, since emails and web sites for research would be considered untrusted.

    @edk3539@edk35395 ай бұрын
  • Great content as usual! I wonder if you could make a centralized inbox with Instagram dm, Facebook messenger, WhatsApp and email, and then have something like a custom gpt connected into the flow.

    @TheTuneForge@TheTuneForge7 күн бұрын
  • Hey Jason, Please make a video for the beginners on how to get started in AI & related programming. How would you do it, if you were starting today from scratch? Appreciate your work. Thanks

    @TopgModiG@TopgModiG6 ай бұрын
    • "I can't help but anticipate Jason's advice to be: 'Master Python, am I right AI Jason? 😄 Although I completely lack coding skills, I'm captivated by his videos, fascinated at the possibilities. I'm deeply entrenched in branding, business, design and e-commerce. Hoping to integrate these insights into our ecosystem soon. Excited for what the future holds!"

      @jeremyl9515@jeremyl95156 ай бұрын
  • That's impressive! May I know how long did it take for you to build the entire process?

    @wingyanlee6208@wingyanlee62086 ай бұрын
  • Awesome

    @mosca204@mosca2046 ай бұрын
  • That's one of things I really wanted to do for months, except I didn't ever get to it. Now I've got no excuse not to just follow this tutorial ;P

    @tomaszzielinski4521@tomaszzielinski45213 ай бұрын
  • Dude you have 25, 157 unread emails in your dock!! Better this AI working on the weekends to churn through all of them! HAHA

    @sionsmith@sionsmith6 ай бұрын
  • I was waiting for him to say "Jason JSON" lol

    @danielmayo2@danielmayo25 ай бұрын
  • I'm sure you're working on it, but I would love a video from you about the new Assistants and GPTs that OpenAI released today!

    @LacrosseTarheel3@LacrosseTarheel36 ай бұрын
  • Fantastic

    @veag687@veag6875 ай бұрын
  • This is amazing work, I’m going to try to do this for my wife for her business to help her. Wish me luck, I’ll need it 😂 side note: all of this is accelerating so fast videos I’ve saved a month ago are ancient. We are on the hockey stick. This is happening.

    @amaze2708@amaze27086 ай бұрын
  • You are step by step reverse engineering our brain 😀

    @Dron008@Dron0086 ай бұрын
  • Question: Did you stumble on any adversarial content in emails? I’ve seen a couple of proof of concepts with either Gmail or Google docs integration with ChatGPT, whereby the adversarial content in docs/emails/input hijack the prompt and change the instruction (one was demonstrating data exfiltration, the other targeting [deliberately in this case] flawed function calls) We’re there any “interesting” drafts, like trying to send private info, or any unexpected parameter values in function calls?

    @Will-kt5jk@Will-kt5jk5 ай бұрын
  • i'm sure it loves living in your inbox.

    @user-hc5nh8kv7g@user-hc5nh8kv7g6 ай бұрын
  • Hi amazing vedio but kindly tell me how to automate email AI Agent with zapier

    @usamashakeel9747@usamashakeel97475 ай бұрын
  • Interesting. Your essentially 1) creating translation tables to a degree. Email Inbound x matching Email Outbound and 2) having it sweep through the emails to extract information already available.

    @infobymattcole7724@infobymattcole77243 ай бұрын
  • Great video Jason. One question why did you not directly upload your knowledge base to the assistant?

    @thekushagratiwari@thekushagratiwari5 ай бұрын
    • You mean openai assistant api? I found their RAG not good enough so want extra config

      @AIJasonZ@AIJasonZ5 ай бұрын
  • What about an implementation using autogen and memGPT?

    @j.hanleysmith8333@j.hanleysmith83336 ай бұрын
  • Signed up. But it says I have to wait to receive?

    @magicismagic123@magicismagic1236 ай бұрын
  • is there a comparable app out there with the same level of personalisation that can be connected to ones gmail-account and used out of the box?

    @josephkrpelan1610@josephkrpelan16104 ай бұрын
  • Is this available for outlook/microsoft 365 as well? or can only be done with gmail?

    @adamkhan8419@adamkhan84195 ай бұрын
  • Would you please give us some info about costs of agents per run?

    @pioggiadifuoco7522@pioggiadifuoco75223 ай бұрын
  • How can this solution be productized and scaled? Please can you provide your insights.

    @sameervagal8945@sameervagal89454 ай бұрын
  • Hi Jason, Thanks a lot for this important video. I'm a React developer using your Python code with my email inbox automation. When I command "python mbox_to_csv.py" then generate it and I show "past_email_mbox.csv". but when I command "python email_cleaning.py" it does not generate and I can't show any CSV file, it shows an error [ FileNotFoundError: [Errno 2] No such file or directory: 'past_email_final_mboxt.csv' ], Now how can I fix it. Thanks

    @johuruljoy@johuruljoy4 ай бұрын
  • 13:02 After watching the video multiple times, I found a cameo 😁appearance.

    @captainlennyjapan27@captainlennyjapan276 ай бұрын
  • Can you please do a video for Visual Studio Co, you've skipped a lot of steps and we're lost

    @user-fp3hw4ey2x@user-fp3hw4ey2x4 ай бұрын
  • Pls bring the AI agent scheduler

    @jorgeduardo101@jorgeduardo1016 ай бұрын
  • by any chance, have some of you managed to force answers to be picked from a pre defined list? forcing the answer to be exactly one specific and not chatting around it

    @ThePuddu2@ThePuddu26 ай бұрын
  • Hey Jason, great work I love your vids. I tried to use relevanceai and when I'm using the API I always get a timeout on their end. I had to split my "tool" in multiple api to the point that It wasnt a flow it was just one call to openai so I'm not seeing the value in their tools using the api. Have you encountered such problems? Keep up the great work !

    @hellipps@hellipps6 ай бұрын
    • Hmm that’s weird; would you mind share the tool you created with me?

      @AIJasonZ@AIJasonZ6 ай бұрын
    • sure thing@@AIJasonZ i'll write an email. thanks ! :)

      @hellipps@hellipps6 ай бұрын
    • @@hellippshey what was the solution? Thanks

      @mannyh9824@mannyh9824Ай бұрын
  • Damn Jason how can I purchase this to use 😭

    @mannyh9824@mannyh9824Ай бұрын
  • Unfortunately this is just not possible for my type of job. Answering emails requires often for me to log into Adobe Workfront and cross-reference different projects, or do complicated excel tasks. Wish something like this was applicable to my job. 😢

    @Jump-2-the-moon@Jump-2-the-moon6 ай бұрын
    • Really good insights 😮out of curiosity - what is your job?

      @AIJasonZ@AIJasonZ6 ай бұрын
  • How much does this AI agent cost to run per day? Per email?

    @MichaelParrott@MichaelParrott6 ай бұрын
  • This is quite interesting, however several of my email addresses (with the most interesting content) fall under NDA or trade secrets. I am not sure if or how to extract this knowledge. My personal email has--unsurprisingly--personal emails, which I also don't want to be ingested. I like this solution, but the implications on security and PII are huge and not easily solved for.

    @CrispinCourtenay@CrispinCourtenay4 ай бұрын
  • Is this a use case that auto gen could make better?

    @carterjames199@carterjames1996 ай бұрын
    • I actually tried auto gen for this, and it does actually improve the agent reasoning; however i found is a bit unnecessary as the cost goes up with multi agent systems

      @AIJasonZ@AIJasonZ6 ай бұрын
  • Hi, please help, I can't find the code from 6:14 minute.

    @user-pv6wt4qs1b@user-pv6wt4qs1b2 ай бұрын
  • Hey man, I have no coding knowledge at all, do you think I would be able to replicate this with the scripts you have provided and this video? Either way thanks for this video, really opening my eyes everyday into what is possible out there.

    @kevinrodriguez8814@kevinrodriguez88146 ай бұрын
    • thanks! yes i think you can, just need to update the file names to yours; use chatgpt to help you fix the code!

      @AIJasonZ@AIJasonZ6 ай бұрын
  • Hey Jason, I've modified parts of your code that use GPT to use local LLMs (running mine through mixtral 8x7b) Let me know if youd like me to send over the code or if it'd be useful to anyone else!

    @sludgybeast@sludgybeast4 ай бұрын
    • Hey Sludgy!! Would love access to the code using Mixtral, it's something I wanted to implement myself!

      @jacobferrari-shaikh5436@jacobferrari-shaikh54363 ай бұрын
  • I am interested in AI agent for scheduling meetings.

    @sameervagal8945@sameervagal89454 ай бұрын
  • Thanks a lot for these cool insights and examples! One question: when you described creating a knowledge base out of your previous emails, you vectorise the original message (around kzhead.info/sun/fdqYlZqKq2asin0/bejne.html). Why not vectorise the original message + the answer? Is it possible that new incoming messages could match (by vector) better with the response [part], not the question ("original message")? I build one RAG setup to automate a help desk, and vectorised both the question + answer. I haven't tried vectorising only the question, curious which approach may work better. Thanks again for your work!

    @defaultfallback@defaultfallback6 ай бұрын
    • I wondered this aswell. Thought I must have been missing something.

      @TheCostprice@TheCostprice6 ай бұрын
    • He answers that in pinned post here kzhead.info/sun/lsOnc86kinRnjaM/bejne.htmlsi=vvdYNALTGTfyuVP7 Summary: vector is for searching so only vectorize the questions. Answers are still used to craft responses. Keeps cost down and more effective.

      @michaelpuglisi5108@michaelpuglisi51084 ай бұрын
  • Why not integrating memgpt into the process?

    @Pregidth@Pregidth6 ай бұрын
    • cuz i dont need unlimited memory for this, email threads normally are fairly short

      @AIJasonZ@AIJasonZ6 ай бұрын
  • Can this be done on Microsoft outlook?

    @sameervagal8945@sameervagal89454 ай бұрын
    • Yes, absolutely you can! Just use the outlook API, or zapier

      @AIJasonZ@AIJasonZ4 ай бұрын
  • 😮🎉

    @JepseStream@JepseStream6 ай бұрын
  • After cleaning up the CSV file, i have 3000 sent emails to go through. Is that too big of a database? I think the email cleaning .py is going to be costly

    @jacobferrari-shaikh5436@jacobferrari-shaikh54365 ай бұрын
  • Okay Jin Yang....

    @ianalmeida4759@ianalmeida47595 ай бұрын
  • Yeah I just made a keylogger so I can get my own data to see what I can extract facts about myself ^_^

    @NolenFelten@NolenFelten5 ай бұрын
  • I wonder how I could extract my FB messages because its not turn based like an email is. Friend: Hey! Friend: Whats up! This is msg #2 without reply. Me: Hey! Me: This is not like a gameboy pokemon battle where we... Me: Get turns, its just rapid fire Me: You know.

    @NolenFelten@NolenFelten5 ай бұрын
  • Do you operate in Romanian language?

    @AtelieRdeCuvinte@AtelieRdeCuvinteАй бұрын
  • Learning and usefulness aside I see a big data protection issue.

    @MCroppered@MCroppered5 ай бұрын
  • 99% of emails I get are notifications of some service (shipping, logins, privacy policies), hardly any humans actually send emails… to me at least

    @benaloney@benaloney5 ай бұрын
  • I think u leaked your api key at the function search(query)

    @tikot4280@tikot42806 ай бұрын
    • thanks dude 😂

      @AIJasonZ@AIJasonZ6 ай бұрын
  • The clear advantage of doing this as someone with hard skills, is that we nerds simply don’t get many emails 😅 8.57 mails a day is half an hour for others 🥶

    @dinoscheidt@dinoscheidt5 ай бұрын
    • 😂

      @AIJasonZ@AIJasonZ5 ай бұрын
  • Wow, this could be used in a really bad way. Advanced phishing

    @joshfox2016@joshfox20165 ай бұрын
  • most my email is spam anyways.

    @jasonreviews@jasonreviews5 ай бұрын
  • Is AI Jason even real? Are we sure he is not using a code to deepfake his face and voice to automatically create an AI video?

    @diegofromfinance365@diegofromfinance3654 ай бұрын
  • Oh my Allah 😮

    @semosemo3827@semosemo38275 ай бұрын
  • If people know that most of the emails are generated by AI, why do they still want to read them? Perhaps you need another AI to assist you in reading them efficiently!

    @joeyhuang-tw@joeyhuang-tw6 ай бұрын
  • Short answer, nothing happens

    @Shibis@Shibis6 ай бұрын
  • Lol, how’s that legal? Sendung private emails to OpenAI without consent.

    @TheBluesFiend@TheBluesFiend6 ай бұрын
  • -> I believe we are meant to be like Jesus in our hearts and not in our flesh. But be careful of AI, for it is just our flesh and that is it. It knows only things of the flesh (our fleshly desires) and cannot comprehend things of the spirit such as peace of heart (which comes from obeying God's Word). Whereas we are a spirit and we have a soul but live in the body (in the flesh). When you go to bed it is your flesh that sleeps but your spirit never sleeps (otherwise you have died physically) that is why you have dreams. More so, true love that endures and last is a thing of the heart (when I say 'heart', I mean 'spirit'). But fake love, pretentious love, love with expectations, love for classic reasons, love for material reasons and love for selfish reasons that is a thing of our flesh. In the beginning God said let us make man in our own image, according to our likeness. Take note, God is Spirit and God is Love. As Love He is the source of it. We also know that God is Omnipotent, for He creates out of nothing and He has no beginning and has no end. That means, our love is but a shadow of God's Love. True love looks around to see who is in need of your help, your smile, your possessions, your money, your strength, your quality time. Love forgives and forgets. Love wants for others what it wants for itself. Take note, love works in conjunction with other spiritual forces such as faith and patience. We should let the Word of God be the standard of our lives not AI. If not, God will let us face AI on our own and it will cast the truth down to the ground, it will be the cause of so much destruction like never seen before, it will deceive many and take many captive in order to enslave them into worshipping it and abiding in lawlessness. We can only destroy ourselves but with God all things are possible. God knows us better because He is our Creater and He knows our beginning and our end. Our prove text is taken from the book of John 5:31-44, 2 Thessalonians 2:1-12, Daniel 7-9, Revelation 13-15, Matthew 24-25 and Luke 21. Let us watch and pray... God bless you as you share this message to others.

    @brytonkalyi277@brytonkalyi2776 ай бұрын
  • Nicely done... BUT this is still the most stupid thing ever. First of all, it will contaminate itself after a while by training on mails it sent itself. You should exclude those from training but then it'll be stuck in the past unless you still write mails yourself and train it exclusively on those. Naturally this will bias training more and more to exceptional circumstances (the ones in which you decide for whatever reason to write yourself) and after a while all its mails will sound like dramatised apologies or non-consequential chit-chat or some mix between them but it will no longer sound like the normal "you". We already see that effect all over GenAI - especially visible in pictures which train more and more on things GenAI created rather than actual fotos of real things. As long as AI outputs aren't clearly marked as AI generated (and, proudly, they all try to avoid just that for obvious reasons), this will render GenAI exponentially more useless over time. Secondly - sending an email personally addressed to you off to a cloud based AI system is not just reckless but probably illegal. Thirdly - if you get more mail (communication between humans... still) is more than you can handle because it is oh so tedious and time consuming, you should probably work on your life in more constructive ways than automating your part of it. Lastly - if you really think this is progress and, in the long run, makes you more productive, think again. What will happen is that the "people" you are "communicating" with are using the same "solution"? You'll bombard each other with a rapidly growing mountain of meaningless fluff. Man - go out and touch some grass and do something really useful with your skill.

    @dimitriborcak6698@dimitriborcak66985 ай бұрын
KZhead