Skip to main content

OpenTitans

The Open-Source Framework for Memory-Augmented Sequence Models

License: MIT Python 3.10+ PyTorch 2.0+ Maintenance PyPI version


Democratizing Test-Time Memorization and Neural Memory Architectures.

Introduction • Documentation • Quick Start • Citations • Contributing

Introduction

OpenTitans is a modular, high-performance framework designed to implement and explore the next generation of sequence models. While Transformers revolutionized AI, their quadratic context limitations have met their match.

Inspired by groundbreaking research from Google and other top labs, OpenTitans focuses on Memory-Augmented Models that learn to memorize, optimize, and cache their internal states at test time. Our goal is to provide a "HuggingFace-like" experience for researchers and engineers building the future of infinite-context modeling.


Documentation

For detailed information on how to use OpenTitans, please refer to our Documentation Index.


Quick Start

Installation

[!TIP] We recommend using a virtual environment (venv or conda) for the best experience.

pip install open-titans

Development Installation

# Clone the repository
git clone https://github.com/Neeze/OpenTitans.git
cd OpenTitans

# Install in editable mode with dependencies
pip install -e .

Contributing

We are looking for "Titans" to help us build!

Whether you want to implement a new paper, optimize a CUDA kernel, or just fix a typo, your contributions are welcome. Check out our CONTRIBUTING.md to get started.


Citations & Acknowledgements

OpenTitans stands on the shoulders of giants. We acknowledge the authors of the following papers for their foundational work:

@misc{behrouz2024titanslearningmemorizetest,
      title={Titans: Learning to Memorize at Test Time}, 
      author={Ali Behrouz and Peilin Zhong and Vahab Mirrokni},
      year={2024},
      url={https://arxiv.org/abs/2501.00663}
}

@misc{behrouz2025itsconnectedjourneytesttime,
      title={It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization}, 
      author={Ali Behrouz and Meisam Razaviyayn and Peilin Zhong and Vahab Mirrokni},
      year={2025},
      url={https://arxiv.org/abs/2504.13173}
}

@misc{behrouz2025atlaslearningoptimallymemorize,
      title={ATLAS: Learning to Optimally Memorize the Context at Test Time}, 
      author={Ali Behrouz and Zeman Li and Praneeth Kacham and Majid Daliri and Yuan Deng and Peilin Zhong and Meisam Razaviyayn and Vahab Mirrokni},
      year={2025},
      url={https://arxiv.org/abs/2505.23735}
}

@misc{behrouz2025nestedlearningillusiondeep,
      title={Nested Learning: The Illusion of Deep Learning Architectures}, 
      author={Ali Behrouz and Meisam Razaviyayn and Peilin Zhong and Vahab Mirrokni},
      year={2025},
      eprint={2512.24695},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2512.24695}, 
}

@misc{behrouz2026memorycachingrnnsgrowing,
      title={Memory Caching: RNNs with Growing Memory}, 
      author={Ali Behrouz and Zeman Li and Yuan Deng and Peilin Zhong and Meisam Razaviyayn and Vahab Mirrokni},
      year={2026},
      eprint={2602.24281},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2602.24281}, 
}

License

OpenTitans is released under the MIT License. See LICENSE for more details.

Metadata

Release files for open-titans 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for open-titans 1.1.0
File Size Uploaded
open_titans-1.1.0.tar.gz 50.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for open-titans 1.1.0
File Interpreter ABI Platform
open_titans-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 102.1 kB

Release files / open_titans-1.1.0.tar.gz

Download URL open_titans-1.1.0.tar.gz
Size 50.7 kB
Tags Source
SHA-256 checksum
How to use checksums
63bf074754f94c8d1bd909029d5ead08283086d8c314cd8ad5e7bd3541b89d92
BLAKE2b-256 checksum
How to use checksums
a0605bc245a0205532eba40d669dcfb378e80b1318eb977e3432547775287637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.

Transparency log

Release files / open_titans-1.1.0-py3-none-any.whl

Download URL open_titans-1.1.0-py3-none-any.whl
Size 51.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a997f86c8ac832a3a250c9b815afa990d692cef51efadbdbbae191f7b9c536b
BLAKE2b-256 checksum
How to use checksums
44e381fc6b37cccb3c9d7983dc6f7864876bd76d94da1a5efe57e597ebb0e2a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page