
ai engineer | founder’s office @lyzr__ai | building cursor for game dev https://xitter.cf/t.co/cWwRJwWoue | get your site on https://xitter.cf/t.co/HsBkQpzRBK
Bengaluru, India
Joined August 2021
- Tweets867
- Following344
- Followers204
- Likes2K
Pinned Tweet
my biggest unfair advantage in ai is the knowledge from building agentic systems in production. stuff you won’t learn in any textbooks or courses.
I’ll be exposing all these hidden rules in my upcoming tweets so stay tuned 🏃
One of the most valuable things you can do for yourself long term is to keep a journal.
I just had claude analyse 5 years of my life into one llm wiki. And the psychoanalysis section might just turn my life around.
slow dancing in the dark by @sushitrash played by the ear
had to lock in for the chorus
One of the less talked about tradeoffs in agent engineering:
where you put dynamic context can affect output quality, cache hit rate, cost and latency.
let me explain ⬇️
say you’re building cursor and need to tell the model what’s currently on the user’s screen. you have 3 ways of putting this information in the conversation:
1. 🤖 System prompt:
put the state directly in the model’s instructions. best for quality but terrible input cache behaviour for long conversations if it changes constantly. which increases cost and ttft latency.
2. 🛠️ Tool:
let the model fetch the state when it needs it. cache friendly and you avoid sending potentially irrelevant context upfront, but now you’re relying on the model to know when to fetch it. And costs the extra tool round trips.
3. 👤Injected user message:
Pass the state along with the user’s message. cheap & deterministic, but now the model has to distinguish app state from what the user actually said.
system prompt approach uses the least amount of tokens overall which is great to lower hallucinations. But the other two approaches give models full traceability with state changes.
there’s no universally correct answer. it can be a combination of all three. you have to consider how often the state changes, how much context you’re sending, whether the model needs it each time, and how sensitive the application is to latency and cost.
One of the less talked about tradeoffs in agent engineering:
where you put dynamic context can affect output quality, cache hit rate, cost and latency.
let me explain ⬇️
say you’re building cursor and need to tell the model what’s currently on the user’s screen. you have 3 ways of putting this information in the conversation:
1. 🤖 System prompt:
put the state directly in the model’s instructions. best for quality but terrible input cache behaviour for long conversations if it changes constantly. which increases cost and ttft latency.
2. 🛠️ Tool:
let the model fetch the state when it needs it. cache friendly and you avoid sending potentially irrelevant context upfront, but now you’re relying on the model to know when to fetch it. And costs the extra tool round trips.
3. 👤Injected user message:
Pass the state along with the user’s message. cheap & deterministic, but now the model has to distinguish app state from what the user actually said.
system prompt approach uses the least amount of tokens overall which is great to lower hallucinations. But the other two approaches give models full traceability with state changes.
there’s no universally correct answer. it can be a combination of all three. you have to consider how often the state changes, how much context you’re sending, whether the model needs it each time, and how sensitive the application is to latency and cost.
met some very cool people last saturday
@niketrajdwivedi @triplespeedai threw an absolute banger
made this statement a year ago on why apple hadn’t released a foldable phone
it’s because big tech has no incentive to innovate or take risks
it’s always easy to let samsung or other startups to experiment & build over whatever worked for them
now that’s pure evil
Introducing Dineadda.
A simple way to meet new people over a meal - dinner, lunch, coffee, or drinks.
Host a table at any restaurant or cafe near you, and people can request to join. Or browse tables others are hosting and ask for a seat.
Because meeting new people, having a good conversation, and sharing a good meal shouldn't be this hard.
Free to use. Live on iOS, Android launching in a week.
100% free.
Starting in Indiranagar.
dineadda.com
been having too much fun making crackedlist.dev look like its from 2008 🫧
frutiger aero is so back!!!!
soft launching crackedlist.dev
it’s simple, just add your portfolio website and compete with others to be the #1 in your field
you also get:
- visibility
- feedback
- networking
listing is completely free before the real launch. Get your early adopter batch now ⚡️
soft launching crackedlist.dev
it’s simple, just add your portfolio website and compete with others to be the #1 in your field
you also get:
- visibility
- feedback
- networking
listing is completely free before the real launch. Get your early adopter batch now ⚡️




















