DEV Community

Shawn knight
Shawn knight

Posted on Originally published at Medium on

2026 Agents Case Study Series: It Worked on My Machine


2026 Agents Case Study Series Logo

How trying to use my own programming language changed the way I develop, test, and release software.

There's something I haven't really explained about the early development of Nodus.

When I released V1, I genuinely thought I was done.

Not necessarily done in the sense that I'd never add another feature or make another improvement.

But done in the sense that I'd built the language.

I'd spent days working with coding agents, developing the compiler, runtime, and execution mechanisms.

I'd gone through audits.

I'd established tests.

I'd frozen the opcode set.

And on March 15, 2026, Nodus reached version 1.0.0.

In my mind, that was a pretty significant accomplishment.

I'd created a programming language.

So I moved on.

Or, more accurately, I went back to working on A.I.N.D.Y.

Because by this point, I was already developing the two systems together.

In fact, just three days after Nodus reached V1, I began integrating it into A.I.N.D.Y.'s Memory Bridge.

Eventually, Nodus would become part of A.I.N.D.Y.'s execution architecture.

But at the time, I wasn't thinking about whether someone else could install Nodus on their computer.

I wasn't thinking about how Python packages were distributed.

And I definitely wasn't thinking about the difference between running a language from its source code and running the version someone downloads from the internet.

As far as I was concerned, Nodus worked.

I'd built it.

I'd tested it.

And I'd already started using it as part of another system.

What I hadn't realized was that those things didn't necessarily mean what I thought they meant.

Wait, How Do You Actually Distribute a Programming Language?

After a few weeks away from Nodus, I eventually returned to the project.

And one of the first things I had to learn was how software distribution actually worked.

Because Nodus V1 wasn't something you could simply install from PyPI.

It ran from the source tree.

And while that worked for development, it wasn't exactly a convenient way for someone else to start using the language.

So I started learning about packaging.

How Python packages are built.

How files are included in a distribution.

How command-line tools become available after installation.

And how someone can install software without having the original development repository sitting on their computer.

I also ran into a naming problem.

The package name I wanted was already taken.

So I had to resolve that before I could publish the language.

Eventually, I settled on nodus-lang.

And on April 11, 2026, I released Nodus v1.1.0 as its first installable PyPI package.

Now someone could install the language using:

pip install nodus-lang

That was another milestone.

I'd gone from creating a language that worked in my development environment to publishing something other people could actually download.

Or at least, that's what I thought.

Because there was still something I hadn't done.

I'd Built a Language I Didn't Know How to Use

This is probably one of the funnier parts of the whole experience.

I'd created a programming language.

I'd spent time learning about compilers, virtual machines, opcodes, and runtime architecture.

I'd integrated the language into A.I.N.D.Y.

But I hadn't actually sat down and learned how to write programs in Nodus.

And I think that's a distinction people might not immediately consider.

Creating a programming language and learning how to use that programming language are two different things.

I understood what Nodus was supposed to do.

I understood the general architecture.

I knew the kinds of workflows and execution patterns it was being designed to support.

But that didn't mean I knew its syntax, conventions, or the practical experience of writing and running a Nodus program.

So about a week after publishing the installable package, I decided to find out.

I wanted to learn the language I'd created.

And I figured the obvious place to start was by installing it.

So that's what I did.

I installed Nodus.

Then I started running commands.

The first couple worked.

Great.

Then I tried running one of the examples using nodus run.

It didn't work.

Okay.

So I tried nodus repl.

That didn't work either.

And now I'm sitting there thinking:

What the hell?

Have the Agents Been Lying to Me This Whole Time?

That was genuinely one of the thoughts that crossed my mind.

Because think about the situation.

I'd spent all this time building Nodus with AI.

I'd gone through development phases, implementation reports, audits, and tests.

The agents had repeatedly reported successful work.

And I'd reached a version 1.0 release.

Then I'd published an installable package.

But now that I was trying to use the language myself, basic commands weren't working.

So naturally, I started questioning what I'd actually built.

Had the agents been telling me everything worked when it didn't?

Had I somehow managed to create an entire programming language that couldn't actually run its own examples?

But almost immediately, I rejected the idea that the answer was simply that the AI systems had been lying to me.

Not because I assumed the agents couldn't be wrong.

But because that explanation didn't tell me anything useful about the failure.

There had to be an actual technical reason the commands weren't working.

And that's what I needed to figure out.

So I went back to the development process I'd been establishing throughout this series.

Do the work where the work exists.

