# Examples

A collection of how-tos and examples for threads.

* [Gall](https://docs.urbit.org/urbit-os/base/threads/examples/gall) - Examples of interacting with threads from Gall agents.
* [Fetch JSON](https://docs.urbit.org/urbit-os/base/threads/examples/get-json) - Get some JSON from an external website.
* [Child Thread](https://docs.urbit.org/urbit-os/base/threads/examples/child-thread) - Spawn and manage threads from within threads.
* [Main-loop](https://docs.urbit.org/urbit-os/base/threads/examples/main-loop) - Create a loop - useful for long-running threads and for trying the same input against multiple functions.
* [Poke Agent](https://docs.urbit.org/urbit-os/base/threads/examples/poke-agent) - Poke an agent from a thread.
* [Scry](https://docs.urbit.org/urbit-os/base/threads/examples/scry) - Scry example.
* [Take Fact](https://docs.urbit.org/urbit-os/base/threads/examples/take-fact) - Take a fact from arvo or an agent.
