Graph Engineering Explained #aiengineer #softwareengineer

4 Просмотры
Издатель
First it was prompt engineering. Now people are talking about graph engineering. But what does that actually mean?
Peter Steinberger, the creator of OpenClaw, tweeted, “Are we still talking loops or did we shift to graphs yet?”
And the team behind LangGraph published a whole breakdown. So let me explain.
With prompting, you might say, “Write this code.” Then you check it, find a mistake, and ask it to try again.
With graph engineering, you build those steps and decisions into the system.
So imagine an AI that writes code, runs the tests, and checks the results.
If a test fails, the workflow sends the code back for another attempt. If everything passes, it comes to you for approval.
Each step is called a node. The connections that determine what happens next are edges. And the information carried through the workflow, like the code and test results, is its state.
A step can run regular code, call an AI model, or even run an entire agent.
Basically, you’re building a flowchart your system actually executes. You decide where AI gets flexibility and where specific rules must be followed.
And yes, that graph can include loops. You can also branch into different paths or run work in parallel.
But two things to watch out for.
First, give retries a limit so a failing task doesn’t keep burning tokens.
Second, don’t force every task into a rigid workflow. Sometimes the agent needs room to figure out the steps.

https://drive.google.com/file/d/1Sr-YNL7FecmuH6BFK1nnH7ng9YjVn_jl/view?usp=sharing
Категория
Схемы по заработку в интернете
Комментариев нет.