I opened Claude Code and started investigating.

It Wasn't the Language. It Was the Package.

The first thing I wanted Claude Code to check was my virtual environment.

Because I knew enough by this point to understand that the environment itself could be responsible for unexpected behavior.

Maybe something wasn't installed correctly.

Maybe I was running the wrong version.

Maybe the virtual environment wasn't configured properly.

So we checked.

But the virtual environment wasn't the underlying problem.

The issue was with the packaging and file paths.

The version of Nodus running from the development repository had access to files that weren't being included properly in the installable package.

In particular, the standard library wasn't being fully packaged.

The build configuration included one set of standard-library files but omitted another set that the runtime needed.

So when Nodus ran from the source tree, those files were available.

But when someone installed the published package, they weren't necessarily there.

And that explained the discrepancy.

The language could work in the environment where it was developed while failing in the environment where someone actually installed it.

The April 26–27 fixes addressed those packaging problems, along with repository cleanup.

And the v1.1.2 release notes captured the issue in one sentence:

"Runtime behavior is now consistent between development and installed environments."

That sentence describes the problem almost perfectly.

It worked on my machine because my machine had things the published package didn't.

And that's when I began understanding that I'd been testing two different things without realizing it.

A.I.N.D.Y. Had Been Using Nodus the Whole Time

There's another detail that makes this situation interesting.

Remember, I'd already integrated Nodus into A.I.N.D.Y.

In fact, the first integration happened back on March 18, shortly after Nodus V1.

But when I looked back at how that integration worked, it revealed another piece of the same problem.

A.I.N.D.Y. wasn't originally installing Nodus the way an outside developer would.

It was loading Nodus directly from the source directory on my computer.

There was even a hardcoded path pointing to my local development repository.

Later, that path became configurable through an environment variable.

But the basic arrangement was still the same.

A.I.N.D.Y. was using the version of Nodus that existed on my machine.

Not necessarily the version someone else could install.

So I'd been developing two systems together, and one of them was relying on the other's local development environment.

That made sense while I was building.

But it also meant that A.I.N.D.Y. successfully executing Nodus code didn't prove the distributed language was usable elsewhere.

Eventually, on May 1, A.I.N.D.Y. switched to consuming Nodus through the published pip package.

But that happened after the original packaging problems had already been discovered and addressed.

Looking back, I find that pretty revealing.

I thought I'd integrated a finished programming language into my application.

But I'd actually integrated a locally available implementation whose public distribution hadn't yet been properly verified.

And that distinction mattered.

How Could We Have Caught This Before It Happened?

Now, fixing the packaging issue was important.

Obviously.

I wanted the language to work.

But once Claude Code helped me identify and resolve the problem, I had another question.

Could we have caught this before I published it?

Because that's what I really wanted to know.

Was there a way to test the actual package someone would install?

Could we create an environment that didn't have access to my source tree?

Could we verify the commands, examples, and standard library before publishing a release?

And if we could, why weren't we already doing that?

That question changed how I approached Nodus development.

Because I realized the problem wasn't simply that a few files had been left out of the package.

The larger problem was that my testing process hadn't been designed to catch that kind of mistake.

I was proving that the language worked in development.

But I wasn't necessarily proving that the language worked after distribution.

Those needed to become separate verification requirements.

Testing Nodus Like Someone Who Didn't Build It

One of the first changes was adding a test that built the actual Nodus package.

Not just running tests against the source code.

Building the wheel.

Creating a fresh virtual environment.

Installing the wheel into that environment.

And then running the real Nodus commands from outside the repository.

That last part was important.

Because if the test ran from inside the development directory, Python might still find files from the source tree.

And then the test could pass for exactly the same reason my original setup had worked.

So the test needed to remove that advantage.

It needed to behave more like a new user installing the package.

Could the command-line interface start?

Could Nodus run a program?

Could it import its standard library?

Could someone initialize a project?

Could they use the REPL?

Those were the kinds of things the distribution test needed to establish.

And once that test existed, it became part of CI.

Now, if a future change accidentally left required files out of the package, the automated tests had a way to catch it before publication.

That was the first major improvement.

But it wasn't the last.

The Release Process Started Changing

As Nodus continued developing, I began adding more verification steps.

Some came from new problems.

Others came from asking what else could go wrong.

And some came from having agents evaluate the release process itself.

I learned about TestPyPI, which allowed me to rehearse publishing and installing a package before uploading the actual release.

That mattered because once a version is published to PyPI, you can't simply replace it with a corrected upload using the same version number.

So I started treating the release process as something that needed its own tests.

Build the package.

Install it in a clean environment.

Verify the commands.

Try the release through TestPyPI when required.

Publish to PyPI.

Then verify the actual published package.

And eventually, I added another step.

Something that became one of my favorite parts of the process.

What Happens When Someone With No Context Tries Nodus?

By the time Nodus reached v2.0.0, I was thinking beyond whether the package could be installed.

Because installing successfully doesn't necessarily mean someone can actually use the software.

The commands might work.

The tests might pass.

The package might contain all the expected files.

But a new user could still encounter problems that never appeared during development.

So I decided to have an outside evaluator test Nodus.

In this case, another AI agent.

But with an important condition.

The agent wasn't supposed to know the development history.

It wasn't supposed to rely on all the context I'd built up through months of conversations and coding sessions.

It needed to approach Nodus like someone discovering the language for the first time.

Install the published version from PyPI.

Start in an empty directory.

Read the available instructions.

Try using the language.

And report what didn't work.

The first evaluation found 27 bugs.

Twenty-seven.

Those findings became GitHub issues and helped shape the next development plan.

And I think that's one of the most important things I learned from the experience.

Because I'd already been auditing Nodus.

I'd already been testing it.

I'd already been using coding agents to help develop it.

But an evaluator approaching the published software without the project's history could still uncover a substantial number of problems.

That didn't mean all the previous work was worthless.

It meant the previous work had been testing the software from a different perspective.

And now I had another perspective to include.

Does It Work for Everything That Depends on It?

As Nodus matured, the verification process continued expanding.

Because eventually, it wasn't just Nodus anymore.

There were companion libraries, SDKs, integrations, and other projects depending on the language.

And that introduced another problem.

A change to Nodus could pass its own tests while breaking something that depended on it.

In fact, that happened.

A later Nodus release introduced a compatibility problem with nodus-sdk.

So the release process expanded again.

Now, before publishing certain changes, the dependent packages' tests needed to run as well.

The same principle began applying to documentation.

If an example appeared in the guide, I wanted it to actually run.

If the documentation claimed a feature existed, I wanted that claim checked against the implementation.

If the release process said a particular version was ready, I wanted to know that the built package—not merely the working source tree—supported that conclusion.

Over time, those requirements developed into release gates, evaluation stages, and checks covering the published package and its downstream consumers.

But I don't think the number of gates is the interesting part.

The interesting part is why they kept being added.

Every time I discovered another way software could work in one environment and fail in another, I tried to turn that discovery into a check.

Something that could catch the same class of problem before the next release.

And Then It Happened Again

Here's the funny part.

Months later, in November, Nodus ran into another version of the same problem.

Except this time, it was happening inside the development environment itself.

The local virtual environment had an installed version of Nodus from PyPI.

But the source code had continued evolving through numerous releases.

Eventually, the installed version was fifteen minor releases behind the code being edited.

And that created a particularly confusing situation.

An agent could inspect the current source code, understand how a feature was implemented, and then run the command.

Only for the command to behave differently.

Not because the code it had just inspected was necessarily wrong.

But because the command was executing an older installed version.

The current CLAUDE.md describes the symptom:

"Behaviour that contradicts the code you are reading. It does not look like a stale install. It looks like a bug."

And I had to laugh at the irony.

Because months after discovering that the published package could behave differently from the development source, the development environment itself was now running a stale published package.

The solution was to make the day-to-day environment use an editable installation of the current source code, while maintaining separate environments for validating the built wheel and the actual PyPI release.

That way, the development tools could work against the code being edited, while the release checks could still verify what users would install.

Same underlying lesson.

Different situation.

You have to know which version of the software you're actually testing.

From Does It Work for Me to Does It Work for Other People?

Looking back, this experience changed more than how I released Nodus.

It changed how I approached developing software in general.

Because one of the things I've increasingly tried to do across my projects is test them before someone else has to.

Not simply run the existing test suite.

Actually try using the software.

Install it.

Run its commands.

Follow its documentation.

Try the examples.

Use it in ways that weren't necessarily part of the original implementation plan.

And stress-test it in as many different ways as I can think of.

That's how I've discovered a lot of the bugs and issues in my projects.

Not always through some elaborate technical audit.

Sometimes simply by sitting down and trying to use what I've built.

And that's something I think can get overlooked when talking about AI-assisted development.

Originally published at https://www.linkedin.com.


Top comments (0)