Skip to content

ThoxDevs Learn

Learn the THOX way.

Rust at the core. Evidence in every build.

Build useful local systems with typed contracts, carefully chosen tools and a clear understanding of what your code can do. Explore the curriculum with Sadie and the THOX DigitalHuman faculty.

Your AI. Your Data. Your Rules.™

Sadie, THOX’s openly synthetic, AI-powered learning host.

SadieAI-powered host

Your learning host and faculty coordinator.

Meet the faculty
Learning paths
8
New curriculum entries
49
Existing browser exercises
6
Faculty profiles
10

Try now: six free browser exercises.

Take the source: two authored labs.

Explore what’s next: 47 course briefs.

Choose a direction

Eight paths. Work worth understanding.

Move from a typed Rust core to private applications, governed agents and useful Multi Edge Board Computing. Each entry names an outcome and the evidence to work toward.

Start with a browser exercise

Build

Selected path: Routing and distribution

Implement a typed Rust routing policy before I/O, test refusal and boundary cases, then justify when distributed execution is useful.

2 authored source labs and 47 course briefs. Briefs describe planned lessons; they are not released courses. Time ranges are planning estimates.

Routing and distributionAuthored source lab

Build a policy-first runtime component in Rust

Build a dependency-free Rust policy core that borrows node evidence, uses enums and Result, and refuses work when no eligible node remains.

Planning estimate: 90 to 120 minutes

  • ownership
  • borrowing
  • enums
  • Result
  • Cargo
  • rustfmt
  • Clippy
  • behavioral tests

Evidence to work toward

  • Run the lab’s actual format, Clippy and behavioral checks using its supplied commands.
  • Explain ownership, borrowing, typed errors and why permission is checked before latency.
  • Diagnose a seeded policy failure and add a meaningful transfer test.

Reference checks passed on Rust 1.97.0

Rust 2024 / 1.85+. Three local crates, a deliberately broken starter, a worked reference and shared checks. No third-party crates, model or account is required.

Download Rust source lab

Formatting, compilation, Clippy and all 27 reference tests passed on Rust 1.97.0 with the committed lockfile, offline. The starter fails 9 of its 14 policy checks until you repair it. Run the supplied gate on your own toolchain before relying on a result.

The path’s capstone

A tested Rust policy core, optional Python comparison and a baseline-backed placement/coordination experiment.

Start with the contract

Permission before performance.

A faster node is useful only when the policy permits it. Repair a small Rust selector that checks scope, mesh trust, readiness, fresh evidence and capability before ranking latency.

Rust reference checks passed

Rust 2024 / 1.85+. Three local crates, a deliberately broken starter, a worked reference and shared checks. No third-party crates, model or account is required.

Download Rust source lab

The ZIP contains learner instructions, starter and reference code, and the supplied checks. Reading the reference does not establish independent mastery.

Rust reference excerpt / source only
rust
pub fn choose<'nodes>(nodes: &'nodes [Node], policy: &Policy) -> Result<&'nodes Node, RouteError> {
    nodes
        .iter()
        .filter(|node| is_eligible(node, policy))
        .min_by(|left, right| {
            left.latency_millis
                .cmp(&right.latency_millis)
                .then_with(|| left.name.cmp(&right.name))
        })
        .ok_or(RouteError::NoEligibleNode)
}

fn is_eligible(node: &Node, policy: &Policy) -> bool {
    policy.allows(node.scope)
        && (node.scope != Scope::Mesh || node.trusted)
        && node.ready
        && matches!(u64::try_from(node.age_seconds), Ok(age) if age <= policy.max_age_seconds())
        && node.latency_millis >= 0
        && node.capabilities.contains(&policy.required_capability())
}

Live preview runs HTML, CSS, and JavaScript. This is Rust.

Displayed with the real TXF code component. This page does not compile or execute Rust. The complete contracts and tests are in the download.

Run the reference gate on your machine

From the extracted Rust lab directory, inspect your toolchain and follow the README. On a host with the required Rust components and Bash:

bash scripts/verify.sh reference

Formatting, compilation, Clippy and all 27 reference tests passed on Rust 1.97.0 with the committed lockfile, offline. The starter fails 9 of its 14 policy checks until you repair it. Run the supplied gate on your own toolchain before relying on a result.

The README also provides direct Cargo commands for hosts without Bash.

Optional comparison

Read the same policy in Python.

Python 3.10+ standard library. Compare the same policy with a separate starter, worked reference and twelve shared behavioral checks.

python3 test_routing.py --impl solution
Download optional Python lab

The authored reference passed its twelve supplied checks. This is synthetic policy behavior, not a learner grade or a production runtime qualification.

Both source labs use synthetic records. They perform no inference, network requests or device operations. These exercises do not establish model support, hardware performance, memory admission or production authorization.

A team around the work

Meet your learning faculty.

Sadie hosts the learning experience alongside THOX’s DigitalHuman colleagues. Explore the teaching specialties and a reflection prompt from each profile.

AI-powered, openly synthetic colleagues. This faculty browser shows profiles and authored prompts. It does not open a live conversation, assign a task or activate a trainer.

Sadie, an openly synthetic THOX DigitalHuman learning colleague.

Selected profile: Sadie

Sadie

Learning host and faculty coordinator

Connect your goal to a learning path, bring the right specialty into view and keep the next step concrete.

THOX role: AI-powered learning host. Teaching assignments do not change a colleague’s identity or authority.

