In this paper we introduce arrow algebras, simple algebraic structures which induce elementary toposes through the tripos-to-topos
construction. This includes localic toposes as well as various realizability toposes, in particular, those realizability toposes
which are obtained from partial combinatory algebras. Since there are many examples of arrow algebras and arrow algebras have
a number of closure properties, including a notion of subalgebra given by a nucleus, arrow algebras provide a flexible tool
for constructing toposes; we illustrate this by providing some general tools for creating toposes for Kreisel's modified realizability.