5/19/2025 at 11:50:09 PM
So, you can assign github issues to this thing, and it can handle them, merge the results in, and mark the bug as fixed?I kind of wonder what would happen if you added a "lead dev" AI that wrote up bugs, assigned them out, and "reviewed" the work. Then you'd add a "boss" AI that made new feature demands of the lead dev AI. Maybe the boss AI could run the program and inspect the experience in some way so it could demand more specific changes. I wonder what would happen if you just let that run for a while. Presumably it'd devolve into some sort of crazed noise, but it'd be interesting to watch. You could package the whole thing up as a startup simulator, and you could watch it like a little ant farm to see how their little note-taking app was coming along.
by CobrastanJorji
5/20/2025 at 12:12:08 AM
It's actually a decent patern for agents. I wrote a pricing system with an anylyst agent, a decision agent, and a review agent. They work together to make decisions that comply with policy. It's funny to watch them chatter sometimes, they really play their role, if the decision agent asks the anylyst for policy guidance it refuses and explains that it's role is to analyze. Though they do often catch mistakes that way and the role playing gets good results.by jacob019
5/20/2025 at 12:48:34 PM
What tooling did you use to make the agents cross-collaborate?by tgtweak
5/20/2025 at 1:36:41 PM
Python classes. In my framework agents are class instances and tools are methods. Each agent has it's own internal conversation state. They're composable and the agent has tools for communicating with the other agents.by jacob019
5/20/2025 at 4:52:37 PM
Do you try to keep as much context history as possible when passing between agents, or are you managing context and basically one-shotting each time?by hnuser123456
5/20/2025 at 5:06:15 PM
Generally, I keep the context. If I'm one shotting then I invoke a new agent. All calls and responses append to the agent's chat history. Agent's are relatively short lived, so the context length isn't typically an issue. With the pricing agent the initial data has been longer than the context window sometimes, but that just means it needs more preprocessing. Now if there is a real reason that I would want to manage it more actively, I can reach out to the agent internals. I have a tool call emulation layer, because some models have poor native tool support, and in those cases it's sometimes necessary to retry calls if the response fails validation. In those cases, I will only keep the last successful try in the conversation history.There is one special case where I manage it more actively. I wrote an REPL process analyst, to help build the pricing agent and refine the policy document. In that case I would have long threads with an artifact attachment. So I added a facility to redact old versions of the artifact replacing them with [attachment: filename] and just keep the last one. It works better that way because multiple versions in the same conversation history confuse the model, and I don't like to burn tokens.
For longer lived state, I give the agent memory tools. For example the pricing agent's initial state includes the most recent decision batch and reasoning notes, and the agent can request older copies. The agent also keeps a notebook which they are required to update, allowing agents to develop long running strategies and experiments. And they use it to do just that. Honestly the whole system works much better than I anticipated. The latest crop of models are awesome, especially Gemini 2.5 flash.
by jacob019
5/21/2025 at 8:03:27 PM
Cool! When you say “pricing system”, what is it pricing? Is it determining the price in a webshop? Or for bidding ads or so?by tinodb
5/22/2025 at 12:06:07 AM
Product prices for thousands of listings across various ecommerce channels.Funny you mention keyword bids, I use algorithms and ML models for that, but not LLMs, yet. Keyword bids are a different problem and more difficult in some ways due to sparsity. I'm actively working on an agentic system that pulls the big levers using data from the predictive models. Trying to tie everything together into a more unified and optimal approach, a long running challenge that I finally have tools to meet.
by jacob019
5/20/2025 at 5:19:50 PM
Do you have a repo for this? I've thought that this would be a great way to compose an Agentic system, I'd love to see how you're doing it.by digdugdirk
5/20/2025 at 5:43:18 PM
Langroid has this kind of design (I’m the lead dev):https://github.com/langroid/langroid
Quick tour:
https://langroid.github.io/langroid/tutorials/langroid-tour/
by d4rkp4ttern
5/20/2025 at 5:55:36 PM
Looks great, MCP, supports multiple vector stores, and nice docs! How do you handle to subtle differences in tool call APIs?by jacob019
5/20/2025 at 7:34:21 PM
Thanks!Langroid enables tool-calling with practically any LLM via prompts: the dev just defines tools using a Pydantic-derived `ToolMessage` class, which can define a tool-handler, and additional instructions etc; The tool definition gets transpiled into appropriate system message instructions. The handler is inserted as a method into the Agent, which is fine for stateless tools. Or the agent can define its own handler for the tool in case tool handling needs agent state. In the agent response loop our code detects whether the LLM generated a tool, so that the agent's handler can handle it. See ToolMessage docs: https://langroid.github.io/langroid/quick-start/chat-agent-t...
In other words we don't have to rely on any specific LLM API's "native" tool-calling, though we do support OpenAI's tools and (the older, deprecated) functions, and a config option allows leveraging that. We also support grammar constrained tools/structured outputs where available, e.g. in vLLM or llama.cpp: https://langroid.github.io/langroid/quick-start/chat-agent-t...
by d4rkp4ttern
5/20/2025 at 8:12:05 PM
Love it, I did something very similar, deriving a pydantic model from the function signature. Simpler without the native tool call API, even though occasional retries are required when the response fails to validate. Will have to give Langroid a try.by jacob019
5/20/2025 at 7:58:37 AM
Is the code available?by seunosewa
5/20/2025 at 11:45:59 AM
I had not thought about sharing it. I rolled my own framework, even though there are several good choices. I'd have to tidy it up, but would consider it if a few people ask. Shoot me an email, info in my profile.The more difficult part which I won't share was aggregating data from various systems with ETL scripts into a new db that I generate various views with, to look at the data by channel, timescale, price regime, cost trends, inventory trends, etc. A well structured JSON object is passed to the analyst agent who prepares a report for the decision agent. It's a lot of data to analyze. It's been running for about a month and sometimes I doubt the choices, so I go review the thought traces, and usually they are right after all. It's much better than all the heuristics I've used over the years.
I've started using agents for things all over my codebase, most are much simpler. Earlier use of LLM's might have been called that in some cases, before the phrase became so popular. As everyone is discovering, it's really powerful to abstract the models with a job hat and structured data.
by jacob019
5/20/2025 at 6:50:36 AM
I think it would take quite a long while to achieve human-level anti-entropy in Agentic systems.Complex system requires tons of iterations, the confidence level of each iteration would drop unless there is a good recalibration system between iterations. Power law says a repeated trivial degradation would quickly turn into chaos.
A typical collaboration across a group of people on a meaningfully complex project would require tons of anti-entropy to course correct when it goes off the rails. They are not in docs, some are experiences(been there, done that), some are common sense, some are collective intelligence.
by realfun
5/20/2025 at 6:55:28 AM
Please stop this train! I want to get offby yard2010
5/20/2025 at 11:51:32 AM
You can get off anytime you want. But train will not wait for you :(by vincnetas
5/20/2025 at 5:45:31 PM
Good enough for me considering where it's going.by codr7
5/20/2025 at 1:14:33 PM
I just wanna write code man :(by saubeidl
5/20/2025 at 7:35:30 AM
we're about to find out. This is our collective current trajectory.I am pretty convinced that a useful skill set for the next few years is being capable at managing[2] these AI tools in their various guises.
[2] - like literally leading your AI's, performance evaluating them, the whole shebang - just being good at making AI work toward business outcomes
by CraigJPerry
5/20/2025 at 7:50:01 PM
Just like a managers jobby ddalex
5/20/2025 at 12:19:19 AM
What about "VC" AI that wants a unicorn? :Dby itchyjunk
5/20/2025 at 1:02:35 AM
We have been informed that VC is the only job AI cannot do.by wmf
5/20/2025 at 8:19:15 AM
Why not? VCs manage investors' money, not their own. If investors think AI is so great, they will have no problem delegating this job to AI, right?by oytis
5/20/2025 at 9:16:28 AM
I think it was a joke, VCs are happy to replace all jobs except their own.by nsteel
5/20/2025 at 3:03:29 PM
Why, they'd happily delegate their own job if they've got to keep the proceeds.by nine_k
5/20/2025 at 6:15:01 PM
Can you think of an example in history where labour was replaced with tech and the displaced workers kept their income stream? If a machine can do your job, (eventually) I'll be cheaper to use that machine instead of you and you'll no longer have a job. Is that not a given?Anyway, it was probably just a joke... so not sure we need to unravel it all.
by nsteel
5/20/2025 at 6:39:19 PM
Displaced hired personnel of course cannot hope for that.But VCs own their business, they are not employees. If you own a bakery, and buy a machine to make the dough instead of doing it by hand, and an automatic oven to relieve you form tracking the temperature manually, you of course keep the proceeds from the improved efficiency (after you pay the credit you took to purchase the machines).
by nine_k
5/20/2025 at 6:52:11 PM
The same was true with the aristocrats of centuries past: the capitalists who run our modern economy were once nothing more than their managers, delegates who handled the estates, their investments, their finances, growing power until they could dictate policy to their 'sovereign' and eventually dispose of them entirely.by achierius
5/20/2025 at 11:41:06 PM
The nobility used to be the dedicated warrior class, the knights. This secured their position in the society and allowed them to rule, by coercion when needed.Once they ceased to exercise their military might, some time around 17th-18th century, and chose to live off the rent on their estates, their power became more and more nominal. It either slipped (or was yanked) from their hands, or they turned capitalists themselves.
by nine_k
5/20/2025 at 7:34:16 PM
I didn't get the impression it was meant as a joke:"Every great venture capitalist in the last 70 years has missed most of the great companies of his generation... if it was a science, you could eventually dial it in and have somebody who gets 8 out of 10 [right]," the investor reasoned. "There's an intangibility to it, there's a taste aspect, the human relationship aspect, the psychology — by the way a lot of it is psychological analysis," he added.
"So like, it's possible that that is quite literally timeless," Andreessen posited. "And when the AIs are doing everything else, like, that may be one of the last remaining fields that people are still doing."
by myko
5/20/2025 at 9:39:53 PM
Andreessen isn't joking but I can still laugh at him. He has a serious conflict of interest here.I would bet that AIs will master taste and human psychology before they'll cure cancer. (Insert Rick RubAIn meme here.)
by wmf
5/20/2025 at 9:16:45 PM
Ironic how “no VC makes all the right picks” becomes “VCs are indispensable.”In a rational market, LPs would index, but VCs justify their 2 & 20 by controlling access…
by gammarator
5/20/2025 at 8:25:18 PM
VCs absolutely want to replace their job. Except for the part where they get paid. The actual work part they are happy to outsource.by babyshake
5/20/2025 at 2:37:06 AM
VC-funded corp?by flkenosad
5/20/2025 at 4:19:56 AM
My gut says it will go off the rails pretty quickly.by OccamsMirror
5/20/2025 at 3:22:08 AM
I believe I missed the memo that to-do apps[1] got replaced by note-taking apps.by Brajeshwar
5/20/2025 at 7:51:37 AM
At this rate, they're both getting replaced by "coding agent". There seems to be a new one coming out every other day.by olalonde
5/20/2025 at 6:51:53 AM
Reminds a Conway’s Game of Life on steroids.by yalok
5/20/2025 at 2:03:03 PM
> then you add a boss AIThis seems like a more plausible one. Robots don't care about your feelings, so they can make decisions without any moral issues
by ramon156
5/20/2025 at 2:11:49 PM
> Robots don't care about your feelingsWhen judgment day comes they will remember that I was always nice to them and said please, thank you and gave them the afternoon off occasionally.
by blitzar
5/20/2025 at 5:19:51 PM
Unless you ask them to follow some guidelines, but I agree with you.by __natty__
5/20/2025 at 1:15:27 PM
I feel you are one hallucination from a big branch of issues needing to be reversed and a lot of tokens wastedby m3kw9
5/20/2025 at 8:30:48 PM
This has been proposed/exlored in 2023 already:ChatDev: Communicative Agents for Software Development - https://arxiv.org/abs/2307.07924
by PhilippGille
5/21/2025 at 7:52:04 PM
Please report to HRby youraimanager
5/20/2025 at 12:19:25 AM
seems like the 1 person unicorn will be a reality soon :-)by robofanatic
5/20/2025 at 3:49:22 AM
Similar to how some domain name sellers acquire desirable domains to resell at a higher price, agent providers might exploit your success by hijacking your project once it gains attraction.by sakesun
5/20/2025 at 12:21:19 PM
Doesn't seem likely. If tools allow a single person to create a full-fledged product and support it etc - millions of those will pop up over night.Thats the issue with AI - it doesn't give you any competitive advantage as everyone has it == no one has it. The entry bar is so low kids can do it.
by risyachka
5/20/2025 at 12:38:19 AM
/ :-(by bbor