Skip to main content

Installation

Prerequisites​

  • Python 3.12 or higher
  • Git
  • Virtual environment (recommended)

Quick Installation​

uv gives faster, reproducible installs and works as a drop-in replacement for pip:

uv venv .venv
source .venv/bin/activate # macOS/Linux
# .\\.venv\\Scripts\\Activate.ps1 # Windows (PowerShell)

# Install published packages
uv pip install spoon-ai-sdk # core framework
uv pip install spoon-toolkits # optional: extended blockchain & data toolkits

You can substitute uv pip with pip if you prefer the standard installer.

You can use the published PyPI packages without cloning the repository:

  1. Create and activate a virtual environment
# macOS/Linux
python3 -m venv spoon-env
source spoon-env/bin/activate

# Windows (PowerShell)
python -m venv spoon-env
.\spoon-env\Scripts\Activate.ps1
  1. Install the core SDK (and optionally the toolkits package)
pip install spoon-ai-sdk        # core framework
pip install spoon-toolkits # optional: extended blockchain & data toolkits

Option B: Use a local repository checkout​

If you are working inside this monorepo (for example you already opened it in your IDE), you can install directly from the local folders without needing to git clone again.

  1. Create Virtual Environment
# macOS/Linux
python3 -m venv spoon-env
source spoon-env/bin/activate

# Windows (PowerShell)
python -m venv spoon-env
.\spoon-env\Scripts\Activate.ps1

💡 On newer Apple Silicon Macs the python shim may not point to Python 3. Use python3 for all commands unless you have explicitly configured python to target Python 3.12 or 3.13.

  1. Install core package in editable mode
git clone https://github.com/XSpoonAi/spoon-core.git
cd spoon-core
uv pip install -e . # or `pip install -e .` if you don't use uv
  1. (Optional) Install Toolkits Package from local repo

If you want to use the extended blockchain and data tools from spoon_toolkits, install the spoon-toolkits package from the spoon-toolkit folder:

git clone https://github.com/XSpoonAi/spoon-toolkit.git
cd spoon-toolkit
pip install -e .

Framework Validation​

The SpoonOS framework includes built-in validation that automatically:

  • Checks API key configuration
  • Validates provider connectivity
  • Ensures proper dependency installation
  • Provides clear error messages if issues are found

Next Steps​