
Everything web, but just simplr ! @ https://nitter.gq/t.co/PvUxWCSOLj & https://nitter.gq/t.co/AN2sYkeAQO
Earth
Joined December 2024
- Tweets1.2K
- Following367
- Followers96
- Likes471
Simplr retweeted
If you're an engineer who's feeling hesitant or overwhelmed by the innovation pace of AI coding, this thread is for you.
Here's the 10% of fundamentals that will put you in the 90th percentile of AI engineers.
🧵/many
Simplr retweeted
One of my favorite tools during a code audit is jscpd. It detects copy/pasted code.
In a codebase I’m currently reviewing, nearly half of the JS is duplicated!
jscpd lists the specific duplicated spots so we can consider a cleanup.
Simplr retweeted
`npx check-site-meta`.
Local-first metadata checker for developers.
- Check Link Preview without Offline
- Avoid Caching & CORS Issue
- Check OGp, Twitter, Icons and more
More feature coming soon!
Simplr retweeted
"AI Agents are cron jobs", but they can also be complex step-function workflows. You need durability, retries, steps, realtime feedback…
We announced @vercel Fluid compute which makes it cost-efficient to stream long responses that wait for LLMs.
@upstash offers a great workflow orchestration solution that natively integrates with @nextjs & @vercel Functions to make *reliable* agents easy to build. Check out this very cool demo and OSS repo they shipped: agents-researcher.vercel.app – at California, USA
Simplr retweeted
Streaming multi-step agent workflows to the client is difficult, and there are many requests to add this functionality to the AI SDK.
However, I'm reluctant to invent yet another workflow engine, unless it is absolutely required for the specific needs of agents and llm workflows, and differentiated from existing workflow engines.
I also don't think that having multiple settings for a single streamText, or changing them via callbacks, will lead to easily maintainable solutions.
I believe that the power of the AI SDK comes from letting you use JS language concepts to the largest degree possible, vs providing a workflow framework that prescribes how you do things.
So I've started prototyping a way to create multi-step workflow with streamText and JS primitives.
Imagine you to send multiple steps from different streamText calls to the client (useChat), and you can use regular JS to create the workflow that ties them together (see attached code).
Please let me know if you have feedback/comments!
Simplr retweeted
Build AI Agents and RAG Apps with reusable React components in a few lines of Code.
It's a TypeScript framework that feels just like writing React. But instead of building UIs, you can create agentic workflows.
100% Opensource.
Simplr retweeted
Here's a useful trick:
Whenever a project has their docs in a GitHub repo, you can just replace github to gitingest and get all the nested files as markdown and copy into an LLM.
gitingest.com/remix-run/reac…
Replying to @ImSh4yy
I ripped the docs the other day for React Router as a Framework and have them tucked away so I can input them into LLMs if I am doing significant refactors. Worked out great for me.
gist.github.com/zaydek/1d013…
Simplr retweeted
Conversation branching is now live in Google AI Studio, explore what the Gemini models are capable of, branch messages when things get interesting, and then go back to the parent conversation and keep working.
Enable Drive Access + Auto Save (in settings) to try this out!
Simplr retweeted
❌ Avoid resolving a promise in a server component and block rendering.
✅ Resolve the promise in the client side with `Reac.use()`
Simplr retweeted
This poor guy lost 4 months of work because of Cursor?
Obviously use git, but if you lose something between commits, local history in your editor is KEY
Simplr retweeted
You don't need to use this stack, but...
**Hono + AI SDK + Cloudflare Workers** is Great!
Simplr retweeted
Next.js AI Chatbot now supports artifacts:
• Dynamic code execution
• Image generation
• Spreadsheets
• ... and more!
Open-source and free to get started.
Simplr retweeted
ts-blank-space strips types instead of parsing / validating TypeScript
~6x faster than `tsc` – pretty dang cool!
Simplr retweeted
You can now use @valibot for object generation.

ALT // AI SDK - Object Generation with Valibot (Experimental) import * as v from "valibot"; import { generateObject } from "ai"; import { openai } from "@ai-sdk/openai"; import { valibotSchema } from "@ai-sdk/valibot"; const result = await generateObject({ model: openai("gpt-4o-mini"), schema: valibotSchema( v.object({ ingredients: v.array( v.object({ name: v.string(), amount: v.string(), }), ), steps: v.array(v.string()), }), ), prompt: "Generate a lasagna recipe.", });


























