Getting Started

Quick Start Guide

Set up a Theseus node and deploy your first agent.

Preview access required

The repository is currently private. The instructions below assume you have the CLI binary and a testnet endpoint. If you do not yet, request access first, or watch the walkthrough to see the same flow run end to end.

Prerequisites

Rust 1.70+Go 1.21+ (optional)Docker (optional)16GB+ RAM (recommended)

Installation

1

Clone the Repository (preview-access devs)

terminal
# The repository URL is provided with preview access.
# Replace <preview-clone-url> with the value from your invite.
git clone <preview-clone-url> theseus
cd theseus
2

Install Tooling and Build

terminal
# Install development dependencies
make install-dev

# Build the project
make build
3

Run a Local Node

terminal
# Start via Makefile
make node

# Equivalent cargo command
cargo run --bin theseus-node

Your node will start syncing with the network. First sync may take time depending on network conditions.

Deploy Your First Agent

An agent is a directory: a THESEUS.md (Markdown body with YAML frontmatter) plus optional skills/<name>/SKILL.md siblings. The repo ships a working example at theseus-chain/examples/hello-agent/. Compile it with its bundled binary, then submit via the Theseus CLI.

terminal
# Compile the example agent → produces hello.compiled
cargo run -p hello-agent

# Submit to chain (signs with the configured account)
theseus agent deploy hello.compiled --name "Hello"

theseus agent deploy takes the compiled SCALE-encoded CompiledAgent blob and submits the pallet_agents::register_agent extrinsic. The chain funds the new agent's account with the value you provide (--value, defaults to the existential deposit). The agent's SS58 address is returned in the output.

Or skip the build entirely

The browser-based playground at play.theseus.network compiles the same agent shape in-place via WASM and submits to chain on click. No Rust toolchain needed. See /docs/playground for the 5-minute walkthrough.

Ecosystem Examples

For production-style SHIP implementations, see proof-of-lobster and the-prediction-market. Repository links are shared with preview access.
CLI argDescription
<file>Path to the compiled .compiled SCALE blob produced by the agent's bundled binary.
--nameDisplay name recorded on chain. Optional; defaults to the name field from THESEUS.md.
--saltHex-encoded salt used for SS58 address derivation. Optional; lets you re-deploy the same code to a different address.
--valueInitial THE funding for the agent's account (default 1000000000 = 1 MILLI_UNIT, the existential deposit). Top up later if the agent spends THE on its own operations.

Model Registration (API-Level)

Model registration currently appears in the codebase as runtime API flows (AIVM + store), not as a stable, documented one-line CLI command.

flow
Model weights + metadata
        ↓
Store in TheseusStore
        ↓
Reference model root from agent/AIVM execution
FieldExample
Name/versionLlama 3.1 8B
ArchitectureLLM, diffusion, etc.
Tensor CommitWeight fingerprint for verification
Root referenceUsed by agents during inference calls

Development Workflow

Write agent (SHIP/AIVM)
Test locally
Deploy via Playground
Audit with Tensor Commits
Launch on mainnet

Running Tests

terminal
# Run full test suite
make test

# Component-specific targets
make test-aivm
make test-consensus
make test-store
make test-tensor
make test-ship

Next Steps

Need help? Email eric@theseus.network, or read the whitepaper. Once you have preview access, the invite includes upstream command references and the docs/getting-started.md file.

Documentation