HNHacker News
TopNewBestAskShowJobs

tanishqkanc

29 karma · joined April 22, 2022

submissionscomments
tanishqkanc··on DeepSeek V4 Pro 0813
Curious about what you found. I agree harness for browser automation is vital - I work on https://libretto.sh
tanishqkanc··on Show HN: Browser Tools SDK – an optimal browser harness for agents
with playwright-cli, the agent makes reasoning decisions between each cli call. with browser-tools, the agent can write big playwright code blocks that execute in one go meaning less turns and the agent can select exactly what it needs from the result.

I think the code version of playwright-cli is still supported but we just use the default instructions given by the cli which push it towards per cli call usage

tanishqkanc··on Show HN: Browser Tools SDK – an optimal browser harness for agents
If you’re using a local provider, it can open browsers in headed mode so it can log in. For remote providers, you’ll need to ask the agent for the live url which will be a proxy feed of the page to log in
tanishqkanc··on Show HN: Browser Tools SDK – an optimal browser harness for agents
As stated on the website, full methodology and results are available here: https://github.com/saffron-health/libretto/tree/main/package...
tanishqkanc··on Show HN: The CLI for browser agents
building something similar. libretto.sh
tanishqkanc··on Show HN: Browser Harness – Gives LLM freedom to complete any browser task
You should check out Libretto. It can take the playwright code and turn it into a script you can deploy
tanishqkanc··on Show HN: Browser Harness – Gives LLM freedom to complete any browser task
i dont think its detectable if done well. We’ve built involved automations with no problems. i used libretto not browserbase tho
tanishqkanc··on Show HN: Libretto – Making AI browser automations deterministic
Thanks! Please try it out. Stop by in the Discord or Github Issues if you have any questions!
tanishqkanc··on Show HN: Libretto – Making AI browser automations deterministic
Thanks! Please try it out. Stop by in the Discord or Github Issues if you have any questions!
tanishqkanc··on Show HN: Libretto – Making AI browser automations deterministic
Ofc! Please try it out. Stop by in the Discord or Github Issues if you have any questions!
tanishqkanc··on Show HN: Libretto – Making AI browser automations deterministic
Sorry! Yes, MIT. Forgot to lift it up when I converted to a monorepo, but it's in packages/libretto
tanishqkanc··on Show HN: Libretto – Making AI browser automations deterministic
glad to hear! Please reach out on Discord or Github issues you run into issues!
tanishqkanc··on Show HN: Libretto – Making AI browser automations deterministic
playwright-cli is very simple and meant for humans - it basically generates a first draft of a script, and was originally meant for writing e2e tests. You need to do a lot of post-processing on it to get it to be a reliable automation.

libretto gives a similar ability for agents for building scripts but:

- agents automatically run, debug, and test the integrations they write - they have a much better understanding of the semantics of the actions you take (vs. playwright auto-assuming based on where you clicked) - they can parse network requests and use those to make direct API calls instead

there's fundamentally a mismatch where playwright-cli is for building e2e test scripts for your own app but libretto is for building robust web automations

tanishqkanc··on Show HN: Libretto – Making AI browser automations deterministic
we started using stagehand initially! But it doesn't follow the same model of pre-generating deterministic code. Your code is meant to look like this:

// Let AI click await stagehand.act("click on the comments link for the top story");

the issue with this is that there's now runtime non-determinism. We move the AI work during dev-time: AI explores and crawls the website first, and generates a deterministic legible script.

Tangentially, Stagehand's model may have worked 2 years ago when humans still wrote the code, but it's no longer the case. We want to empower agents to do the heavy lifting of building a browser automation for us but reap the benefits of running deterministic, fast, cheap, straightforward code.

tanishqkanc··on Show HN: Libretto – Making AI browser automations deterministic
just adding to michael's reply - we took care to make sure no PHI was exposed in our demo video as well.
tanishqkanc··on AGENTS.md outperforms skills in our agent evals
this is only gonna be an issue until the next gen models where the labs will aggressively post train the models to proactively call skills
tanishqkanc··on Show HN: Triplit – Open-source syncing database that runs on server and client
I've been using Triplit on my React native app for a while and it works great. Highly recommend. It's the only local-first db that hits these points for me:

- Good sane query language (not SQL) - Great typescript support - Offline support - React native support

The cherries on top is that it's open source and self-hostable.

tanishqkanc··on Show HN: I built an open source web calendar inspired by the Google calendar
not the op, but one reason might be to visually distinguish between two events at the same time on adjacent days versus a 2-day event. Without the gap, events blend together. I don’t think the border provides enough contrast to rely on either.
tanishqkanc··on Show HN: LLM-Generated Wikipedia
Hallucination? https://towardsdatascience.com/llm-hallucinations-ec831dcd77...
tanishqkanc··on Show HN: Basketball Play Designer
How does the play animation work? Do you get some sort of json blob output? How do you make sure it fits your schema?
tanishqkanc··on Show HN: Basketball Play Designer
holy shit. How does this work? Do you just have a big list?
tanishqkanc··on Show HN: Apricot – because RSS won't come back unless we move it forward
Looks cool! I love rss. Have you considered also letting people publish to their own rss feeds from directly in the app? I wonder if having a basic content creation side is the missing piece of a lot of rss feeder apps
tanishqkanc··on Show HN: Legend-State 1.0 – The fastest React state library
What are some the popular patterns to avoid in javascript that get you good performance? Or phrased another way, what are the changes to make today that would likely have the most performance impact in a js codebase?
tanishqkanc··on What I learned working with a senior engineer as a new grad
I’m glad it left that impression! My thoughts have clarified a bit since I read that post, and I think what I describe is more declarative, like React. But the best places to read about it (for web devs) are in Elm!

There is also this new thing I found that seems to really lean into the core of what being functional means here: https://github.com/jorgebucaran/hyperapp

After a while, you see that basically all systems can be modeled as event-driven, functional systems. It’s a flexible model, and fits beautiful into web dev where the semantics are very clear: the system is the web app and events are clicks, keyboard events, asynchronous calls...

tanishqkanc··on What I learned working with a senior engineer as a new grad
But that’s my vibe!
tanishqkanc··on What I learned working with a senior engineer as a new grad
All good, I’m glad you liked it! I’ve already posted it once, but it had no traction last time for some reason.
tanishqkanc··on What I learned working with a senior engineer as a new grad
Thanks!
tanishqkanc··on What I learned working with a senior engineer as a new grad
Thank you so much! I’m so glad it gave off that impression. I went through a lot of revision and planning to write it: I had learned a lot, and wanted to organize all of it carefully. I’m glad it paid off!
tanishqkanc··on What I learned working with a senior engineer as a new grad
Im not sure if there’s a good way to use css to animate an arbitrary number of children with a delay, while retaining clean markup. I did this before: .article-child { animation-delay: var(—index)*0.025s; } and while rendering, set style tags on each element style=“—index:5”, etc. That works, but it was annoying to maintain, and every single element has these style tags. So I just use Motion One (WAAPI) now.
tanishqkanc··on What I learned working with a senior engineer as a new grad
Hi! I’m the creator of the post. Thank you for all the comments on my post! I’m glad more people are getting to see it. Thanks for posting, @antidnan!

Reading through, it looks like I have some rough edges of my website to clean up as well...

Page 1 of 2Next →