HN user

zh2408

470 karma
Posts32
Comments45
View on HN
github.com 9mo ago

Show HN: 100-Line LLM Framework

zh2408
4pts0
the-pocket.github.io 1y ago

Your LLM Framework Only Needs 100 Lines

zh2408
3pts1
pocketflow.substack.com 1y ago

LLM Agents and Context: A Warrior's Guide to Navigating the Dungeon

zh2408
4pts0
pocketflow.substack.com 1y ago

LLM Agent's Arsenal: A Beginner's Guide to the Action Space

zh2408
1pts0
github.com 1y ago

Show HN: I built an AI chatbot that learns from your website to answer questions

zh2408
2pts0
pocketflow.substack.com 1y ago

Structured Output for Beginners and 3 Prompting Tips

zh2408
2pts0
pocketflow.substack.com 1y ago

Build AI Code Generator from Scratch

zh2408
1pts1
pocketflow.substack.com 1y ago

Build Your Own Voice Chatbot from Scratch

zh2408
1pts0
github.com 1y ago

Show HN: LLM Agents Play Among Us-Like Game

zh2408
2pts0
github.com 1y ago

Show HN: I built an AI that turns GitHub codebases into easy tutorials

zh2408
923pts172
zacharyhuang.substack.com 1y ago

Build Chain-of-Thought from Scratch – Tutorial for Dummies

zh2408
2pts0
zacharyhuang.substack.com 1y ago

A2A Protocol Simply Explained: Here are 3 key differences to MCP

zh2408
4pts1
zacharyhuang.substack.com 1y ago

MCP Simply Explained: Function Calling Rebranded or Genuine Breakthrough?

zh2408
4pts0
github.com 1y ago

Show HN: AI Explains Complex Codebase in 5 Minutes (Open Sourced)

zh2408
3pts0
zacharyhuang.substack.com 1y ago

Build RAG from Scratch – Tutorial for Dummies

zh2408
2pts0
zacharyhuang.substack.com 1y ago

I Built an LLM Framework in Just 100 Lines – Here Is Why

zh2408
12pts0
zacharyhuang.substack.com 1y ago

Agentic Coding: Let Agents Build Agents for You

zh2408
2pts0
zacharyhuang.substack.com 1y ago

Build AI Agent Memory from Scratch – Tutorial for Dummies

zh2408
3pts0
zacharyhuang.substack.com 1y ago

LLM Agents Are Simply Graph – Tutorial for Dummies

zh2408
263pts80
github.com 1y ago

Show HN: I built an Open-Source Cursor Agent, with Cursor

zh2408
2pts1
pocket-pg-851564657364.us-east1.run.app 1y ago

Show HN: Ask AI Paul Graham

zh2408
1pts0
github.com 1y ago

Show HN: Ask AI Paul Graham (Open Sourced)

zh2408
6pts3
github.com 1y ago

Show HN: I built an agent to write personalized cold email opener

zh2408
3pts1
github.com 1y ago

Show HN: I built an LLM Agent Framework in 100 lines of code

zh2408
2pts0
github.com 1y ago

Show HN: AI YC Partner Agent

zh2408
3pts1
github.com 1y ago

Show HN: A 100-Line LLM Framework

zh2408
9pts0
news.ycombinator.com 1y ago

Ask HN: Any AI tools that help you make sense of a large repo?

zh2408
5pts1
cocoon-demo-851564657364.us-east1.run.app 1y ago

Show HN: Data Transformation During Customer Onboarding

zh2408
1pts0
cocoon-rag.github.io 1y ago

Show HN: RAG Large Data Pipeline with 1000 Models

zh2408
2pts0
cocoon-data-transformation.github.io 2y ago

Show HN: An open-source tool that cleans tables using LLMs

zh2408
1pts1

By default we use both based on regex:

DEFAULT_INCLUDE_PATTERNS = { ".py", ".js", ".jsx", ".ts", ".tsx", ".go", ".java", ".pyi", ".pyx", ".c", ".cc", ".cpp", ".h", ".md", ".rst", "Dockerfile", "Makefile", ".yaml", ".yml", } DEFAULT_EXCLUDE_PATTERNS = { "test", "tests/", "docs/", "examples/", "v1/", "dist/", "build/", "experimental/", "deprecated/", "legacy/", ".git/", ".github/", ".next/", ".vscode/", "obj/", "bin/", "node_modules/", ".log" }

No, I haven't, but I will check it out!

One thing to note is that the tutorial generation depends largely on Gemini 2.5 Pro. Its code understanding ability is very good, combined with its large 1M context window for a holistic understanding of the code. This leads to very satisfactory tutorial results.

However, Gemini 2.5 Pro was released just late last month. Since Komment.ai launched earlier this year, I don't think models at that time could generate results of that quality.

Yes! This is an initial prototype. Good to see the interest, and I'm considering digging deeper by creating more tailored tutorials for different types of projects. E.g., if we know it's web dev, we could generate tutorials based more on request flows, API endpoints, database interactions, etc. If we know it's a more long-term maintained projects, we can focus on identifying refactoring patterns.

Let me clarify: we are discussing how the Agent is internally implemented, given LLM calls and tools. It can be built using a graph, where one node makes decisions that branch out to tools and can loop back.

The workflow can vary. For example, it can involve multiple LLM calls chained together without branching or looping. It can also be built using a graph.

I know the terms "graph" and "workflow" can be a bit confusing. It’s like we have a low-level 'cache' at the CPU level and then a high-level 'cache' in software.

By low-level, it is with respect to the agent interface.

The original purpose is to help people understand how the inner agent framework is internally implemented, like those:

OpenAI Agents: https://github.com/openai/openai-agents-python/blob/48ff99bb... Pydantic Agents: https://github.com/pydantic/pydantic-ai/blob/4c0f384a0626299... Langchain: https://github.com/langchain-ai/langchain/blob/4d1d726e61ed5... LangGraph: https://github.com/langchain-ai/langgraph/blob/24f7d7c4399e2...

It’s kind of like the different levels of abstraction.

For example, for software projects, the algorithmic level is where most people focus because that’s typically where the biggest optimizations happen. But in some critical scenarios, you have to peel back those layers—down to how the hardware or compiler works—to make the best choices (like picking the right CPU/GPU).

Likewise, with agents, you can work with high-level abstractions for most applications. But if you need to optimize or compare different approaches (tool use vs. MCP vs. prompt-based, for instance), you have to dig deeper into how they’re actually implemented.