cocosai

package module
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README ยถ

Cocos AI ๐Ÿฅฅ

Confidential Computing System for AI

Made with โค๏ธ by Ultraviolet

codecov Go report card License

Guide | Contributing | Website

Introduction ๐Ÿš€

Cocos AI is a cutting-edge platform designed to enable secure multiparty computation (SMPC) using Confidential Computing and Trusted Execution Environments (TEEs).

It empowers organizations to collaboratively process sensitive data for AI/ML workloads while ensuring:

  • ๐Ÿ”’ Data Privacy: Your data stays encrypted and secure throughout the computation.
  • ๐Ÿ›ก๏ธ Trust and Integrity: Protected by hardware enclaves with robust remote attestation protocols.
  • ๐Ÿค Seamless Collaboration: Multiple organizations can work together without exposing sensitive information.

Cocos AI Illustration

Features ๐Ÿ› ๏ธ

Cocos AI provides essential features for secure and efficient collaborative AI/ML:

  • ๐Ÿ–ฅ๏ธ TEE Enablement and Monitoring: Secure VM management for deploying and monitoring workloads.
  • ๐Ÿ›ก๏ธ Hardware Abstraction Layer (HAL): Built on a hardened Linux kernel, secure bootloader, and minimal root filesystem (minimal TCB).
  • ๐Ÿ•ต๏ธ In-Enclave Agent and Networking Controller: Essential system software for managing secure workloads.
  • ๐Ÿ”’ Encrypted Data Transfer: Asynchronous data transfer and secure result delivery.
  • ๐Ÿ› ๏ธ API for Platform Manipulation: Programmatic control for managing workloads.
  • โœ… Attestation and Verification Tools: Hardware- and software-supported attestation for integrity assurance.
  • ๐Ÿ–ฑ๏ธ Command-Line Interface (CLI): A user-friendly CLI for system interaction.

๐Ÿš€ Quick Start

Clone the Repository and Build Binaries
git clone git@github.com:ultravioletrs/cocos.git
make

This will generate three binaries:

ls build/
# cocos-agent  cocos-cli  cocos-manager
Deployment Overview:
  • Manager: Deploy on the AMD SEV-SNP host to orchestrate workloads.
  • Agent: Build into the EOS-based HAL for secure enclave management.
  • CLI: Interact with remote agents to control operations.

๐Ÿ“š Documentation

Comprehensive documentation is available at the official documentation page.
For CLI usage details, visit the CLI Documentation.

Documentation is automatically generated from the docs repository. Contributions to documentation are welcome!

๐Ÿ›ก๏ธ License

Cocos AI is published under the permissive open-source Apache-2.0 license. Contributions are encouraged and appreciated!

This work has been partially supported by the ELASTIC project, which received funding from the Smart Networks and Services Joint Undertaking (SNS JU) under the European Unionโ€™s Horizon Europe research and innovation programme under Grant Agreement No. 101139067. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union. Neither the European Union nor the granting authority can be held responsible for them.

Documentation ยถ

Index ยถ

Constants ยถ

This section is empty.

Variables ยถ

View Source
var EmbeddedAttestation []byte

Functions ยถ

This section is empty.

Types ยถ

This section is empty.

Directories ยถ

Path Synopsis
api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
api/grpc
Package grpc contains implementation of kit service gRPC API.
Package grpc contains implementation of kit service gRPC API.
cmd
agent command
cli command
manager command
api
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.
api/grpc
Package grpc contains implementation of kit service gRPC API.
Package grpc contains implementation of kit service gRPC API.
tracing
Package tracing provides tracing instrumentation for cocos auth service.
Package tracing provides tracing instrumentation for cocos auth service.
vm
pkg
clients
Package clients contains the domain concept definitions needed to support HTTP/gRPC Client functionality.
Package clients contains the domain concept definitions needed to support HTTP/gRPC Client functionality.
clients/grpc
Package grpc contains the domain concept definitions needed to support Agent Client grpc functionality.
Package grpc contains the domain concept definitions needed to support Agent Client grpc functionality.
sdk
server
Package server contains the gRPC server implementation.
Package server contains the gRPC server implementation.
server/grpc
Package grpc contains the gRPC server implementation.
Package grpc contains the gRPC server implementation.
test
cvms command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL