Sample output
Sample input
Entirely fictional three-person trip. Shared expenses: Ada paid TRY 6,000 for accommodation, Bora TRY 3,600 for transport and Cem TRY 2,400 for food. Split all expenses equally among the three. These are neither market prices nor actual reservations.
Sample output
Illustrative budget result — not a TREK execution. Total: TRY 12,000. Share per person: TRY 4,000. Ada paid TRY 6,000 and is owed TRY 2,000. Bora paid TRY 3,600 and owes TRY 400. Cem paid TRY 2,400 and owes TRY 1,600. Suggested transfers: Bora → Ada TRY 400; Cem → Ada TRY 1,600. Check: Ada 6,000 − 2,000 = TRY 4,000; Bora 3,600 + 400 = TRY 4,000; Cem 2,400 + 1,600 = TRY 4,000. Status: Proposal only. No records changed, payments made or reservations booked.
Official source: https://github.com/liketrek/TREK/tree/2bcfc1bfcbbff0affd097c0f789c835396389572 . Reviewed source licensed AGPL-3.0. TREK is self-hosted; requires a Docker-supported deployment, an account and administrator setup. Code access is free; hosting and AI model/API costs are separate. The AI assistant is off by default; an administrator enables it and configures a supported provider. AIPrompter authored this illustrative example and checked its arithmetic with local Python; TREK was neither installed nor executed. Source documentation describes apply/discard approval cards; that behavior was not runtime-tested here. Map coverage, exchange-rate data and provider access vary. Check what data will go to your provider before sharing passports, booking codes or personal documents.
Raw prompt
Review these shared trip expenses: {people and payments}. Currency: {currency}; split rule: {rule}. Show the total, each person’s share, credits or debts, and the minimum necessary transfers. Do not invent missing prices, reservations or exchange rates. Show changes as proposals and wait for my approval before saving. Check each person’s net contribution after transfers.How to use this prompt
1. In an approved TREK deployment, create a trip and set participants, currency and equal/custom shares. 2. Enter expenses and actual payers under Costs; separate private expenses. 3. If the administrator enabled the AI assistant, use the prompt; a normal chat can also reproduce the example, but that is not a TREK test. 4. Check amounts and participants before applying suggestions. 5. Recalculate net contributions after transfers; make any actual bank transfers separately and deliberately.