← All IntelClip / Entertainment
Printing Press: auto-generating agent CLIs with personas
From Printing Press · ≈15:40
“So, London is the cheapest for Christmas to New Years at 1200 per passenger, then Amsterdam, then Tokyo, then Paris.”
“But, if you do a HAR sniff and click around, you can find all the secret APIs that exist.”
What’s in it
- See how 'printing press' auto-generates a CLI for any product
- Learn the HAR-sniff trick to find secret undocumented APIs
- Watch Flight Goat query hidden Kayak/Google Flights APIs in one command
Clip transcript
fascinating. And so, for the printing press, the idea was what if anyone could print their own CLI about anything, and it kind of does does four things at its core. So, um one, it does what what Peter does. So, it creates an SQLite database, and it says, "Who is the power user of this product?" And so, we actually have it it creates personas. Tr- Traven did this. Where it actually says, "So, if if you were if you were to print the the Discord CLI using the printing press, it would say, "Let's create a few different personas of who would be a power user of this." And it's like, "Power user one, meet Jim. Jim owns two Discords and runs a big open source project, and he is overwhelmed. What features would Jim want?" And then it literally like defines that, and it uses that as a data point. And so, that's one of the things it does. The second thing it does is it looks for official CLIs or APIs that exist already. And ingest those. The third thing that it does is it goes and it does a HAR sniff to look for secret APIs. So, I'll give an example. Um so, the um Google Flights and Kayak direct, they do not have an official API. But, if you do a HAR sniff and click around, you can find all the secret APIs that exist. And so, that's how the Flight Goat was invented. So, the Flight Goat, you can just say "PP Flight Goat." So, it's a skill. So, it's a skill for Hermes or open claw, or for claw code. I want to see Seattle long haul non-stop flights December 24th through January 1st four passengers cheapest first. And what it does first it is it goes kayak direct secret APIs and looks for all the non-stop flights over 8 hours from Seattle. Then it takes that and because it and goes into the secret Google flights API and then runs it and then in one command you're able to get a result like this is a real result. So, London is the cheapest for Christmas to New Years at 1200 per passenger, then Amsterdam, then Tokyo, then Paris. And it did this within one command, which is bananas. >> A secret API is basically like, you know, if I go to kayak.com and start browsing around there's like a bunch of APIs that they calls through the browser, you just found out what that is. >> Exactly. Yep. And that that's the the feature I was working on earlier today was to make sure that the cookies are synced so you're always logged in when doing a hard sniff when printing something with the the printing press. And so so so so those that's the the third thing we do.
Recommended reads
Comments
Checking sign-in…
Loading comments…