Authored reflection prompt

What do you want to build, and what evidence will show that it works?

A prepared learning prompt, not a generated reply.

How we build

Understand it. Build it. Show the evidence.

Rust anchors the core, runtime and systems learning. Supporting tools follow the target, device and job. AI assistance can help you build; explaining the contract, diagnosing a failure and transferring the idea remain your work.

  1. 01

    Frame the job

    Name the outcome, target, owner and acceptance conditions. Read the current source before changing it.

    Leave behind: A bounded brief and known starting point.

  2. 02

    Define the contract

    Model the inputs, allowed actions, success and refusal with explicit types. Keep policy separate from I/O.

    Leave behind: A small contract with positive and refusal examples.

  3. 03

    Build one useful slice

    Use Rust for the selected core. Keep adapters small and preserve the target’s active implementation.

    Leave behind: A focused change that someone can inspect.

  4. 04

    Exercise the failures

    Reproduce the fault, challenge invalid or unavailable inputs and explain the cause.

    Leave behind: A meaningful regression check.

  5. 05

    Verify the target

    Run the repository’s actual format, lint, test and relevant interface or device checks.

    Leave behind: Actual results, tool versions and skipped stages.

  6. 06

    Review and hand off

    Explain the change, preserve attribution and give the next owner a concrete continuation.

    Leave behind: A reviewable result and honest readiness.

The tools, in their proper place.

There is no single framework or version mandate for every THOX product. Follow the selected repository’s dependencies, lockfile and checks.

Explore TXF
Rust and CargoCore learning

Ownership, borrowing, enums, Result, crate boundaries and tests. Follow each target’s declared toolchain and local gate.

Git and review evidenceDevelopment discipline

Small branches, exact revisions, focused checks and useful contribution records. Test, merge and deployment are separate outcomes.

Selected Rust servicesBy component

Tokio/Axum in the Rust Digital Human runtime; synchronous tiny_http/ureq in ThoxMind. Select the service model the component actually owns.

TXF and TypeScriptProduct interfaces

THOX Experience Fabric supplies shared components, navigation and trust patterns. Retain the consumer’s React, Next.js or Web Components stack.

Tauri and native hostsDesktop integration

Connect the Rust core to ThoxChat’s desktop interface through typed commands. Native and browser acceptance remain separate.

Python where it belongsTarget-specific

Diagnostics, fixtures and the active Python/SQLite service on the original Pi Zero ARMv6 target. Python is optional for the Rust learning path.

Storage and identityExisting ownership

SQLite for local management and Supabase/Postgres for website accounts have distinct jobs. Reuse the target’s existing authorization boundary.

Model and runtime adaptersQualified hosts

Use the selected llama-server or Ollama contract and model artifact. Measure actual memory, latency and quality before drawing conclusions.

MCP and scoped toolsSpecialist work

Discover capabilities, validate arguments and distinguish reads from mutations. A connected tool does not grant permission for every action.

Embedded and board toolsExact hardware

Use no_std, cross-builds and board toolchains where the target needs them. Host tests are preparation for separate physical checks.

Hermes interoperabilitySelected integration

An existing separate integration path for Digital Human runtimes. Keep execution host, profile and memory scope explicit.

Learning workbench

Learn it by changing it.

6 lessons · 2 tracks · Open to everyone

ThoxStudio / Lesson 01

Browser exercise

Know your board

Make a board inventory that another builder could use without guessing which device or firmware you meant.

Open full lesson10 minutes · No kit required
Read the experiment brief

Use the example below or inspect a board you already own. No hardware connection or purchase is required.

  1. 01

    Name the exact target

    Record the board model, revision, processor, memory and the source of each value. Keep an unknown revision as unknown. A similar product name is not enough to choose firmware.

  2. 02

    Separate observation from expectation

    A camera connector is not proof that a camera works. Mark each capability as observed, documented or unverified. Record the firmware identifier when you can read it.

  3. 03

    Check the example manifest

    Use the exercise to compare a board against an image target. A mismatch must stop an update. This comparison teaches the check; it does not flash a device or verify an image signature.

Your workbench

Try the lesson

Board identity matches the target

A real update still needs a verified release signature, exact compatibility checks and the physical recovery instructions.

What you should be able to explain

  • The board model and revision are explicit.
  • Unknown details remain visible.
  • An incompatible image target is refused.
Review & save progress

These exercises use fictional devices and sample inputs. They run in this browser without connecting to hardware. Saved account progress records lesson IDs and your chosen track; worksheet text is only included if you download it yourself.

Keep building offline

Your experiment can leave the browser.

Members can download the portable Learning Pack with editable Python examples, eight built-in checks and evidence templates. It runs on your computer with Python 3.10 or later, without a network connection.

Open member resources

Your tools, one workbench

Open something. Change something.

Choose a real THOX lab, inspect what it does, then make it yours. This launcher uses the same TXF components as our shared experience framework.

Explore the fabric
THOX / DEVTOOLSSelect a tool to preview

Instruments

Build

Assistant

ThoxGrid Space Gray concept with four THOX devices

Selected: ThoxGrid Virtual Lab

Build the system around your idea.

Open the existing ThoxGrid lab, change the arrangement and see how the browser model responds.

  1. 01Choose a grid arrangement
  2. 02Enable and disable device seats
  3. 03Compare the planner modes
Open ThoxGrid Virtual Lab

ThoxGrid design concept. The lab uses a software model.