WAKyvos: Kyvos becomes agentic
Today I released a new version of Kyvos which becomes more agentic, being able to communicate with AI assistants. This is a future requested by a few users, who like to use Kyvos for development, and testing of AmigaOS 4 and MorphOS applications. The features I present below were in development for some time, and I am thrilled to let you know about them.
For an application like Kyvos to communicate with an AI assistant there is a need for having a way to receive and respond to commands. At first, I was thinking to have Kyvos accepting command line arguments, but I was not happy with the options this solution provided. So, I thought to implement a new plugin that would start a small server, listening to a specific port, accepting requests. That approach sounded fabulous, and it would give me the necessary freedom to provide all the features I wanted.

So I decided to implement a JSON REST API, available while Kyvos is running and only if it is enabled by the user from the preferences. With this API it is possible to execute almost every action that can be done from the GUI. Putting that power in scripts, or even better, using AI assistants, the benefits are tremendous.
Here is a list of some of the features that are supported through the API:
- Listing virtual machines and viewing their details and running status.
- Starting and stopping virtual machines.
- Changing supported VM settings and notes.
- Creating, cloning, and deleting virtual machines.
- Managing snapshots and hard disk images.
- Running longer tasks as jobs and checking their progress.
The decision was not to have this feature as part of Kyvos, as I believe it is not necessary for every user. That's why the kyvosapi is released as an optional, separated plugin that can be purchased from https://ko-fi.com/s/1c48137365. It runs on macOS, Linux and Windows, for multiple architectures. Inside the package there is an extensive documentation for each endpoint and the parameters that can be used, and the responses.
An API like that can be used easily by making HTTP calls to it. But it would be great to be able to describe to an AI assistant what needs to be done, and it will execute the request. For doing that, an MCP Server is available to be used with those AI agents that support it. This way the user can request something like "Create a new AmigaOS 4 system running on a Peg2" and the AI assistant will do it. There is no need to know how to make the calls to the API, as the agent is already aware.
To install the MCP, you need Node.js 18 or newer, Kyvos 2.5 or newer, and the separately installed API add-on enabled. It can be installed with a couple of commands. Everything is described in the updated Kyvos manual that is available with the new release.
Finally, there is a need for AI assistants to be able to listen to applications or the operating system. For doing so, I changed the serial output feature to provide information in a TCP port, able to be tracked by AI, or the user with a third-party application, if needed. The older stdio output in a separate window is still available as an option. So, under the Hardware tab, the serial output fields changed a lot. The user can set where the data will be available, and at which port, if TCP is selected. All these changes are described in the manual.
This new release of Kyvos gives more freedom to the advanced programmers and options for all the users. I hope you find it useful. And as always, I would like to thank you all for your support.










