# Interface - Source: `main.aji`, an `.aji` module. - Entry point: `main(input: cap, out: cap, heap: cap)`; any return type. - The program is run as `aji run --fuel 400000000 --grant input=io.read --grant out=io.write --grant heap=mem.alloc:4194304 --stdin TEXT main.aji`. Standard input is TEXT; the bytes written to standard output appear in the run record's `stdout` field, and the run must end with `"status":"returned"`. - The heap budget is 4194304 bytes of live allocations; the run stops after 400000000 executed instructions.