| ▲ | Flue is a TypeScript framework for building the next generation of agents(flueframework.com) |
| 84 points by momentmaker 8 hours ago | 47 comments |
| |
|
| ▲ | afshinmeh 6 hours ago | parent | next [-] |
| Vibe coding aside [1], it's very interesting software projects these days don't really care about adding a single test [2]. [1]: https://github.com/withastro/flue/blob/8fdf8e0e9df5bd33c3120... [2]: https://github.com/search?q=repo%3Awithastro%2Fflue+test+pat... |
| |
| ▲ | amluto 4 hours ago | parent | next [-] | | I find this impressive: in my experience, codex-rs loves to add tests even when not prompted. Of course, it’s a bit of a crap shoot as to whether the test tests useful behavior. (My favorite so far: it created an empty file in /home/whatever and added a test to verify that some code it wrote would indeed fail when tested on this empty input and that it would fail with the correct error message. Never mind that this covered approximately none of the desired behavior and that the test would, of course, fail on any other system. | |
| ▲ | jstummbillig 4 hours ago | parent | prev | next [-] | | That would be really interesting. I doubt it's the case, actually probably the opposite? The harnesses seem very happy to write extensive test suits, without me having to ask much. | |
| ▲ | ai_slop_hater 4 hours ago | parent | prev [-] | | And what would they test? This is a meaningless wrapper for Anthropic or OpenAI SDKs. |
|
|
| ▲ | 9cb14c1ec0 3 hours ago | parent | prev | next [-] |
| Ok, real question. What products are people actually building with agent frameworks? I get the utility of AI coding tools and generic chat apps, but that is the extent of utility that I've been able to get from AI. I'm looking for examples that are real businesses, not toys. |
|
| ▲ | leothecool 7 hours ago | parent | prev | next [-] |
| What is the problem this solves? Why would I use this instead of telling claude to vomit out the underlying boilerplate. |
| |
| ▲ | axpy906 6 hours ago | parent [-] | | Yeah don’t understand. It’s a lot easier to just build your own. | | |
|
|
| ▲ | sdevonoes 5 hours ago | parent | prev | next [-] |
| Why TS? The npm ecosystem is insane and insecure. Not a chance we are running this in our machines. Go/Rust way better choices. Besides, if it’s all vibe coded, it shouldn’t matter for the author |
| |
| ▲ | jdw64 4 hours ago | parent | next [-] | | I think the TypeScript ecosystem is more suitable for this. I do not think Rust is a bad language. But the agent ecosystem changes very quickly, and in Rust, assembling and reshaping agent workflows is difficult. Many people prefer Rust, and I understand why. It is a genuinely excellent language, and “Rust is a great language” is a strong message that attracts many developers. But as long as lifetimes exist, I think it will remain difficult. The lifetime system assumes, in some sense, that humans can fully predict the lifecycle of values and resources. I am not sure that is truly possible in all domains. I am also not sure whether that model is linguistically suitable for the agent ecosystem. In agent systems, requirements change constantly. Tools change, workflows change, providers change, schemas change, and failure policies change. In that kind of environment, I am not sure Rust is the right fit. I like Rust a lot, and it is a language I genuinely want to learn. But I am not sure that applying Rust to everything is really the right answer. I think Rust makes a lot of sense in relatively stable infrastructure ecosystems: operating systems, runtimes, sandboxes, and core low-level layers. But agent code usually requires high-level abstraction and rapid workflow composition. Doing that in Rust takes a tremendous amount of time. | | |
| ▲ | EdwardDiego 3 hours ago | parent | next [-] | | They also mentioned Go. | |
| ▲ | beepbooptheory 4 hours ago | parent | prev [-] | | Why do agent systems change more than other things? Maybe while were here: What even is an agent system anyway? Does one work on agent systems as the final product, or is the agent system what you work with to make something else? | | |
| ▲ | jdw64 4 hours ago | parent [-] | | The definition of “agent” has changed quite a bit, even in ACL papers and other academic work. Looking at recent examples, the practical boundary seems to be whether an LLM uses tools. In some 2023 papers, certain pipeline-based systems were still referred to as agents. More recently, the term seems to mean something looser but more action-oriented: a system that understands a goal, uses tool calls, selects actions, and executes them. In other words, there is still no fully settled engineering definition of what an agent is. I am not an expert or a graduate student; I mostly work as a subcontractor who gets hired by university professors to reproduce specific paper metrics. In general, every system changes frequently in its early stage. Agent systems are no different. The workflows keep changing because the field does not yet have stable, openly accepted standards for AI development. That is also why Claude, Codex, and others are fighting to define the standard. I think the term "harness," which Anthropic has been popularizing recently, is part of the same trend. By harness I mean the execution layer around the model call itself: context management, tool dispatch, retry and fallback policies, eval loops. That layer is still actively shifting. The naming is not settled, the responsibilities are not settled, and the boundaries between the harness and the model are not settled either. Each provider is drawing those lines a little differently right now. So my view is this: agent systems change frequently because the definition differs from person to person, the field keeps updating rapidly, and there is no engineering standard that has been firmly established yet. Even the I/O standard itself is not really settled. |
|
| |
| ▲ | d0100 an hour ago | parent | prev | next [-] | | I am using TS sandboxed in deno for all our agent code generated from a UI builder (inspired by OpenAI's own agent builder, and spits out the same code output) | |
| ▲ | ChaseRensberger 3 hours ago | parent | prev [-] | | Not ready for production yet but ive been working on https://wingman.actor for quite a while. Its a golang based portable agent runtime with minimal dependencies. |
|
|
| ▲ | egonschiele 3 hours ago | parent | prev | next [-] |
| As other comments have said, it would be great to add what this does that existing solutions can't. I see the project has been active since Feb, and has < 150 commits. I'd assume this is still pretty immature. So why use this? I think more explanation is needed. |
|
| ▲ | wartywhoa23 6 hours ago | parent | prev | next [-] |
| So we get it, all stuff agentic will be named after various diseases, how apt. |
| |
|
| ▲ | systima 7 hours ago | parent | prev | next [-] |
| How does this differ to Mastra? |
| |
| ▲ | bigethan 6 hours ago | parent | next [-] | | Mastra is a business, this seems to be a helpful lib | |
| ▲ | esprehn 6 hours ago | parent | prev [-] | | One big difference seems to be Mastra has tests and this project doesn't. |
|
|
| ▲ | dataviz1000 6 hours ago | parent | prev | next [-] |
| Why would I choose this over Mastra? [0] [0] https://mastra.ai/ |
| |
|
| ▲ | _s_a_m_ 5 hours ago | parent | prev | next [-] |
| The new JavaScript web frameworks are agent frameworks |
|
| ▲ | mrtksn 5 hours ago | parent | prev | next [-] |
| What I wonder is, why do we still need code etc? Shouldn’t all code be just a promt? This way it becomes language and platform agnostic. |
| |
| ▲ | yoz-y 4 hours ago | parent [-] | | How would that actually work? Eventually the specification for the CPU has to be clear. For now, that means machine code. |
|
|
| ▲ | doublerabbit 6 hours ago | parent | prev | next [-] |
| import { getVirtualSandbox } from '@flue/sdk/cloudflare';
You lost me there. Looked kind of cool too. |
| |
| ▲ | jadar 6 hours ago | parent [-] | | What was offensive? Was it the use of Cloudflare? Or the way the import was written? | | |
|
|
| ▲ | piskov 6 hours ago | parent | prev | next [-] |
| If only there were great backend languages Go, C#, what have you. Nah, thank god we have javascript |
| |
| ▲ | gavmor 37 minutes ago | parent | next [-] | | Anders Hejlsberg, who designed C#, is now leading Typescript development. Why would I not join him at the frontiers of his creative and intellectual energies? Go is a nice language, but it's not expressive the way typescript can be. I'm not convinced, either, that coroutines are all that snazzy an abstraction at the application level. | |
| ▲ | verdverm 15 minutes ago | parent | prev | next [-] | | ADK comes in Go, Java, Python, and TS Same framework, multiple languages, let people decide their preference while having consistency and interoperability | |
| ▲ | jdw64 6 hours ago | parent | prev | next [-] | | Not mentioning Java means we are already on the same wavelength. I love C# too. | |
| ▲ | morphology 3 hours ago | parent | prev | next [-] | | You're welcome to port anything over to those languages. LLMs can do it in a couple of days at most. | |
| ▲ | vips7L 6 hours ago | parent | prev | next [-] | | Kotlin and Scala too if you want the same type of strong type system as TypeScript | | |
| ▲ | wiseowise 5 hours ago | parent | next [-] | | Lipstick on Java with vendor lock in or another lipstick on Java made by and for academics, tough choice. | | |
| ▲ | dominotw 4 hours ago | parent [-] | | coded in scala for over a decade. i am glad i dont have to use it anymore. maybe i am just too stupid for it, never understood the point of all that. |
| |
| ▲ | braebo 4 hours ago | parent | prev [-] | | No type system is as strong as TypeScript — certainly not Kotlin. |
| |
| ▲ | wiseowise 5 hours ago | parent | prev [-] | | One is stuck in 80s and another doesn’t even have official open source debugger, are you serious? | | |
| ▲ | pikedev 5 hours ago | parent [-] | | C# is still getting yearly updates and is a joy to work with really. |
|
|
|
| ▲ | skullone 4 hours ago | parent | prev [-] |
| Another typescript library! Woohoo! |