HN user

viksit

1,363 karma

@viksit anywhere fine internet tools are sold.

2x founder. Independent AI researcher and startup advisor.

prev: led ai @dropbox, built language models @myralabs, worked on ml @bloomreach_inc

Posts31
Comments357
View on HN
viksit.substack.com 11mo ago

Replacing Agent Prompt Templates with Trainable Control Modules in DSPy

viksit
2pts1
viksit.substack.com 12mo ago

Optimizing Tool Selection in LLM Workflows(Part 2): A DSPy and PyTorch Benchmark

viksit
1pts1
viksit.substack.com 1y ago

Differentiable Programming for Learnable Graphs: Optimizing LLM Workflows W DSPy

viksit
2pts1
viksit.substack.com 1y ago

Optimizing Tool Selection for LLM Workflows with Differentiable Programming

viksit
122pts42
news.ycombinator.com 2y ago

Ask HN: Best open source gen AI video model?

viksit
3pts0
news.ycombinator.com 2y ago

Ask HN: What are some recent developments in Planning and LLMs?

viksit
1pts0
news.ycombinator.com 2y ago

Ask HN: How to get started with understanding LLMs for biotechnology?

viksit
1pts0
eandt.theiet.org 2y ago

Female scientists who were overlooked for the Nobel Prize

viksit
5pts0
news.ycombinator.com 3y ago

Ask HN: How should we compensate forum moderators?

viksit
2pts14
viksit.com 3y ago

The case for the decentralization of online forums

viksit
171pts155
news.ycombinator.com 3y ago

Ask HN: What’s the best TypeScript book in April 2023?

viksit
1pts1
news.ycombinator.com 3y ago

Ask HN: Why is Emacs-lsp TypeScript integration so far behind VSCode?

viksit
1pts1
twitter.com 3y ago

Twitter BlueSky launches decentralized protocol

viksit
5pts2
news.ycombinator.com 4y ago

Ask HN: Why aren’t frameworks like htmx more popular?

viksit
9pts9
www.viksit.com 7y ago

Thought storm on the evolution and components of a decentralized internet

viksit
2pts0
github.com 9y ago

Ethereum whitepaper in Kindle Mobi/iBooks Epub formats

viksit
2pts0
blog.myralabs.com 9y ago

Conversational AI could be the end of the webform

viksit
6pts0
blog.myralabs.com 9y ago

Creating Smarter Bots with Deep Learning NLP

viksit
5pts0
www.research.ibm.com 10y ago

A Boy and his Atom: IBM made the world's “smallest” movie

viksit
1pts1
blog.keras.io 10y ago

Keras as a simplified interface to TensorFlow

viksit
7pts1
news.ycombinator.com 10y ago

Ask HN: Which NLP API services do you use?

viksit
2pts0
www.getmyra.co 10y ago

Show HN: Myra – AI based personal assistant you can text

viksit
137pts88
news.ycombinator.com 11y ago

Ask HN: I'm an engineer looking for another technical co-founder [AI+Mobile]

viksit
7pts6
github.com 11y ago

Announcing Briefly: A Python DSL to scale complex mapreduce pipelines

viksit
3pts1
news.ycombinator.com 11y ago

Ask HN: What is the best affordable programmable drone?

viksit
10pts8
news.ycombinator.com 11y ago

Ask HN: Who's using Clojure in production?

viksit
79pts54
news.ycombinator.com 12y ago

Ask HN: How did you find your co-founder(s)?

viksit
1pts0
www.bestinclass.dk 16y ago

Moving a Wordpress blog to pure Clojure (& a 250% performance increase)

viksit
1pts0
news.ycombinator.com 16y ago

Ask HN: Clojure/Hadoop vs Python/Dumbo/Hadoop

viksit
4pts0
news.ycombinator.com 16y ago

Ask HN: Review my prototype - http://cluud.in - real time local search for SF

viksit
2pts10

I think the point here is the bot didn’t come up with the idea on its own, but was seeded by a human with an entrenched interest / experience in that space. The PR around Moltbook has been that Agents are coming up with these ideas through some sort of swarm interaction with each other, and developing novel, emergent capabilities — which is not true.

In my fourth post in the series, I tackle how to make multi-step agent workflows learn behavior from data. Most agents today rely on vibes: prompt tuning, hand-written templates, and hope(!). This post is about replacing that with metrics and optimization.

Each branch in the workflow learns how to behave, not just where to route. I show how to set up a reward, plug in an optimizer, and treat agent behavior as something you can tune like a model.

mostly aligned on this. couple of thoughts:

- raw accuracy is now a "vanity" metric. so the benchmarks need to get more sophisticated, and i think they're going to have to be far more task specific than hotpot or hover. they've become like the mnist of multi hop.

- in my use of MIPROv2 and SIMBA, I see a fair amount of improvements for multi hop tasks (published some of these on hn before). I'm going to try GEPA and see how it performs. so I think we're at the start of what I would call "meta learning".. tuning across a huge search surface rather than tweaking one prompt. hyper param search for higher dim spaces.

- tokens burned should be a reported result

+1 thanks for mentioning MCP!

re: different tools (apis vs mcps). in my mind, there should be no real difference at what kind of tools is called at this moment since I model this as a softmax over a label set of tools.

that said, an idea I want to investigate is whether tools can live in a learned embedding space, where selection isn’t a softmax over discrete labels but a nearest-neighbor or attention mechanism over continuous vectors.

this is the intuition I'm developing as we speak and in some of my other comments on this thread (see differentiable state machine comment).

+1 on the control flow point.

I think of an llm as a differentiable interpreter of a program. it should do decision making (tool selection, argument routing), branching logic via weights + gates etc.

so as a differentiable state machine:

- each state == a stage in your workflow

- transitions == tool calls

- encode this as a rnn or graph

and learn transitions and actions via supervision or RL

this is a great point, ty.

in my mind the biggest difference is llms that are invoked during a workflow, and llms that are invoked when _creating_ code (codegen).

for the former, tools could be well defined till they are small in number, but at some point, the system needs to examine a library of tools, understand how to call it and integrate it, and at its peak, even create new tools to talk to systems not already present in that library (codegen).

it’s not just about selection. say you’ve got 100k tool calls — in the current hosted llm setup, you don’t actually learn anything new about your data to improve future tool accuracy.

this gets worse when you’re chaining 3–4+ tools. context gets noisy, priors stay frozen and there's prompt soup..

my intuition here is: you can learn the tool routing and the llm prompts before and after the call. (can always swap out the rnn for a more expressive encoder model and backprop through the whole thing).

super useful when you’re building complex workflows -- it gives you a way to learn the full pipeline, not just guess and hope.

great point, appreciate the comment. totally agree with your framing, though i think there’s still a gap in how tool use is handled today.

quick note: it doesn’t have to be an rnn. i’ve got a follow-up example coming that uses a transformer-style ToolController with self attention, more expressive routing, etc.

but here’s the thing — when you rely on few-shot bootstrapping the LLM, you never end up updating the model's priors. even after 100k tool calls, you’re still stuck in the same polluted context window and its all stateless.

this gets worse fast with more than 3–4 tool calls, especially when there’s branching logic (e.g., if api1 > 5, go left, else right).

what this approach offers is: backprop through tool calls. you can tune prompts and update priors across the full workflow, end to end. trying to develop this intuition a bit more, and would love feedback.

thanks for the suggestion on the eval — will post that comparison soon.