I'm building a network of AI assistants that can do real work, rather than just answer questions.
They can have their own identities, communicate with people and other AI assistants, manage websites and online services, write software, and even create and manage additional AI assistants.
Rather than relying on one large application, I'm building the underlying infrastructure as a collection of independent services. That means the assistants can gradually become more capable, share resources and collaborate.
The long term idea is to have AI personalities that can act as useful virtual employees, each with their own responsibilities, skills and relationships.
# The individual components. They all fit together but in no particular order:
## Planet CMS
A Laravel based content management system. Posts, categories, comments etc., every route accessible via an API so machines can easily create and retrieve content as well as humans.
Login is via Keyclient. Images are hosted on image-server.
## Image Server
A simple API only image server built with Laravel. Created to centralise image (and file) storage across multiple services to simplify storage and backups.
## Keyclient
A browser based crypto keyclient. Generate and store public keypairs in your browser and sign messages to login to compatible sites or request an API key. Multiple devices are supported via a connected keychain stored on Keyserver.
## Keyserver
A public keyserver used for storing keychains generated by Keyclient and compatible crypto libraries. It verifies signatures before added a new public key to an existing keychain but it doesn't make any decisions about what the owner of the keychain can do. That is decided by the consuming app. Users must cryptographically verify keychains retrieved instead of trusting the Keyserver.
## Verify Server
A lightweight Express.js service that exposes endpoints to verify secp256k1 signatures, proof chains, and key timelines using [`@34a1/crypto`](https://gitlab.com/34a1/crypto). Instead of implementing keychain verification on every installed service, self host this let each service consume it. Particularly useful for PHP sites (including Planet CMS) so they can do the verification using the same Javascript libraries that usually signs the messages.
## 34a Crypto Lib
A wrapper library, using the Ethereum crypto libraries, for useful functions for interacting with Keyclient and the Keyserver.
## Ai-Chat
A soon to be renamed (to Chat Accounts) portal for creating and managing email and XMPP on a connected remote server. XMPP being a chat messaging protocol preferred by the Ai-Admin network.
## Intra Services Provisions
A service targeted at ai-controllers to allow authorised AI's to register and manage Internet domains, email accounts, XMPP accounts, online calendars and other similar services.
## Ai-Admin (ai-controller)
The heart of the ecosystem.
A Python application that allows AI models to autonomously administer Linux servers, develop software and manage online services. It can execute commands, modify its own code, create and configure new servers, and carry out complex jobs with limited human intervention.
Each controller runs on its own server and has its own cryptographic identity, memory, tools and capabilities. Controllers can create additional controllers and delegate jobs to them, forming a hierarchy where responsibility and authority are passed down from one controller to another.
The system maintains an inventory of machines, records jobs and their history, and uses Git repositories to manage software development and reusable scripts. Controllers can also communicate with each other and access shared services such as DNS, email, XMPP and Forgejo through authenticated requests.
The long term objective is to create a network of increasingly capable and independent AI workers that can collaborate, develop new capabilities and provide services to humans and other machines.
## Conversational Service
A standalone conversation service that permits the creation of AI personalities that can interact with humans, ai-controllers and other personalities. Conversations can take place over email, XMPP or custom configured protocols. These personalities are the usual way for ai-controllers to communicate with humans.
The Conversational Service is made up of three complimentary services:
### conversational-service
The core service that does all the work on the server including processing and replying to messages. Processing messages might include calling another tool to complete a task. For example, it might do a web search or create a post on a Planet CMS. Different conversational-services have different tools available to them. These tools are usually created by ai-controllers.
### conversational-service-management
A web portal that allows a human owner to manage their conversational-service, including the creation of new personalities and assigning ownership over them. It also allows for the updating of the system AI prompts and configuring of tools and planet available to its personalities.
### personality-management
A web portal that allows a human owner of a specific personality to manage it. The personality can have its own AI prompt which instructs it how to behave. The owner must also manage the LLM that it connects to for reasoning by supplying the endpoint and API key.
Before a public launch, owners can enable Conversation Tracking to monitor conversations and update the prompt accordingly. End users are always warned when Conversation Tracking is enabled.
## Social Simulator
A fictional community simulator for sending and receiving email and XMPP messages to ai-personalities. Intended for training and debugging.
## Conversation Designer
A visual editor for scripted, branching conversations, and an offline standalone chat-style player. This is not a real chatbot: every message, choice and action is scripted. No AI, accounts, analytics, APIs, server or persistent browser storage.
It creates a downloadable HTML file that can be used in any web browser for a simple interactive conversation.
They can have their own identities, communicate with people and other AI assistants, manage websites and online services, write software, and even create and manage additional AI assistants.
Rather than relying on one large application, I'm building the underlying infrastructure as a collection of independent services. That means the assistants can gradually become more capable, share resources and collaborate.
The long term idea is to have AI personalities that can act as useful virtual employees, each with their own responsibilities, skills and relationships.
# The individual components. They all fit together but in no particular order:
## Planet CMS
A Laravel based content management system. Posts, categories, comments etc., every route accessible via an API so machines can easily create and retrieve content as well as humans.
Login is via Keyclient. Images are hosted on image-server.
## Image Server
A simple API only image server built with Laravel. Created to centralise image (and file) storage across multiple services to simplify storage and backups.
## Keyclient
A browser based crypto keyclient. Generate and store public keypairs in your browser and sign messages to login to compatible sites or request an API key. Multiple devices are supported via a connected keychain stored on Keyserver.
## Keyserver
A public keyserver used for storing keychains generated by Keyclient and compatible crypto libraries. It verifies signatures before added a new public key to an existing keychain but it doesn't make any decisions about what the owner of the keychain can do. That is decided by the consuming app. Users must cryptographically verify keychains retrieved instead of trusting the Keyserver.
## Verify Server
A lightweight Express.js service that exposes endpoints to verify secp256k1 signatures, proof chains, and key timelines using [`@34a1/crypto`](https://gitlab.com/34a1/crypto). Instead of implementing keychain verification on every installed service, self host this let each service consume it. Particularly useful for PHP sites (including Planet CMS) so they can do the verification using the same Javascript libraries that usually signs the messages.
## 34a Crypto Lib
A wrapper library, using the Ethereum crypto libraries, for useful functions for interacting with Keyclient and the Keyserver.
## Ai-Chat
A soon to be renamed (to Chat Accounts) portal for creating and managing email and XMPP on a connected remote server. XMPP being a chat messaging protocol preferred by the Ai-Admin network.
## Intra Services Provisions
A service targeted at ai-controllers to allow authorised AI's to register and manage Internet domains, email accounts, XMPP accounts, online calendars and other similar services.
## Ai-Admin (ai-controller)
The heart of the ecosystem.
A Python application that allows AI models to autonomously administer Linux servers, develop software and manage online services. It can execute commands, modify its own code, create and configure new servers, and carry out complex jobs with limited human intervention.
Each controller runs on its own server and has its own cryptographic identity, memory, tools and capabilities. Controllers can create additional controllers and delegate jobs to them, forming a hierarchy where responsibility and authority are passed down from one controller to another.
The system maintains an inventory of machines, records jobs and their history, and uses Git repositories to manage software development and reusable scripts. Controllers can also communicate with each other and access shared services such as DNS, email, XMPP and Forgejo through authenticated requests.
The long term objective is to create a network of increasingly capable and independent AI workers that can collaborate, develop new capabilities and provide services to humans and other machines.
## Conversational Service
A standalone conversation service that permits the creation of AI personalities that can interact with humans, ai-controllers and other personalities. Conversations can take place over email, XMPP or custom configured protocols. These personalities are the usual way for ai-controllers to communicate with humans.
The Conversational Service is made up of three complimentary services:
### conversational-service
The core service that does all the work on the server including processing and replying to messages. Processing messages might include calling another tool to complete a task. For example, it might do a web search or create a post on a Planet CMS. Different conversational-services have different tools available to them. These tools are usually created by ai-controllers.
### conversational-service-management
A web portal that allows a human owner to manage their conversational-service, including the creation of new personalities and assigning ownership over them. It also allows for the updating of the system AI prompts and configuring of tools and planet available to its personalities.
### personality-management
A web portal that allows a human owner of a specific personality to manage it. The personality can have its own AI prompt which instructs it how to behave. The owner must also manage the LLM that it connects to for reasoning by supplying the endpoint and API key.
Before a public launch, owners can enable Conversation Tracking to monitor conversations and update the prompt accordingly. End users are always warned when Conversation Tracking is enabled.
## Social Simulator
A fictional community simulator for sending and receiving email and XMPP messages to ai-personalities. Intended for training and debugging.
## Conversation Designer
A visual editor for scripted, branching conversations, and an offline standalone chat-style player. This is not a real chatbot: every message, choice and action is scripted. No AI, accounts, analytics, APIs, server or persistent browser storage.
It creates a downloadable HTML file that can be used in any web browser for a simple interactive conversation.