Paul O'Brien

Paul O'Brien

/xyzormax

Paul O'Brien

DIY AI Automations using NOCODE

User Avatar

Paul O'Brien

2y ago

The ‘7 Levels’ of Business AI Mastery

Which one are you?

Level 1: Standard Large Language Model (LLM) Prompts

Using text prompts to ask the LLM to do something, and getting either a text response, or an image.
More advanced usage; using no-code formulas to inject data into the prompt and extract data from the response.

Level 2: LLM plus Live Web Search

Using LLMs that search the web as part of their response, for immediate and up-to-date information.

Level 3: Retrieval Augmented Generation (RAG): Upload Your Business Data & Documents

Uploading your company’s own information (data tables, documents, media, etc.) so they are included by the LLM in their responses.

Level 4: AI Agents & Agentic Workflows

Building AI Agents: autonomous pieces of software that combine business logic with AI prompts and RAG to perform business tasks.
Then chaining several AI Agents together into an Agentic Workflow that automate complicated Standard Operating Procedures (SOP).

Level 5: AI Agentic Workflows with User Interfacing (UI) Apps

Integrating the AI Agentic Workflows into existing Apps and Automated Processes which have User Interfaces for human interactions.

Level 6: Agentic UI Workflows with Structured AI Languages (SaiL)

Advancing beyond imprecise ‘Prompt Engineering’ trickery to using ‘Structured AI Language’ (SaiL) prompts that are more like Spreadsheet formulas.
Business experts easily can define complicated logic and computations, beyond the ability of purely text-based prompting.

Level 7: Expert Systems that Learn from Experience

Building AI Expert Systems that use complicated Rules with ‘fuzzy-logic’, just like human experts, to solve problems autonomously.
These systems learn as they go, and refine the Rules or add new ones based on experience.

User Avatar

Paul O'Brien

2y ago

I built several AI Agents to automate a Business Process for a client. An AI Agent is an autonomous self-contained object that contains complex logic (loops and branches) and several prompt/response cycles using an LLM.

I built this using LangChain about a year ago and it involved a lot of reasonably advanced Python coding to make it work. This was not ideal for my client, who had no programming skills - they used a no-code platform for their automations.

As I built a few more agents, I began to see the patterns involved and had a bit of a thought... could I build these agents inside the same no-code tool that the client was using?

It turns out that I could indeed build autonomous AI Agents using the same no-code tool. In fact, this technique will work for several popular no-code platforms, like: Notion, Google-sheets, Excel, Coda, Airtable, Appsheet, Bubble, and any other no-code tool that supports an interface to an LLM.

I built each agent as a separate TABLE, where each instance of a running agent was a row in that table. So to fire-up a new agent, you added a new row to that table. When the agent was finished running, it deleted itself from the table.

There was an INPUT column, which you set when you created the new row, and a START action (button) that you triggered to run the agent.

The START action contained the formula to define the internal logic for the agent. It triggered the necessary prompt/response LLM refreshes and then evaluated the results. When it was finished, it could store or update data in the applications tables, and decide which agent should be triggered next based on the results.

Each LLM prompt/response column in the agent table had several formulas to marshal the prompt and result. One formula built up the prompt, including data values from the application's tables. Once the LLM generated its response, another formula parsed the result, and stored or updated the data in the applications tables.

The big advantage of this approach is that the client can understand the whole process and maintain and change it in the future.