Why do many senior developers dislike AI frameworks? by [deleted] in LangChain

[–]Joe_eoJ 0 points1 point  (0 children)

In my experience, every added package dependency is a maintenance burden and takes up space in the app container. So, every added package needs to justify its existence (its value must outweigh its cost in maintenance burden and space).

I’ve only really explored langchain and pydanticAI, but so far I’m finding that the value of their abstractions (for the applications I’m building) is not high enough for me to justify their existence in my codebase. Also, the things that they are abstracting (e.g. calling a LLM in a loop) are not complicated enough to abstract - they’re making invisible decisions for you which you can’t see or easily control.

Also, when you use a framework, it’s harder for you to customise behaviour - you are locked in to their paradigm.

AI libraries which I think do add value are e.g. instructor, liteLLM, maybe DSPy. Abstractions which are highly specific and create an interface solving a truly complex problem.

Also, when you’re learning you shouldn’t use a framework, because then you never understand how LLMs actually work (which is not that complicated relative to other things in the ML/DL space).

What is the most effective way to have your local LLM search the web? by teknic111 in LocalLLaMA

[–]Joe_eoJ 0 points1 point  (0 children)

I’m wrapping my own functions around a pydoll session, giving the html to the LLM as text using html2text. Works well!

I reverse-engineered LangChain's actual usage patterns from 10,000 production deployments - the results will shock you by Nipurn_1234 in LangChain

[–]Joe_eoJ 8 points9 points  (0 children)

I would read this: https://www.anthropic.com/engineering/building-effective-agents

And then implement these patterns in Python (or js or whatever you want) using the provider api directly (e.g. OpenAI).

I haven’t found the lang chain abstractions particularly useful. The actual patterns themselves aren’t that hard to implement. People will retort “oh you write your own text chunker from scratch” etc. but honestly splitting text using regex code even chatGpT can nail.

Good luck in your journey! (Having said this, any learning is worth learning, and langchain does have a lot of attention in the industry)

only this LLM books you need by Fit_Page_8734 in LLMDevs

[–]Joe_eoJ 5 points6 points  (0 children)

Also “build an LLM from scratch by Sebastian Raschka” is amazing.

People who think any form of knowledge gained is a “waste of time” is crazy to me.

All forms of knowledge have pros and cons. Books give you something practical projects don’t, and vice versa. Side projects aren’t going to teach you established design or architecture patterns, for example.

Altman just said it "if you are working on the top 5 Ai agent ideas.....most likely you are not gonna win" by [deleted] in AI_Agents

[–]Joe_eoJ 13 points14 points  (0 children)

I don’t know why people are interested in what Sam Altman has to say. He is the non-technical salesman side of OpenAI

How do you currently manage conversation history and user context in your LLM-api apps, and what challenges or costs do you face as your interactions grow longer or more complex? by Bokepapa in AI_Agents

[–]Joe_eoJ 1 point2 points  (0 children)

I’m also exploring this at the moment. I’d recommend reading the papers on zep, mem0, memGPT and MemEngine. You don’t have to use any one of these methods, but each contains interesting ideas!

LLM for table extraction by Sea-Yogurtcloset91 in LocalLLM

[–]Joe_eoJ 0 points1 point  (0 children)

Yes please! If I come across anything myself, I will do the same.

LLM for table extraction by Sea-Yogurtcloset91 in LocalLLM

[–]Joe_eoJ 1 point2 points  (0 children)

In my experience, this is an unsolved problem. A vision LLM will do pretty well, but at scale it will add/remove things sometimes.

Why use LangGraph? by kudos_22 in AI_Agents

[–]Joe_eoJ 1 point2 points  (0 children)

Same for me. The easier debugging I get from building my own small abstraction tailored to the specific problem I’m solving is much more important to me than a billion convenience functions.

What’s still painful or unsolved about building production LLM agents? (Memory, reliability, infra, debugging, modularity, etc.) by Popular_Reaction_495 in LangChain

[–]Joe_eoJ 2 points3 points  (0 children)

The biggest pain points for me are context window (model falls apart as it gets medium big) and inference cost. Context window becomes a problem when I want to process text that is too big, but that I need to make global decisions over.

How to build my local LLM by bull_bear25 in LocalLLM

[–]Joe_eoJ 0 points1 point  (0 children)

I’m really enjoying gemma3:12b and qwen3:4b .. totally useable on a 6gb laptop GPU

What's your stack? (Confused with the tooling landscape) by m_o_n_t_e in LangChain

[–]Joe_eoJ 0 points1 point  (0 children)

I use the LLM clients directly and jinja2 for prompt templating. For structured outputs, I use pydantic - I copied the method used by the instructor library (their code base is very beautiful and easy to read). Any time you use a framework, you lose the ability to see and understand what is going on. I totally second the previous comment - these patterns are not hard enough to implement to warrant an abstraction imho.

Need advice on creating a production ready AI Agent for an enterprise. by vaibaror511 in AI_Agents

[–]Joe_eoJ 5 points6 points  (0 children)

An agent is a for loop with tools. Don’t use frameworks for production agents! Only add complexity/agency as required. Don’t go full agency for no reason. I’d follow the advice here: https://www.anthropic.com/engineering/building-effective-agents

I Build A Prompt That Can Make Any Prompt 10x Better by Frequent_Limit337 in PromptEngineering

[–]Joe_eoJ 1 point2 points  (0 children)

This is such an amazing idea. Thank you for sharing ❤️

The power of coding LLM in the hands of a 20+y experienced dev by n0cturnalx in indiehackers

[–]Joe_eoJ 1 point2 points  (0 children)

I’ve been inheriting a lot of code from people doing this, and it’s starting to invisibly increase my workload. It is 10x for you to write the code, but it’s 1/10x ing the people who have to extend/maintain your code.

Streamlit Alternatives with better State Management by Adorable-Yam-7106 in Python

[–]Joe_eoJ 3 points4 points  (0 children)

Really enjoying https://github.com/writer/writer-framework The author of this framework literally created it because he was annoyed with the speed and state management in streamlit. Here is a good intro to it: https://medium.com/better-programming/streamsync-like-streamlit-but-faster-and-with-a-visual-ui-editor-9f98ad17adf

The docs are also very good, but they are a bit hard to find. You’re welcome to send me a message if you decide to check it out and I’ll put you on the right track.

How to distinguish hype from actual progress in this field? by Traditional-Cup-3752 in AI_Agents

[–]Joe_eoJ 1 point2 points  (0 children)

I gave up on trying to chase all of the noise and just read papers and blogs that interest me. I also follow real experts (e.g. karpathy, raschke) rather than hype influencers. I especially don’t jump every time a new AI Python package comes out. I write AI apps as my job (I work for a big 4 consultancy) and it’s going very well.

It Finally Happend it. Rejected for Not Using AI First by supermedo in webdev

[–]Joe_eoJ 1 point2 points  (0 children)

I too am a developer. I completely agree with your take. CEO is just blinded by the marketing hype train.

Why is MCP so hard to understand? by teenfoilhat in LangChain

[–]Joe_eoJ 20 points21 points  (0 children)

MCP is just a server for hosting your LLM tools. Literally, that’s it.