Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Tesseract 1.5.2.dev18+gfe9036a92 documentation
Light Logo Dark Logo

Introduction

  • Installation
  • Get Started
  • Tesseract User Forums

Creating Tesseracts

  • Creating Tesseracts
  • Design Patterns
  • Tips for Defining Tesseract APIs
  • Using LLMs to Create Tesseracts
  • Deploying Tesseracts

Using Tesseracts

  • Interacting with Tesseracts
  • Array Encodings
  • Advanced Usage

Learning resources

  • Differentiable Programming Basics
  • Debugging Guide

Examples

  • Example Gallery: Building Blocks
    • HelloWorld
    • VectorAdd
    • Univariate Rosenbrock function
    • Wrapping Compiled Code (Fortran Example)
    • Packaging local files into a Tesseract
    • Custom build steps: PyVista on ARM64
    • Installing local Python modules into a Tesseract
    • Out-of-core data loading
    • FileReference
    • Finite Difference Gradients
    • Deriving Gradient Endpoints from Each Other
  • Example Gallery: Integrating with Ansys Products
    • Wrapping SpaceClaim as a Tesseract
    • Wrapping MAPDL as a Tesseract
  • Demos & Tutorials
    • 4D-Variational Data Assimilation for a Chaotic Dynamical System
    • Building the JAX Solver Tesseract for Lorenz-96
    • JAX Rosenbrock Minimization
    • PyTorch Rosenbrock Minimization
    • JAX RBF Fitting

API Reference — SDK

  • CLI Reference (tesseract)
  • Python API (tesseract_core)
  • Configuration (tesseract_config.yaml)

API Reference — Runtime

  • Endpoints (tesseract_api.py)
  • CLI Reference (tesseract-runtime)
  • Python API (tesseract_core.runtime)
Back to top
View this page

Example Gallery: Building Blocks¶

This is a gallery of Tesseract examples that end at the build stage of the Tesseract lifecycle, and that can act as starting points to define and build your own Tesseracts.

You can also find these Tesseracts in the examples directory of the code repository.

Important

Beyond the Build: The real magic happens long after building a Tesseract. For some example applications that use Tesseracts in workflows, check out the Demos & Tutorials and Community Showcase.

HelloWorld

A simple “hello world” Tesseract.

View on GitHub

building-blocks/helloworld.html
VectorAdd

Tesseract performing vector addition. Highlighting simple array operations and how to use the Tesseract Python SDK.

View on GitHub

building-blocks/vectoradd.html
Univariate

A Tesseract that wraps the univariate Rosenbrock function, which is a common test problem for optimization algorithms.

View on GitHub

building-blocks/univariate.html
Fortran Integration

Wrapping a Fortran heat equation solver. Demonstrates subprocess-based integration for legacy compiled code.

View on GitHub

building-blocks/fortran.html
Package Data

A guide on including local files into a built Tesseract.

View on GitHub

building-blocks/packagedata.html
Pyvista on ARM64

A guide showcasing how to use custom build steps to install pyvista within an ARM64 Tesseract.

View on GitHub

building-blocks/arm64.html
Local Dependencies

A guide on installing local Python packages into a Tesseract.

View on GitHub

building-blocks/localpackage.html
Data Loader

Tesseract that loads in data samples from a folder without loading them into memory.

View on GitHub

building-blocks/dataloader.html
Input/Output File References

Tesseract that mounts input and output directories as datasets. To be used for Tesseracts with large inputs and/or outputs.

View on GitHub

building-blocks/filereference.html
Finite Difference Gradients

Make any Tesseract differentiable without implementing analytical gradients. Useful for prototyping and complex nested schemas. (Experimental)

View on GitHub

building-blocks/finitediff.html
Gradient Endpoint Derivation Fallbacks

Derive missing gradient endpoints (JVP, VJP, Jacobian) from ones you have already implemented. (Experimental)

View on GitHub

building-blocks/gradient-fallbacks.html
Next
HelloWorld
Previous
Debugging Guide
Copyright © 2025, Pasteur Labs
Made with Sphinx and @pradyunsg's Furo