+++ title = "Examples" weight = 30 sort_by = "weight" template = "sections/docs/chapters.html" insert_anchor_links = "right" +++ Collection of how-tos and examples for threads. ## [Fetch JSON](/docs/userspace/threads/examples/get-json) Get some JSON from an external website. ## [Child Thread](/docs/userspace/threads/examples/child-thread) Spawn and manage threads from within threads. ## [Main-loop](/docs/userspace/threads/examples/main-loop) Create a loop - useful for long-running threads and for trying the same input against multiple functions. ## [Poke Agent](/docs/userspace/threads/examples/poke-agent) Poke an agent from a thread. ## [Scry](/docs/userspace/threads/examples/scry) Scry example. ## [Take Fact](/docs/userspace/threads/examples/take-fact) Take a fact from arvo or an agent.