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

# Protocol SDK Overview

This is the direct integration layer for teams building against Swig wallets
without the hosted Developer SDK.

Use this section when your app or backend controls wallet authorities, signing,
and protocol access directly.

## What lives here

| Surface                          | Use it for                                                           |
| :------------------------------- | :------------------------------------------------------------------- |
| TypeScript packages in `swig-ts` | browser apps, backend services, and scripted integrations            |
| Rust packages in `swig-wallet`   | backend services, CLI tooling, and lower-level protocol integrations |
| MCP tooling                      | agent access to wallet operations                                    |
| examples and quickstarts         | working reference flows for direct protocol usage                    |

## Main packages

### TypeScript

* `@swig-wallet/classic` for Web3.js 1.x
* `@swig-wallet/kit` for Solana Kit / Web3.js 2.0
* `@swig-wallet/lib` for shared protocol logic
* `@swig-wallet/coder` for lower-level encoding and decoding
* `@swig-wallet/mcp-server` for MCP-based agent access

### Rust

* `swig-sdk` for Rust integrations
* `swig-cli` for command-line flows
* support crates such as `swig-interface`, `swig-state`, and
  `swig-compact-instructions`

## Start in the right place

* Use the quickstarts if you are new to the direct SDK path.
* Use the TypeScript or Rust package sections if you already know your stack.
* Use examples and recipes if you want working end-to-end patterns.

## Hosted integrations

Use the API-key-based [Developer SDK](/developer-sdk) for hosted wallet
preparation and sponsorship flows.
