Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Differences between SpringAI and LangChain4j frameworks #118

Unanswered
iAMSagar44 asked this question in Q&A
Discussion options

I can create Agents and an Agentic workflow in Java using SpringAI or Langchain4j frameworks as well. How is Google's ADK for Java different to these frameworks? It would be good to get some clarify on how this SDK can be used along with these frameworks.

You must be logged in to vote

Replies: 1 comment

Comment options

I tested langchain4j agentic platform and the main difference I see is configurability.

The langchain4j agentic platform is fully declarative, meaning that you have to declare your agents in interfaces in pure java code with annotation syntaxes, and this seems to be really enforced, to the point that you can't define purely your agent with builders.(for example, defining a "User template" was enforced with annotations for example).

I haven't seen this with ADK, where you can fully configure your agent with their builders and pick the way you instantiate your agents.

This is a crucial point if you need to configure your agent from a database or configuration files for example.

This clearly delineate a separation of concern between a fully "annotation" based framework, vs a core framework that works on builders, that seems more clever, because it doesn't prevent to build the declarative implementation based on that core framework later on.

Declarative frameworks looks more like playground than really matured frameworks - even though you could expect to have your agent code versioned in your repository, with traceability, etc, it doesn't work when your application offers agents configurability, with quick iterations etc...

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /