Hello everyone. So it looks like the projector doesn't work, so I'm just gonna dry talk this. So we're Pamir AI, P-A-M-I-R dot AI, you can just look it up. So we are a small startup at San Francisco, so we specialize at just bridging AI and hardware, put it together, try to use that to help other people to build hardware. So this talk is mainly about how we use that to enable one of the villages in DEF CON, and how do we power there. It's a biohacking village, so I'm gonna talk about how is that gonna enable medical-related stuff. Yeah, so the company is built by just me and my co-founder. I used to work at Microsoft and Qualcomm, so that's how we know how to handle the AI and hardware part of stuff. So how do we run AI model today, right? For any model that's larger than 70 billion parameter, like whatever you use on chat GPT is huge models, you can only host it at a GPU cluster, which we probably don't have it at home. So most of the people that use the model are ranging like 13 billion parameter to 30 billion parameter. You can run that on a really good MacBook or like a Mac Studio size of hardware, which is still very expensive. And then you can drop that down to like 0.5 billion parameter to 7 billion parameter, those kind of stuff. You can probably run on a very good phone and you can get a decent result out of it, but it's not gonna be as smart as chat GPT, right? So that kind of leads where our company started. What about embedded system? You know, there's a lot of hardware stuff is built on a single board computer, like Raspberry Pi, Arduino, ESP32, those kind of stuff, no one's building a local AI for that, right? So that, but fortunately in the past half a year, there's a lot of progress in the open source community made. Like there's model called Quinn, Q-W-E-N, you can look it up. And also Lama, they released a 1B model to a 3B model. And a lot of stuff done by Hugging Face, it's called a small LLM, S-M-O-L-L-L-M. They released a lot of three billion parameter to four billion parameter model that's also really good. Also Google has one particular model called Gemma, that's also a performance very well. So thanks to the open source community, we now have a small enough model that we can squeeze into an embedded system. So that's where our company start to mess around, prototyping those kind of stuff. So I tried some of the model on Raspberry Pi so you don't have to. Around one billion parameter, you can get like okay-ish communication going. Like it's not very smart, it's kind of like talking to a 10 years old. It can tell story back to you. So that's that. But when you get it to like two billion parameter, it can start to make like JSON type of request. So it started getting useful. Once the model reached three to four billion parameter, it's starting to get very reliably calling like a Python function. So that's where we start to collaborate with Spell Hacking Village. We made this badge that's built on a Raspberry Pi 5. If you want to get it, you can check out at the Spell Hacking Village booth. So essentially we miniaturized inference engine into a badge form factor and we can make it to control real sensor and do simple medical QA. So there's like four LED on the badge. You can talk to it and it will try to rationalize what kind of color you want. And make a Python request to turn on those RGB LED. And the funny thing is when you say, I want to write a green or blue color, it was able to very reliably recognize those comments. However, if you say, I want a pink or purple, which require reasonability, the model start to not getting it, right? Because they cannot one-shot it. It's a RGB combination. So they have to think, okay, what's the combination for pink, right? It's probably like 100 for red, then 50 for green. So that's where the small models start to become not so smart. So sometimes it give you a wrong color, but we know it's smart enough to control simple sensors. Like if you give it a moisture sensor or just like a simple, I don't know, IR sensor, it can probably help you to use that, right? And I really encourage everyone to check an open source model called MedGemma, M-E-D, Gemma. It's an open source model made by Google. They made a lot of interesting research on that model. They use it to do clinical reasoning for medical records and just general medical knowledge answering. We actually put a four billion parameter model into this Raspberry Pi. So it's not like hyper accurate, but yesterday someone came by and asked like how much of antibiotics medicine I should give to a two years old. So he kind of gave back an answer in terms of milligram, and that's kind of in a correct range. So we were surprised, okay, it definitely knows more medical stuff than me, but I think that's good enough for like a doomsday device part. Also, Google mentioned they use it to do X-ray, chest X-ray report generation, and it turns out it's pretty decent. So I encourage everyone to check that out. So what if, so we know with a small model, we can get that far. So what if we put like just like chat GPT or isotropic, those huge model to enable them on the device, what's gonna happen, right? So imagine we put, I know if anyone here is a technical, like I use cursor, those kind of AI IDE to code every day. So imagine we put that into embedded system. So what's gonna happen is you put in plan language, you connect sensor to it, it can generate and load the driver for you. Also, it can probably log the data for you, build a UI for you and retry on arrow. You don't have to write a single line of code because the whole embedded system is controlled by AI agent essentially, right? So some example we've done in the past by just leveraging the isotropic model to control a full Linux system, let's see what it can do, right? So I had this flipper zero thing and I wanted to write a screen saver for it, but I don't know how to do that. So I connect that to the single board computer we made. It's like this size and there's a Raspberry Pi 5 in there. It gives full control of that Raspberry Pi to a very big cloud model, right? So we find out there's a command line driver or like a SDK for just writing flipper zero customized code. So it's just utilizing that to run me a screen saver. Similar thing for Arduino or Raspberry Pi, I plug it in, tell it what's the serial number, like what's the product number on what type of Arduino it is. It will go download. There's actually a Arduino IDE CLI. I didn't know that, but the AI found that thing and just programmed the Arduino with a CLI. There's also, so we also do similar thing to a thermal printer. So, you know, we bought a thermal printer from Amazon and, you know, those kind of type of thermal printer, they can only print shipping labels. It's only designed for shipping labels. But I want to use a printer to print whatever I want. Because I already paid for it, I want to print stickers on it, right? So I plugged in this device. It figured out, oh, this is this brand of printer. They do have a driver for Windows and Mac, but they don't have a driver for Linux. So , however, it's a printer, so it's using a universal protocol. So it kind of reverse engineered the printer. I wrote a whole driver for the printer. Now I can print whatever I want with the printer. So we also sponsored multiple hackathons in San Francisco. Some people brought a Roomba that they don't need anymore, but they want to control the Roomba. So it turns out there's also a USB port for that Roomba. So they plug in a Roomba to the device. Of course, the device, the almighty AI found the driver for the Roomba. Now they can use the Xbox controller to control the Roomba. But, so, all that is telling us, you know, I used to just copy paste code from Arduino IDE to a chat GPT and ask question and copy paste it back. But now I can just, you know, chat with it and just write a driver and do everything for me now. I think that's kind of the future we're going at. And I think it's relevant at DEF CON because, you know, if you have an AI in your pocket, it can slightly hex stuff for me. But can we eventually do all that locally, right? Right now I'm using, I don't know, one trillion parameter on the cloud, but I do want to use it locally eventually. So there's a paper came out, it's called Multi-step Planning and Reasoning Improves Acting Agent. You can look it up, it's a long title, but if you Google pre-act paper, it'll probably show up. So essentially there's a team of researchers, they find out, oh, if you just fine tune like 70 billion model on those kind of syncing, replanning data set, it can eventually be as good as the huge model run by OpenAI. So I think in the next two or three months, we can get all those stuff like running on my MacBook or just a Mac Studio. So we'll get there to run everything locally, which I think is very important for since like medical device or anything that involves my biometric data, I don't wanna send that to OpenAI, right? Also, you know, if anyone works for a medical device company, the UI is hella complex. I don't know how to operate that, but if there's a local model that I can just drop the manual or SDK off the machine, it can operate for me. I think that will enable a lot of medical automation industries researchers to utilize them, yeah. Yeah, that's pretty much of the talk. If you got any question, you can stop by the Biohacking Village booth and to learn more. Yeah, thank you.