Finally, somebody has managed to take llm's and find a use for them which is actually usefull. What a company called Artcraft has done is take multiple llm's, each specialising in slightly different things, and put them together in a way where together they allow for clean room reverse engineering of the adobe graphics programs, and in under a week have already got to the point where it has usable results from open source code.

In fact, for the three main programs, they are already 70 percent feature complete, and there is no technical reason why they can't get all the way there.

More importantly, there is no fundamental reason why the same process cannot be used for any proprietary program that is potentially scriptable.

The process is actually remarkably simple in principle:

  1. Find a program you would like to recreate. Adobe's photoshop and lightroom are good examples, because for years the fact that they will not release a linux version has been a problem.
  2. Write a little driver program which can pass inputs to it, and record all of the outputs. This is easier for some types of programs than others, but possible for most.
  3. Use that driver program to generate a test case where you get some result.
  4. Use the set of current test cases to generate new tests.
  5. Run those new tests and capture the output from the original program.
  6. If the new test produces different output, add it to the set of tests, and use the extended set to generate more new tests.
  7. Continue until no new output is available.

This quickly produces an executable specification. From this point, you can begin writing the replacement program, using those tests as the input.

  1. Pick a test, preferably one of the simpler ones.
  2. Write some code to pass the test.
  3. Run the test against the new code and record the results.
  4. Use the difference between the two results to generate extra fine grained tests to specify the gap.
  5. Use those finer grained tests to generate code to close the gap.
  6. Continue until the original test passes.
  7. Continue until all of the tests pass, without any differences.
At this point, you have a new program which does exactly the same thing, while using none of the same code.

This two stage process is called reverse engineering. If the two processes are done by unconnected teams, it is called clean room reverse engineering, as the second team never touches the code the first team is specifying.

This is all settled law. copyright only protects the original code, not the idea. Trade secrets protect it by being secret. Trademarks only protect company branding.

Patents should only provide a short term, limited protection for the implimentation, but lawyers like to obfuscate the patent to make it as broad as possible, to make it cheaper to pay rent for using it than to sucessfully challenge the scope. It should also only apply to original new work. In practice, worldwide the patent system is broken, in some places worse than others.

Where Artcraft were clever waas by using a collection of different ai's to automate every step. This is what generated such rapid progress, Which fundamentally threatens the business model of most proprietary software, which maintains dominence through being to big and expensive to copy. This was already under threat from open source software, but the speed and scale of this project fundamentally changes the rules.

The main problem they will have comes from the fundamental weakness of how llm's work, and how they are trained, which include the following:

  1. They are a black box system, so you have no way of knowing where the generated code came from, or even if it infringes.
  2. They are trained by scooping up every source code repository they can freely access, ignoring licensing information, which leaves you vulnerable to harvesting incorrectly opened proprietary code.
  3. They have been observed in the wild generating exact copies of the training data if either the sample size was to small, or the specification was too similar.
  4. The law only protects stuff created by individuals, or work for hire they do for companies, and as ai's are not alive, it is debatable if it is covered at all.
This combination creates a legal nightmare, which is why a lot of open source projects are severely limiting where and how ai can be used in the project. point 1 makes it impossible to defend in court. point 2 and 3 make it likely that any sufficiently large code base is more likely than not to infringe someone, you just don't know who. Point 4 makes it impossible to protect your own work.

Taken together, this makes it extremely likely they will be challenged, and will find it hard to defend, but does not significantly change the challenge for proprietary software companies, only the scope and cost of enforcement.