> ## Documentation Index
> Fetch the complete documentation index at: https://docs.withmethod.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Source and downloads

> Where the full SDK lives, how to get its source, and what the public runtime repo contains.

## Get the SDK

* [Public SDK source, issues, and build instructions](https://github.com/method-ai-hq/method-sdk)
* [JavaScript SDK and full CLI — latest](https://app.withmethod.ai/downloads/withmethod-sdk-latest.tgz)
* [Python SDK — 0.5.0](https://app.withmethod.ai/downloads/withmethod-0.5.0-py3-none-any.whl)
* [Release filenames and SHA-256 hashes](https://app.withmethod.ai/downloads/manifest.json)

The JavaScript archive is an installable npm package. It includes MIT source, compiled JavaScript, type definitions, and public examples. The Python wheel includes its Python source. These downloads are hosted by Method; they are not npm or PyPI registry releases.

```sh theme={null}
npm install -g https://app.withmethod.ai/downloads/withmethod-sdk-latest.tgz
method --version
```

For API use from code, see [JavaScript and Python SDKs](/sdk/overview).

## Where the source lives

| Component                            | Public source                                                                                              | License |
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------- | ------- |
| Full JavaScript SDK and `method` CLI | [method-sdk/packages/sdk](https://github.com/method-ai-hq/method-sdk/tree/main/packages/sdk)               | MIT     |
| Python SDK                           | [method-sdk/packages/sdk-python](https://github.com/method-ai-hq/method-sdk/tree/main/packages/sdk-python) | MIT     |
| Format, validator, and executor      | [method-ai-hq/method-spec](https://github.com/method-ai-hq/method-spec)                                    | MIT     |

The public SDK repo owns the SDK source and releases. Open issues and pull requests there. Its release workflow builds the npm archive, Python wheel, and CLI distributions. Each GitHub release includes a SHA-256 manifest. The private app downloads a fixed release and checks its hashes; it does not keep a second SDK source tree.

The SDK imports `@withmethod/runtime` from a fixed commit of `method-spec`. That repo owns the format, validator, and executor. It no longer installs a `method3` command. The SDK owns the single user CLI, `method`. Python and `method-bridge` call the same Node implementation.

## Build from GitHub

Use Node.js 22 or later and Python 3.11 or later:

```sh theme={null}
git clone https://github.com/method-ai-hq/method-sdk.git
cd method-sdk
npm ci
npm run build
npm test
npm run method -- --version
```

The repo includes build instructions, public examples, and CI checks for Node 22 and 24. Use `PYTHON=python3.11 npm test` if your default Python is older. Python calls the same Node runtime; it is not a separate executor.

## Read a release archive

Download and extract a release into a new folder:

```sh theme={null}
curl -fL https://app.withmethod.ai/downloads/withmethod-sdk-latest.tgz -o method-sdk.tgz
mkdir method-sdk-source
tar -xzf method-sdk.tgz -C method-sdk-source
```

The extracted `package/` folder contains:

```text theme={null}
package/
  README.md
  LICENSE
  package.json
  source/
    README.md
    tsconfig.json
    packages/sdk/src/
    packages/sdk/examples/
    packages/workflow-language/src/
    docs/
    examples/
  dist/
```

Read `source/README.md` for build instructions. `package.json` records the SDK version and exact public runtime dependency. The `latest` URL can change; use an exact release filename from the manifest when you need a fixed version.
