Sammy Kerata Oina 64f7e7f7fd NOISSUE - Refactor single algorithm processing (#117)
* Refactor single algorithm processing

Simplified the agent service's algorithm handling logic to process a single algorithm instead of multiple. This change:
- Removed the `Algorithms` type and associated stringer implementation.
- Updated the state machine and service logic to expect a singular algorithm, aligning the agent's internal state transitions with the new model.
- Adjusted the manager service and computations test server to mirror these changes in their respective payload structures, ensuring API and test consistency.
- Altered README files to reflect the simplified interaction model and removed outdated descriptions.
- Reverted the protoc-gen-go version used for generating protobuf files to maintain compatibility with the rest of the codebase.

The single-algorithm approach streamlines the computation running process, reducing complexity and potential error conditions. It directly impacts how external services will construct and send computation requests.

Signed-off-by: SammyOina <sammyoina@gmail.com>

* Update protoc-gen-go version to v1.33.0

Signed-off-by: SammyOina <sammyoina@gmail.com>

* Refactor variable name in computations.go and grpc.go

Signed-off-by: SammyOina <sammyoina@gmail.com>

---------

Signed-off-by: SammyOina <sammyoina@gmail.com>
2024-04-17 13:34:54 +02:00
2024-04-16 15:19:19 +02:00
2024-04-16 15:19:19 +02:00
2024-01-09 19:56:31 +01:00
2024-04-14 18:05:16 +02:00
2024-04-16 00:42:47 +02:00

Cocos AI

Cocos AI (Confdential Computing System for AI/ML) is a platform for secure multiparty computation (SMPC) based on the Confidential Computing and Trusted Execution Environments (TEEs).

With Cocos AI it becomes possible to run AI/ML workloads on combined datasets from multiple organizations while guaranteeing the privacy and security of the data and the algorithms. Data is always encrypted, protected by hardware secure enclaves (Trusted Execution Environments), attested via secure remote attestation protocols, and invisible to cloud processors or any other 3rd party to which computation is offloaded.

Features

Cocos AI is implementing the following features:

  • TEE enablement, deployment and monitoring (secure VM manager)
  • HAL for TEEs based on hardened Linux kernel, secure bootloader and custom-tailored embedded rootfs for minimal TCB
  • In-enclave agent, netowrking controller and other system software
  • Encrypted asynchronous data transfer and result delivery
  • API for programmable platform manipulation
  • HW and SW supported attestation with verification tools
  • CLI for system interaction

Usage

Clone the repo and create binaries:

git clone git@github.com:ultravioletrs/cocos.git
make

This will create 3 binaries:

ls build/
# cocos-agent  cocos-cli  cocos-manager
  • Manager can be deployed on the AMD SEV-SNP host
  • Agent can be built into EOS-based HAL
  • CLI can be used to communicate to remote Agent.

Documentation

Project documentation is hosted at Cocos AI official docs page.

Documentation is generated from the docs repository.

License

Cocos AI is published under permissive open-source Apache-2.0 license.

S
Description
Cocos AI - Confidential Computing System for AI
Readme 13 MiB
Languages
Go 95.5%
Shell 2.2%
Makefile 1.6%
Python 0.4%
Rust 0.3%