Imagine you have codified, or specified each task you do in your company as a defined set of steps, with pre-requisites like the time it takes to carry out the task, the money or materials the task consumes, the amount of pay for the person performing the task - and at the end of the task it outputs either a result, or a usable product. This product could even be used as required input for doing another task.
Now suppose a company like Hashnode codified all of their tasks this way. Certain sets of tasks could be arranged into workflows, and tasks and workflows could be assigned to the human employees. These are the available 'agents' capable of performing tasks.
With a codified organization like this things like inventory tracking, scheduling, billing, etc can be automated because they are predictable.
Let's say some tasks can be outsourced or automated via software, as long as the workflow provides the right inputs (time, money, materials) the other company or software performs the task should be able to provide a usable result or output. It doesn't matter whether the agents performing the task are human employees, other organizations, or software, you can operate your organization running workflows using all types of agents interchangeably for the same tasks.
So back to the question - what if somebody like Hashnode were to write software agents for all of the tasks, for all of their workflow in the organization. 100% automateable.
It would no longer need the human agents to perform tasks, so unless there was a benefit to using humans (time, money, materials) it would make more sense to just have humans running the organization as the only humans in the organization.
They could still be 'employing' other humans if they outsource tasks to other organizations, so having more people running more organizations helps you build up other entrepreneurs.
I can envision a future where a process of codifying tasks, building workflows, and creating the scheduling, billing, and logistics software around those tasks and workflows could pave the road between 100% human-run organizations, allow people to automate gradually piece-by-piece over time, and eventually end up with a 100% automated organization.
What excites me about the idea of codified organizations or workflows is that just like sharing a Sim City save file if you build a city that runs well, others might be able to clone or fork your codified organization like forking a software project. If there were open-source examples for things like companies, charities, schools, hospitals, churches, libraries, stores, etc. you could offer people around the world a lot of value to improve their communities.
The other exciting part of a future like this is for whatever skill set you can perform as a human, there would be work in developing software agents that capture some of that flexibility, and interface well with the inputs and outputs people's organizations require. As long as you are human you should be able to find ways of capturing aspects of that and writing them up as software.
In this kind of a future, humans would be employed: