Skip to main content

basedai

Project description

BasedAI

Research License: MIT

DocumentationTokenTwitter

BasedAI is a decentralized network built to enable end-to-end private computations on distributed GPU infrastructure. The flagship 'Brain' of BasedAI is allows for Fully Homomorphic Encryption (FHE) of Large Language Models (LLMs), effectively creating Zero-Knowledge LLMs (ZK-LLMs).

For detailed understanding of the BasedAI network and its groundbreaking approach with ZK-LLMs, please refer to our research paper.

Install

  1. To get started with BasedAI:
# pip install basedai

Getting Started

In the BasedAI ecosystem, users participate through an integrated wallet system that supports operations with BasedAI's native token, $BASED. The wallet enables users to stake tokens on different Brains in the ecosystem and earn rewards for contributions.

To get started with managing wallets and tokens:

  1. Create a new wallet through the BasedAI CLI:
# create a wallet  
basedcli wallet new_personalkey
  1. Interact with your wallet via the BasedAI CLI.
# check the balances of your wallet 
basedcli wallet balance
  1. Join as a Brain miner or validators with a compute key:
# check the balances of your wallet 
basedcli wallet new_personalkey
# create a new compute wallet for agents operating on your behalf in the network
basedcli wallet new_computekey
  1. Interact with your wallet via the BasedAI CLI.
# check the balances of your wallet 
basedcli wallet balance

For further instructions on token management and participation in the network, please refer to the official documentation.

Using the CLI

The BasedAI Command Line Interface (CLI) will be the primary tool for interacting with Brains, managing wallets, participating in computation tasks as miners or validators, and engaging in the token economy of BasedAI.

For a list of possible commands:

basedcli help

The BasedAI PIP Package

The BasedAI package includes essential tools included basedai (the Python operations package for developers) and basedcli (for setting up mining, validation activities, and querying ZK-LLMs). Learn more in the official documentation.

Governance and Voting

BasedAI embraces decentralized decision-making through Pepecoin-linked "Brains". Owners of GigaBrains, representing significant staked contributions, can participate in voting on key network decisions, upholding the ecosystem's democratic governance model.

For voting procedures:

# vote for a proposal
basedcli brains vote <proposal-id> <option>

For More Information

For further information and updates on BasedAI, please visit the official website or consult the initial research paper.

License

The MIT License (MIT) Copyright © 2024 Based Labs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

basedai-1.0.6.tar.gz (211.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

basedai-1.0.6-py3-none-any.whl (265.9 kB view details)

Uploaded Python 3

File details

Details for the file basedai-1.0.6.tar.gz.

File metadata

  • Download URL: basedai-1.0.6.tar.gz
  • Upload date:
  • Size: 211.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for basedai-1.0.6.tar.gz
Algorithm Hash digest
SHA256 18f6e4173a1fa05ef3c4094d08e57e45082b418491631f8839b84950bbe2ad90
MD5 2c51abaff22cbe631c86cf1697b6734f
BLAKE2b-256 ccfabfb5e1131ed484f8d2418f4494f2b091b1cfefbecb3beef53f6dabe6bbe7

See more details on using hashes here.

File details

Details for the file basedai-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: basedai-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 265.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.10

File hashes

Hashes for basedai-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9f6a237d8a79660d6f7c6fc8c4809bfda41acf9c9011abb794b8df01eb834a01
MD5 627c8ab4a5cd0eb6f8a0567750063ac5
BLAKE2b-256 05992bef1049d455048c2ab55db85213228e07f0446ffc466dd30d08dc77a14f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page