Dify, a visual workflow to build/test LLM applications

184 points
1/20/1970
11 days ago
by mountainview

Comments


jeswin

> Dify is licensed under the Apache License 2.0, with the following additional conditions ...

I am totally fine with closed-source/commercial licenses, but please don't do a "Like Apache 2.0 but not really" type of license. It just confuses everyone.

You can pick from SSPL, BSL, Elastic license among others if you don't want to roll out your own.

> 2. As a contributor, you should agree that: a. The producer can adjust the open-source agreement to be more strict or relaxed as deemed necessary. b. Your contributed code may be used for commercial purposes, including but not limited to its cloud business operations.

This is not very contributor-friendly.

You could consider keeping an open-source core, and extensions for paid features.

11 days ago

ivanhoe

> This is not very contributor-friendly.

You've put it way too politely IMHO. It's a license designed to attract contributors to help build their product for free, but leaves space for them to just re-license the product and sell it when the opportunity arises. It's not like we haven't seen this play already, and it hurts both contributors and users...

11 days ago

sandGorgon

genuine question - out of the closed-source/commercial licenses, which ones are the most developer friendly ?

11 days ago

jeswin

By commercial licenses, I meant those written by lawyers specifically for the product.

But usually you could just go with something like SSPL - which has sufficient protections for the developer (but not the user).

11 days ago

choppaface

Wow I've never seen so many fake accounts on a HN post before. So then is it fair to say the Github stars for this project could also perhaps be artificially inflated? This month they started to go exponential: https://github.com/langgenius/dify?tab=readme-ov-file#star-h...

11 days ago

loginx

Well, I think a lot of the uptick happened last week because that's when it was published in the Toughtworks Tech Radar for this quarter. The audience is large, presumably larger than HN, and that's how I found out about it and have been toying with it since then. I have no idea what I'm doing, but as far as I can tell, this seems like a legitimate project.

11 days ago

sdesol

This aligns with what you said:

https://devboard.gitsense.com/langgenius?id=4d1dec9067&r=lan...

I created insights for the last 4 weeks and number of new contributors and stars peaked last week. This project has all the signs of a successfully organically grown project.

11 days ago

choppaface

never heard of tech radar, interesting thanks!

11 days ago

nerdponx

The AI Girlfriend posts are on a lot of threads today, not just this one. But you never know.

11 days ago

jsunderland323

Yup, this reeks of sock puppets

11 days ago

Havoc

Had someone mention it to me yesterday in an organic convo so there are definitely people out there using it (seemingly happily).

Haven’t tried it yet - still evaluating autogen.

11 days ago

sdesol

> Github stars for this project could also perhaps be artificially inflated?

Maybe, but I don't think so. The number of people engaging with the project is what I would expect from the number of stars received.

https://devboard.gitsense.com/langgenius?r=langgenius%2Fdify...

I've seen projects with 5,000+ stars in a month and only have 20-30 people interacting with the project.

Full disclosure: This is my tool

11 days ago

swyx

"5.5k stargazzers"

fyi typo

10 days ago

huevosabio

How does it compare with MagickML?

https://github.com/Oneirocom/Magick

11 days ago

jacobheller

Very slick and potentially very powerful. After a few minutes playing with it, I have a few recommendations:

- Variables should have more types, like an array of objects

- Prompting should incorporate Jinja2/Nunjucks

- For every prompt, I should be able to create many different test examples, along with an answer key, and measure how well it does across many tests

- It should auto-save. I did a lot of prompting work and then clicked another icon. When I came back, all my work was gone. (In fact, I don't see where to save at all! Maybe I'm just missing it.)

11 days ago

mjos

How does this compare to n8n? https://github.com/n8n-io/n8n

11 days ago

3abiton

I don't think they have the same function

10 days ago

thomasfromcdnjs

What kind of people are using this AI dev platforms?

When do they become better then just rolling your own custom code?

11 days ago

guchenhe

I work on Dify.

what we're trying do with Dify currently is to let people put together prototypes quicker and either get to production or fail at a faster rate.

we've seen it being helpful for non-technical folks to collaborate on a project well (e.g. importing documents for knowledge base, creating no-code workflow apps, etc)

11 days ago

mosselman

Where are all these workflow apps getting their ui from? Is there some JavaScript library for boxes connected with lines?

10 days ago

burningion

Yes! https://reactflow.dev/ is what I’ve been using, has been great.

10 days ago

mosselman

Cool! Thanks for sharing. It explains why this type of ui is being used so often. Building this from scratch isn’t the hardest thing in the world, but I can imagine it is somewhat of a challenge to get just right

4 days ago

moklick

Dify looks super powerful! Always nice to see a React Flow app in the wild :)

11 days ago

prakashn27

All these spam comments have pushed this to the top feed

11 days ago

atleastoptimal

Sorry about all these spam comments lol

11 days ago

Bilal_io

I flagged a few, then realized the problem is way bigger than me

11 days ago

[deleted]
11 days ago

mdaniel

> https://github.com/langgenius/dify/blob/main/LICENSE

everyone is apparently a license pioneer

11 days ago

dudus

This is exactly the type of license Redis tried to move to when people got upset and forked it twice.

"Essentially Apache with restrictions"

11 days ago

waldrews

Yeah, that's kind of weird - Apache, except totally not Apache. They probably meant to do a source-available license with free non-commercial use allowing inbound contributions - makes sense for a startup, but... please get a lawyer and clean it up :).

11 days ago

guchenhe

team member here - totally see where you're coming from, we'll be relaxing this soon.

11 days ago

[deleted]
11 days ago

bashtoni

"AI means the end of coding" didn't age well.

It turns out to get the most out of LLMs you need to program them.

11 days ago

ekianjo

sql used to be the end of coding to retrieve data as well. the circle continues

11 days ago

teaearlgraycold

LLMs mean now you can write simple imperative code to perform NLP tasks.

11 days ago

[deleted]
11 days ago

SEXMCNIGGA6740

[dead]

11 days ago

SEXMCNIGGA42946

[dead]

11 days ago

SEXMCNIGGA1164

[dead]

11 days ago

SEXMCNIGGA13800

[dead]

11 days ago

SEXMCNIGGA28533

[dead]

11 days ago

SEXMCNIGGA29002

[dead]

11 days ago

SEXMCNIGGA12111

[dead]

11 days ago

SEXMCNIGGA40424

[dead]

11 days ago

SEXMCNIGGA36896

[dead]

11 days ago

SEXMCNIGGA44479

[dead]

11 days ago

2genders37737

[dead]

11 days ago

2genders16538

[dead]

11 days ago

SEXMCNIGGA10869

[dead]

11 days ago

SEXMCNIGGA28566

[dead]

11 days ago

SEXMCNIGGA22005

[dead]

11 days ago

SEXMCNIGGA37441

[dead]

11 days ago

SEXMCNIGGA43928

[dead]

11 days ago

SEXMCNIGGA24900

[dead]

11 days ago

2genders29717

[dead]

11 days ago

SEXMCNIGGA29077

[dead]

11 days ago

SEXMCNIGGA8027

[dead]

11 days ago

gryn

wtf is up with all these bots ?

it's ironic they decided to do this on a post about LLMs. Are they feeling threatened that LLMs are taking their jobs ?

11 days ago

sdesol

My theory is, there is an AI frameworks turf war going on and the bots are to ensure discussion is impossible or extremely difficult.

11 days ago

layman51

I’m seeing them in a bunch of other threads. This is the first time I have seen HN being spammed like this.

11 days ago

tomrod

Yeah super weird.

11 days ago

[deleted]
11 days ago

SEXMCNIGGA28642

[dead]

11 days ago

SEXMCNIGGA30160

[dead]

11 days ago

SEXMCNIGGA41824

[dead]

11 days ago

SEXMCNIGGA860

[dead]

11 days ago

SEXMCNIGGA3461

[dead]

11 days ago

2genders17822

[dead]

11 days ago

2genders35959

[dead]

11 days ago

2genders35361

[dead]

11 days ago

2genders20654

[dead]

11 days ago

2genders16991

[dead]

11 days ago

2genders38694

[dead]

11 days ago

2genders35226

[dead]

11 days ago

2genders42469

[dead]

11 days ago

SEXMCNIGGA14263

[dead]

11 days ago

SEXMCNIGGA27731

[dead]

11 days ago

2genders13957

[dead]

11 days ago

2genders35563

[flagged]

11 days ago

2genders39896

[flagged]

11 days ago

2genders11380

[flagged]

11 days ago

2genders45371

[flagged]

11 days ago

2genders14192

[flagged]

11 days ago

2genders6124

[flagged]

11 days ago

indianmilf23495

[flagged]

11 days ago

indianmilf42241

[flagged]

11 days ago

sexmc16541

[flagged]

11 days ago

sexmc48744

[flagged]

11 days ago

sexmc29836

[flagged]

11 days ago

sexmc31830

[flagged]

11 days ago

indianmilf15865

[flagged]

11 days ago

sexmc44258

[flagged]

11 days ago

2genders25672

[flagged]

11 days ago

2genders9816

[flagged]

11 days ago

2genders33756

[flagged]

11 days ago

nilsherzig

@dang (I hope it's okay to just that you, my nh reader doesn't seem to have a report button)

11 days ago

indianmilf4575

[flagged]

11 days ago

sexmc15675

[flagged]

11 days ago

2genders7486

[flagged]

11 days ago

Zambyte

[flagged]

11 days ago

[deleted]
11 days ago

2genders39931

[flagged]

11 days ago

sexmc19497

[flagged]

11 days ago

2genders2040

[flagged]

11 days ago

2genders39910

[flagged]

11 days ago

SEXMCNIGGA48054

[flagged]

11 days ago

2genders42558

[flagged]

11 days ago

2genders7486

[flagged]

11 days ago

SEXMCNIGGA21805

[flagged]

11 days ago

2genders17454

[flagged]

11 days ago

2genders15884

[flagged]

11 days ago

SEXMCNIGGA178

[flagged]

11 days ago

2genders3548

[flagged]

11 days ago

2genders46966

[flagged]

11 days ago

2genders31516

[flagged]

11 days ago

2genders33730

[flagged]

11 days ago

2genders49017

[flagged]

11 days ago

2genders20169

[flagged]

11 days ago

SEXMCNIGGA44423

[flagged]

11 days ago

2genders32635

[flagged]

11 days ago

2genders5822

[flagged]

11 days ago

2genders46002

[flagged]

11 days ago

2genders35538

[flagged]

11 days ago

2genders14678

[flagged]

11 days ago

2genders4679

[flagged]

11 days ago

2genders18

[flagged]

11 days ago

2genders11544

[flagged]

11 days ago

2genders44876

[flagged]

11 days ago