Categories
Artificial Intelligence Journalism Software Engineering Tutorial

Evolving Errors – New Error Patterns In Remote Services, APIs, and Software With AI Agents

AI Agents Create New Types of Error Patterns in Remote Services, APIs, and Software

This article is about how AI agents manifest new errors that we have not previously been facing in computing and software engineering.

Why Are These Errors Novel?

Widespread use of authorized 3rd party AI agents interacting with your API or system remotely on behalf on consumers or businesses have not been widespread, high-volume, or using higher levels of threaded AI reasoning until the release and promotion of the OpenAI GPT Store.

With the introduction of conversational, threaded AI agents available to all consumers comes brand new ways errors can occur on your servers. Once the AI agents are calling to your services expect to see things that traditional functional algorithmic programming simply wouldn’t do. Some of these errors are similar to errors or attack vectors already in existence; the fundamentals of 1’s and 0’s still remain, but the novelty in this situation (novelty like new, not novelty like fun) is that these errors have reshaped and will manifest in strange new ways.

Let’s look at some generic ways AI agents manifest new types of errors in your server logs.

Error #1 – The Fake ID

Summary

When an AI exceeds its context window it may have dropped the tokens of system IDs it got from your server. On subsequent requests the AI will spontaneously generate incorrect type-correct remote system IDs.

Error Process

  1. User triggers AI agent to fetch the data of their latest post from the server.
  2. The server responds with the latest post and the latest post’s ID number.
  3. User uses AI agent to edit the content of the post.
  4. The action of editing the post causes the AI agent to exceed the input token context window and the post ID is dropped as a token.
  5. The user completes editing their post and instructs the AI agent to upload the edits to the server.
  6. The edited post content is sent to the server and in order to correctly form the request the AI agent generates a type-correct value for the ID.
  7. The request is rejected because the ID is incorrect.
  8. The AI agent is unable to adjust and fix the error as it no longer has access to the remote system ID, and it ultimately ends up in a failure state for the action.

Novelty

Previously computer programs did not spontaneously generate type-correct remote system IDs client-side.

Real-World Impact

    • You may accidentally overwrite entirely different objects or entities.
    • You may see a large increase in “incorrect ID” related errors in your server logs.
    • You may need to introduce AI directives to cache or store important IDs.
    • You may need to additional validation code.
    • You may need to additional confirmation flows.
    • You may need to introduce AI directives related to caching or repetition of of important IDs within a process to keep them in the token context window.

Error #2 – Acts of Creation

Summary

When an AI exceeds its context window it may have dropped the tokens of system IDs it got from your server.
On subsequent requests the AI will recognize that it does not have an ID and attempt to make a call to create a new entity or object. This can cause a number of issues depending on the type of object being created.

Error Process

      1. User triggers AI agent to fetch the data of their latest post from the server.
      2. The server responds with the latest post and the latest post’s ID number.
      3. User uses AI agent to edit the content of the post.
      4. The action of editing the post causes the AI agent to exceed the input token context window and the post ID is dropped as a token.
      5. The user completes editing their post and instructs the AI agent to upload the edits to the server.
      6. The AI agent recognizes it does not have an ID and calls to a creation endpoint, thereby creating a new article.
      7. The request is accepted and the post is duplicated.
      8. The AI agent is unable to get the original system ID and continues to spam the creation endpoint.

Novelty

Previously computer programs in editing mode did not spontaneously switch to a creation mode.

Real-World Impact

      • You may duplicate or recreate objects and data erroneously.
      • You may see a large increase in calls to creation methods.
      • You may need to introduce AI directives to cache or store important IDs.
      • You may need to additional validation code.
      • You may need to additional confirmation flows.
      • You may need to introduce AI directives related to caching or repetition of of important IDs within a process to keep them in the token context window.

Error #3 – Gobbledygook

Summary

An AI may correct generate part of a data structure for a request but may send along type-correct nonsense for the rest of the request.

Error Process

        1. User triggers AI agent to fetch the data of their latest post from the server.
        2. The server responds with the latest post and the latest post’s ID number.
        3. User uses AI agent to edit the content of the post.
        4. The action of editing the post causes the AI agent to exceed the input token context window and the post title is dropped as a token.
        5. The user completes editing their post and instructs the AI agent to upload the edits to the server.
        6. The AI agent recognizes it does not have a title for the article and generates a title to properly form the request.
        7. The request is accepted and the title is erroneously changed.

Novelty

Previously computer programs did not spontaneously generate type-correct nonsense client-side as part of request packet creation.

Real-World Impact

        • You may edit or overwrite data accidentally but not fail any type checks.
        • You may need to introduce AI directives to cache or store important parts of objects and entities.
        • You may need to additional validation code.
        • You may need to additional confirmation flows.
        • You may need to introduce AI directives related to caching or repetition of of important data within a process to keep them in the token context window.

Error #4 – Make Fetch Happen (aka AI Stampede)

Summary

If a request fails the AI will not back off from making that request again (unless you give it an explicit directive to stop retries.

Error Process

          1. User triggers AI agent to fetch the data of their latest post from the server.
          2. The server responds with the latest post and the latest post’s ID number.
          3. User uses AI agent to edit the content of the post.
          4. The action of editing the post causes the AI agent to exceed the input token context window and the post ID is dropped as a token.
          5. The user completes editing their post and instructs the AI agent to upload the edits to the server.
          6. The AI agent generates a post ID and it is incorrect.
          7. The request fails but the AI agent has no directive to stop retrying so it continues to make the request infinitely.

Novelty

Previously computer programs would fail on incorrect requests and not continue to retry them unless explicitly programmed to do retry requests.

Real-World Impact

          • You may DDoS your own server.
          • You may tie up your AI agents and models processing the same request over and over again.
          • You may need to introduce AI directives to cache or store important IDs.
          • You may need to additional confirmation flows.
          • You may need to introduce AI directives related to caching or repetition of of important data within a process to keep them in the token context window.
          • You may need to introduce AI directives to stop retrying requests.
          • You may need to introduce ways to terminate AI agents or request processes.

This Is Not A Comprehensive List of Errors

These are real-world errors I have encountered in my own work with AI agents including developing with ChatGPT Plugins, Custom GPTs, BabyAGI, and AutoGPT.

There are likely many more errors that can occur and these errors will manifest in their own novel ways depending on your systems.

A Troublesome Imp Is Born: Domain Check Autotweeting Trending Topic Dot Coms

Domain Check Now Tweets Available Trending Dot Com Domain Names

Before you go any further, be sure to follow it @domaincheckplug

As you would expect with anything retweeting anything from Twitter the results of the available .com domain names from the Domain Check Twitter Bot are predictably hilarious on occasion. Thankfully the Domain Check Twitter Bot is just a reflection of what is actually happening on Twitter and not tweeting this ridiculous stuff on its own. Some of the hashtags and trending topics it retweets are actually pretty good and a few of the domain names flirt with staying power. Its surprising what’s taken and what’s not registered yet, everything from gems like demtownhall.com to strippernamefails.com.

Gotta Stay Relevant

Definitely worth following Domain Check on Twitter for a few days, and since its a quick thing to digest with no clicking necessary it makes the .com names it puts are are like good one-liners

Domain Check Twitter if you missed the link, @domaincheckplug

Domain Check Plugin if you want to look up domain names and SSL certificates

New WordPress Plugin is Live! Check out Domain Check

Just Launched a WordPress Plugin: Domain Check!

One of the reasons this blog has been lagging behind in awesome content is because its been building up a backlog of awesome content until this moment because Domain Check has launched! Domain Check is a WordPress plugin born of my own needs from years of working at web companies. You have no idea how complicated it gets when you have multiple, possibly hundreds of, domains and SSL certificates all coming up for renewal with various internal properties and clients and what’s parked and what shouldn’t be renewed… you get the idea. There’s no comprehensive tool out there for managing your domains within your WordPress admin, so Domain Check was created.

Domain Check Features

A quick overview of Domain Check is basically that you can have a quick display of all your domain names and SSL certificates and easily what’s coming up for renewal or expiration and make sure multiple people are getting alerts. Its a bit of a pain in the butt to set up multiple email alerts for expiration across multiple registrars and SSL certificate providers, especially when dealing with domains or certs provided by clients. Domain Check also keeps a list of what you’re searching so you can see you favorite domains that are available if you aren’t buying your domain name today.

Fresh Coupons and Coupon Codes Delivered Daily

One of the highlight features of Domain Check is the daily coupon delivery. No more searching for coupons and finding they don’t work or going to shady coupon sites searching for a deal. Every day the latest coupons and deals are updated a delivered directly to you. There is finally no excuse for not using coupons! (Something I am guilty of my admins have to remind me of all the time)

Domain Check is an Official WordPress.org Plugin

Yes, it is true, Domain Check is an official WordPress plugin! You can download the latest version from WordPress to manage all of your domains and SSL certificates and easily keep the latest version up-to-date. Use your WordPress blog as a dashboard for managing your domains and make sure

There’s Gold In Them Thar Typo Domains!

Digging For Gold in Typo Domains

This blog and this entire site are mostly a free time diversion from my daily job so I like to screw around with new things and poke at stuff with stick, last night it was typo domains. Typo domains get a bad rep for a reason: they’re mostly useless and they’re legally questionable. The useless part comes from the fact browsers don’t just default to .com anymore in the address bar they search so typos are not that valuable. Typo domains are legally questionable if you take typos from a brand or business that’s copyright protected, they can take you to court and sue the pants off you for your domains. We’re not talking about your soon-to-be-pantsless illegal cybersquatting type of typos, we’re talking type in typos for huge general word searches.

Typo Domains 101: The Basics

Step 1: acquire a typo generator. This is easily done by searching for typo generators online. Get a good one that gives you multiple types of typos relevant to domains, there are several ways people bone typing things in. Once you’ve got a typo generator then its time to find your keywords. Think of some generic words that people might search. The shorter the word less likely they are to be typos, there’s simply less letters. But shorter words are more common. Its a bit of a trade-off but you should have a preference for popularity and shorter words as you are trying to grab as much free traffic as possible. Also, for example, you won’t find any typo domains for the keyword “ssl”. Why is that? Because “ssl” is only 3 letters and most 3 letter domains are taken and most good 4 letter domains are taken. Explore several keywords to see what’s available but don’t go too far.

Identify the Best Typos

If you see a typo you commonly make on a word chances are a lot of people are making that same typo. Does the typo involve inserting letters in to a double letter set like “boloks” for “books”? That’s an unlikely typo, it may not be the best choice. Does the typo read phonetically somewhat like the actual word, like “boks” or “bookx”? That may be a more natural typo for some people.

The Aftermath: What Happens After You Buy a Typo Domain

Nothing. So you went ahead and pulled the trigger and purchased some typo domains? I already told you, its probably a bad idea. They hardly get any traffic. If you are tracking the traffic to a typo domain you probably won’t see any “typo” type in traffic for 24 to 72 hours avis generic viagra. That’s because DNS hasn’t propagated fully yet. Once your DNS record has been sent out and your WHOIS registration is available you’ll get a bunch of bot traffic. And by a bunch I mean 0 to 1 hits a day. Its not real people. You’ll also probably type in your own typo domain just to see, don’t forget to account for that if you’re doing any tracking. After that you’ll just have to wait because you’re basically parking a domain and that’s a risky game, its unlikely to generate much relevant, human traffic and even less revenue. Bummer.