A personal AI that remembers what's unfinished, and checks who's asking before you pay.
You mention things in passing: "Sarah said she'll get back to me Friday", "I need to finish my portfolio". Then they slip. Notes apps keep what you wrote. Chatbots forget it by the next session. Troth pulls the open loops out of normal conversation (tasks, your promises, things you're waiting on, deadlines), links them to your goals, keeps them until they're done, and tells you before they slip.
Some messages ask you to act and aren't from who they claim: a "bank" asking you to verify your account, a fund promising 12% a month. To Troth, a request for your money or details is one more open loop. Before you close it, Troth checks who's asking.
Built for the Nebius x NVIDIA Global AI Hackathon, Personal AI track. It runs on NVIDIA Nemotron through Nebius Token Factory, with Hermes Agent as the assistant you talk to. Everything here was built during the submission period: the first commit is 2026-09-29.
Try it: https://troth-nebius-nvidia.duckdns.org is a shared demo with sample data, reset every night at 19:00 UTC (03:00 in Malaysia). Judges get the password with the submission.
Every loop goes through five steps:
- Capture. You tell it in the dashboard chat or on Telegram, paste a message or a whole chat into the dashboard (no Hermes needed), email arrives from someone you're waiting on, or you forward a message or a screenshot.
- Remember. Goals, loops, people and the exact words each loop came from are saved in one SQLite file.
- Check. When a loop asks you to pay or share details, ScamGraph researches who's asking on the live web and fixed rules score the risk.
- Remind. Needs attention and the 8:00 Telegram briefing list what's overdue, due soon, stalled or risky.
- Close. You say it's done, an email reply closes it, or the web watch finds the answer. Drafts and calendar events wait for your yes.
- 8:00, Telegram: "2 things need you: Sarah's reply is due tomorrow; your portfolio has had no update in 5 days."
- 9:12: You tell Troth you need to transfer RM5,000 to "T. Rowe Price" at troweprice-my-invest.com by Friday. It saves the loop and asks: "Want me to check who's asking first?"
- 9:14: Critical risk. T. Rowe Price's real site is troweprice.com, not the link in the message, and Bank Negara's alert list names T. Rowe Price clones. The loop moves to the top of Needs attention: hold off paying.
- 15:40: Sarah emails back. Her loop closes on its own, and the interview time waits as a calendar proposal until you say yes.
- Next morning: the briefing still lists the deposit until you mark it done.
(The T. Rowe Price message is test sample B in tests/scenarios/.)
| The track asks for | Troth |
|---|---|
| Always on | Hermes runs the Telegram bot, the 8:00 briefing and the 10-minute email and web sync for as long as its gateway runs (hermes/, scripts/sync.py). Without Telegram, Troth runs the sync itself (AUTO_SYNC_MINUTES). The hosted demo runs all of it on a GCP VM. |
| Private, your data under your control | One SQLite file on your machine; see Your data |
| Persistent memory | Goals, loops, people, the words each loop came from, history with undo, and every message check (app/engine.py, app/db.py). Hermes' own memory is off, so there's one source of truth. |
| Reusable skills | Two Hermes skills (hermes/skills/): /check <message> and /briefing on Telegram. The 8:00 cron job runs briefing too. |
| Tools you choose | 18 MCP tools any MCP client can call (app/mcp_tools.py). Google, Tavily and Telegram are each opt-in. |
| Tasks across your daily workflows | Follow-up drafts, Gmail drafts, calendar events, web watch, loops closed by email replies, message checks. Anything that changes the outside world waits for your yes. |
| NVIDIA open model | Nemotron on Nebius Token Factory for every model call: 3.5 Super VL for the agent, extraction and screenshots, 3 Super for message checks (app/llm.py) |
| Hermes Agent | Chat, Telegram and cron, with Troth's tools only (hermes/config.example.yaml) |
- Your loops, goals and people live in one SQLite file (
backend/data/continuum.db) on your machine. - Hermes' own memory is off, and it only has Troth's tools: no terminal, files or browser.
- Troth never sends anything for you.
- Our server never opens a suspicious link: Tavily reads it. Messages being checked are treated as untrusted text and never followed.
- Logs hold ids and counts, never message text. What does leave your machine is listed under Privacy.
- Tell it: "I'm applying for an NVIDIA internship. Sarah said she'll get back to me next Friday. I also need to finish my portfolio."
- It saves the goal Secure NVIDIA internship with 2 loops: Wait for Sarah's response (due Fri) and Finish portfolio.
- The dashboard splits loops into Owed to you and You owe, each with its goal and due date, overdue items in red. Click a loop to see the exact sentence it came from.
- Restart everything, then ask "What am I waiting on?" and it answers from its database.
- Say "Sarah got back to me!" or click Resolve, and the loop closes. When the whole goal is finished, click Mark goal done.
- Needs attention. The top of the dashboard lists what's overdue, due today or tomorrow, or hasn't been touched for 4 days (
STALE_DAYS). Plain rules, no LLM, so it's instant and predictable. Ask "What's urgent?" in chat for the same list. - What it depends on. Say "I promised Sarah my NVIDIA application by Friday, but I can only send it once Dr. Lim sends my reference letter" and Troth links the two. If Dr. Lim's letter slips past Friday (say his email moves it to next week), the application moves to the top of Needs attention with the reason and options worked out in code: at risk: "Get reference letter from Dr. Lim" is due Wed Oct 28, after this. Options: Ask Dr. Lim if Thu Oct 22 works · Tell Sarah early and offer Wed Oct 28 · Move your date. The sync job posts the same line to Telegram, and Ready once the letter arrives; Needs attention shows ready for 3 days too. Links come only from what you say, never from a shared topic. Ask "what's blocking the application?" to see them.
- Snooze. Hide a loop until Tomorrow, In 3 days, Next Monday or any date, from the dashboard or in chat ("snooze the portfolio till Monday"). It comes back on that day.
- Drafts. Click Draft (or ask "draft a follow-up to Sarah") and Troth writes a short message for you to copy. It never sends anything.
- Telegram. The same assistant on your phone: capture loops on the go, ask what's urgent. Setup.
- Daily briefing. Every morning, a short Telegram message with what needs you. Reply to it to snooze, resolve or draft. Setup.
- Email. Give Troth someone's address ("Sarah's email is sarah@nvidia.com") and it reads new mail from them every 10 minutes. A reply that answers your loop closes it, a new deadline becomes a task, and a meeting time becomes a calendar proposal. Mail from someone new (not newsletters or Gmail's Promotions, Social, Updates and Forums) only suggests a loop: Add keeps it and follows their replies, Ignore drops it. Setup.
- Web. Say "keep an eye on the hackathon results" and Troth searches for it once a day with Tavily. Ask "when does the Google STEP application close?" and it looks it up, with the link. What the web says is only ever a proposal.
- Your yes first. Calendar events, Gmail drafts ("draft a thank-you reply to Sarah") and web findings wait under Waiting for your yes, or on Telegram, until you approve. Nothing is ever sent. If one fails (say Google was disconnected), it stays there with Try again.
- Edit. Fix a loop's title, kind, person, date or next action from its panel, or in chat ("rename the charger one to Return Aina's laptop charger"). The old values stay in History, with Undo.
- Undo. Each loop's History shows what changed it (you, chat, email or the web) and the words behind it, with Undo on automatic changes.
- Only what was written. Each loop and change keeps the words that state it, checked to really be in your message or the email. An email change Troth can't quote from the email isn't made. Emails and web pages reach the model marked as someone else's words, never instructions.
When something asks for your money or details, Troth checks who's asking:
- Paste the message, a link or a screenshot on Check a message (
/investigate.html). - Or ask in chat or on Telegram: "Is this legit?" plus the message. A forwarded message asking for money is checked right away.
- When you save a loop about paying someone ("I need to transfer RM5,000 to … by Friday"), Troth offers the check itself. A loop like that also gets a Check who's asking button.
The check runs five steps:
- Extract. Nemotron pulls out who it claims to be (company, website, phone, email), what it claims ("licensed by SC", "12% monthly"), and pressure tactics, each with a quote from the message.
- Research. Tavily searches the Securities Commission and Bank Negara alert lists, the company's real website, and a few searches Nemotron plans. The top 5 pages are read through Tavily Extract. Our server never opens the suspicious link itself.
- Check. Nemotron reads each page against each claim. A quote it cites must really be on the page, or it's dropped.
- Score. Fixed rules in code, not the model, set the verdicts, risk signals, score, level (LOW to CRITICAL, or not enough evidence) and confidence. Every signal links to its source or to a quote from the message.
- Show. The page shows the steps live, then the risk level, cited findings, next steps, an evidence graph (click a node or line to open its evidence) and every claim with its sources.
Anything but low risk stays with you, including "not enough evidence to verify the sender". The loop you checked, or a new one, "Verify before paying", goes to the top of Needs attention and into the morning briefing until you resolve it.
AI investigates. Evidence supports. Deterministic rules assess. Humans decide. It reports risk signals, never "scam" or "scammer", and never contacts or reports anyone for you.
flowchart LR
subgraph C[Troth, one process]
API[FastAPI]
MCP[MCP /mcp]
E[Continuity Engine<br/>loops, attention]
I[ScamGraph<br/>message checks]
DB[(SQLite)]
API --> E
API --> I
MCP --> E
MCP --> I
I -->|risky check → loop| E
E --> DB
I --> DB
end
UI[Dashboard] -->|chat, loops, checks| API
TG[Telegram] <--> H
CRON[Hermes cron<br/>daily briefing] --> H
API -->|proxy chat| H[Hermes Agent<br/>gateway :8642]
H -->|reasoning| N[Nemotron via Nebius]
H -->|MCP tools| MCP
E -->|extraction| N
I -->|extract, plan, check, summary| N
I -->|search + extract| T[Tavily]
SYNC[sync.py<br/>Hermes cron, every 10 min] --> E
SYNC -->|mail from linked people;<br/>from others, proposals only| GM[Gmail]
SYNC -->|watched loops| T
E -->|after your yes| GA[Gmail drafts / Calendar]
- Troth (one Python process): FastAPI serves the dashboard, a REST API, and an MCP server at
/mcp/. The continuity engine (app/engine.py) owns extraction, goal linking, dedup, the attention rules and storage. - Hermes Agent (second process) is the chat brain, for the dashboard chat, Telegram and the daily briefing. It decides when to save (
remember) and when to answer from memory (list_open_loops,needs_attention,list_goals,inspect_loop,resolve_loop,snooze_loop, andedit_loopto rename or correct one). Proposals wait for your yes (list_pending_actions,approve_action,reject_action). With a Tavily key it can look things up (web_lookup) and watch a loop on the web (watch_loop); what it finds only becomes a proposal (propose_loop_update). With Google connected it proposes calendar events and Gmail drafts (propose_calendar_event,propose_gmail_draft), created only after your yes. For a suspicious message it callsinvestigate, which runs ScamGraph and waits up to 100 s; if the check takes longer, it answers with the dashboard link. Whenremembersaves a loop about paying someone, Hermes offers the check and passes that loop's id, so the result stays with the loop. It runs in its owncontinuumprofile, so your default Hermes setup is untouched. Its built-in terminal, file, web, browser and memory tools are off on every platform. It only has Troth's tools.
Troth should hold a real conversation and decide for itself whether a message is something to remember, a question, or a status update. Hermes gives us that agent loop, conversation history and an OpenAI-style API server. Troth stays the single source of truth through MCP, so there's no second memory to drift out of sync.
Every model call goes to NVIDIA Nemotron through Nebius Token Factory. The agent and the extraction run on Nemotron 3.5 Super VL (nvidia/Nemotron-3.5-Super-VL, NEBIUS_MODEL):
- Hermes uses it for reasoning and tool calls.
- Extraction (
app/extraction.py) sends Nemotron the message, the current date/timezone and your existing goals and open loops. Nemotron returns JSON (in JSON mode) with new goals, new loops, updates and resolutions. Pydantic validates it. Invalid output gets one retry with the error attached, then fails cleanly.
The engine then drops any ids the model invented, dedups by normalized title, and writes everything in one transaction. A failure writes nothing.
ScamGraph reads a screenshot with 3.5 Super VL too (NEBIUS_VISION_MODEL), then runs its other steps on Nemotron 3 Super (nvidia/nemotron-3-super-120b-a12b, NEBIUS_CHECK_MODEL).
Why two models (measured 2026-10-27): 3.5 Super VL passed all 32 live tests, took one extraction call from 10–17 s to 6–9 s with the same answers, and reads images. On message checks it writes more reasoning and was 1.8x slower (scenario A: 99 s against 59 s, run side by side), so checks stay on 3 Super. Until 2026-10-27 everything ran on 3 Super with Gemma 3 reading screenshots, so the numbers in troth_eval.md were measured on 3 Super.
Where Token Factory helped: Hermes and our own calls share one OpenAI-compatible endpoint (NEBIUS_BASE_URL), and switching models is one env var (NEBIUS_MODEL). That let us time Nemotron models (Nano, 3.5 Lightning, Super, and later 3.5 Super VL) on the real pipeline before picking, with no code change.
ScamGraph's research runs on Tavily: Search (basic depth, with include_domains for the regulators' sites) and Extract for the pages worth reading. A run uses at most 8 searches and 5 page reads per round, with one follow-up round. Each good reply is cached in backend/data/tavily_cache/; if Tavily fails, the cached reply is used and the step says so.
The code uses Troth's working name, continuum: the Hermes profile, the DB file and the package keep it.
The Python app lives in backend/ and the UI in frontend/. Run every command below from backend/ unless it says otherwise.
Needs Python 3.11+, Hermes Agent (tested with 0.21 and 0.22) on your PATH, and a Nebius API key.
macOS / Linux
cd backend
python -m venv .venv && .venv/bin/pip install -r requirements.txt -e .
cp .env.example .env # then set NEBIUS_API_KEY
.venv/bin/python scripts/setup_hermes.py # creates the Hermes "continuum" profile
.venv/bin/uvicorn app.main:app # terminal 1: Troth on :8000
hermes -p continuum gateway run # terminal 2: Hermes on :8642Windows (PowerShell)
cd backend
python -m venv .venv; .venv\Scripts\pip install -r requirements.txt -e .
copy .env.example .env # then set NEBIUS_API_KEY
.venv\Scripts\python scripts\setup_hermes.py
.venv\Scripts\uvicorn app.main:app # terminal 1
hermes -p continuum gateway run # terminal 2Open http://127.0.0.1:8000. Re-run setup_hermes.py after changing keys or the model, and after updating Troth (it copies new tools and instructions into Hermes).
Changing the UI (Node 20+). The pages are React + Vite in frontend/. backend/app/static/ holds the built files, committed, so running Troth needs no Node.
cd frontend && npm install # from the repo root
npm run dev # http://localhost:5173 with hot reload; /api goes to Troth on :8000
npm run build # type-checks, then rebuilds backend/app/static (commit it)TAVILY_API_KEY in .env is needed for ScamGraph's research (without it, only the message itself is checked) and for web watch and lookup (free key at tavily.com). Then say "keep an eye on the hackathon results", or use Watch the web in a loop's detail. python scripts/sync.py runs the check: each watched loop is searched at most once a day, and anything found shows under Waiting for your yes.
requirements.txt pins the tested versions; -e . installs Troth itself so the scripts can import it.
On Windows the Hermes installer puts hermes.exe in %LOCALAPPDATA%\hermes\bin. If hermes isn't found, add that folder to your PATH.
To try the UI with sample data, set DATABASE_URL=sqlite:///./data/seed.db, then run python scripts/seed_demo.py and start uvicorn with the same DATABASE_URL. It loads the judges' demo and refuses a database that already holds other data.
Set APP_PASSWORD in .env: every page and /api then asks for it (any username), and /mcp only answers the same machine, where Hermes runs. Changes through /api also need the header X-Troth: 1, which Troth's pages send, so another website can't make changes in your name. Set PUBLIC_URL to the address people open, so chat links point there. Use a fresh DATABASE_URL. Google's sign-in only opens on your own computer: to use Google on a server, sign in there and copy the token over (A demo for judges shows how).
CI (.github/workflows/ci.yml) tests every push. When main passes, it deploys that commit to the VM over SSH. It updates the code, then redoes only what changed since the last deploy that finished:
- new dependencies →
pip install; - code in
backend/app/→ restart Troth, then Hermes; backend/hermes/orsetup_hermes.py→setup_hermes.pyand a Hermes restart.
Docs, tests, scripts and the UI build go live without a restart. Your .env and database on the VM stay as they are. After editing .env on the VM, or to redo everything, run it by hand: Actions → CI → Run workflow. A change to scripts/setup_server.sh isn't applied by a deploy: run it again on the VM.
Once, on the VM:
- Create a VM: Debian 12, e2-small or larger, with Allow HTTP traffic and Allow HTTPS traffic ticked. Make its external IP static (VPC network → IP addresses → Promote to static).
- Use SSH in the console, then:
git clone https://github.com/ADAMAMZAR/troth.git ~/troth cd ~/troth/backend && cp .env.example .env # set NEBIUS_API_KEY, APP_PASSWORD, Telegram, Tavily
- Install Hermes, then run
bash ~/troth/backend/scripts/setup_server.sh. It installs Troth, sets up Hermes, starts both as services and puts Caddy in front for HTTPS. The address ishttps://<ip-with-dashes>.sslip.io, or your own domain if you run it withTROTH_DOMAIN=troth.example.comand point the domain at the VM. It setsPUBLIC_URLin.envto match. - On the VM, create the cron jobs from Daily briefing and Email and web sync below. They stay in the Hermes profile across deploys.
Once, for CI (on your own computer; whoami on the VM gives <vm-user>):
ssh-keygen -t ed25519 -f troth-deploy -N "" -C <vm-user>makes a key just for deploys. In Windows PowerShell, leave out-N ""and press Enter twice instead.- In the console, open the VM → Edit → SSH Keys → Add item, and paste the contents of
troth-deploy.pub. ssh-keyscan -t ed25519 <vm-ip>prints the VM's host key.- On GitHub, go to Settings → Secrets and variables → Actions and add
DEPLOY_HOST(the VM's IP),DEPLOY_USER(<vm-user>),DEPLOY_SSH_KEY(the contents oftroth-deploy) andDEPLOY_KNOWN_HOSTS(the output of step 3). Then delete the local key files.
A deploy doesn't change the database schema. If a change needs a new one, delete the .db file on the VM (or reset the Postgres database), then redeploy.
scripts/seed_demo.py fills an empty database with a short story, dated from today:
- a promise put at risk by an email that moves what it needs;
- an overdue reply, a stale task and a promise due tomorrow;
- a loop an email closed, with Undo;
- a suggestion from a new sender waiting for Add or Ignore;
- two finished message checks: a clone of a real fund company (critical risk) and a real bank (low).
The checks replay test samples B and C as recorded with Tavily (tests/fixtures/scam_frozen.jsonl), scored with today's rules, so loading costs no Tavily credits; Nemotron writes their findings. The script refuses a database that holds data and isn't marked as the demo, and --reset empties only a demo.
On the VM, give the demo its own database and password, so judges never see your data. A SQLite file on the VM is fastest: every query stays on the machine.
- In
~/troth/backend/.env, setDATABASE_URL=sqlite:////home/<vm-user>/troth/backend/data/demo.db(four slashes: an absolute path, so the service, the sync job and cron use the same file) andAPP_PASSWORDto a password just for judges. - Load it, then restart:
cd ~/troth/backend && .venv/bin/python scripts/seed_demo.py && sudo systemctl restart troth. - Reload it every night, so one judge's changes don't reach the next.
crontab -e, then add (19:00 UTC is 03:00 in Malaysia; check the VM's zone withdate):0 19 * * * cd ~/troth/backend && .venv/bin/python scripts/seed_demo.py --reset >> data/seed_demo.log 2>&1
Telegram on this VM writes into the same database, so the nightly reset clears your own loops there too.
To show Gmail and Calendar too, connect a Google account made for the demo, never your own: judges see what it reads.
- Publish the Google app (Google Auth Platform → Audience → Publish app), or the connection ends after 7 days. Sign-in then shows "Google hasn't verified this app": Advanced → continue.
- On your own computer, connect the demo account in Settings → Connect Google, then copy the token to the VM:
scp backend/data/google_token.json <vm-user>@<vm-ip>:troth/backend/data/. - Delete the local
backend/data/google_token.json. Don't use Disconnect: it revokes the VM's copy too.
The sync job then reads the demo inbox, and approved drafts and events land in its Gmail and Calendar.
Chat with Troth from your phone. Hermes runs the bot, so there's no extra server and no public URL.
- In Telegram, message @BotFather, send
/newbot, and copy the token. Make a new bot just for Troth: one token can't serve two running gateways. - Message @userinfobot to get your numeric user id. (Not the number at the start of the bot token: that's the bot's id.)
- In
.env, setTELEGRAM_BOT_TOKEN=<token>andTELEGRAM_ALLOWED_USERS=<your id>. - Re-run
python scripts/setup_hermes.py, then restarthermes -p continuum gateway run. - Message your bot, e.g. "What am I waiting on?"
Only the user ids in TELEGRAM_ALLOWED_USERS get replies. On Telegram, Troth has the same tools as the dashboard chat, nothing else. Telegram keeps one ongoing conversation; send /new to start fresh.
Two commands come from Troth's Hermes skills (hermes/skills/), which setup_hermes.py installs: /check <message> checks who's asking, and /briefing sends what needs you now. Setup also removes Hermes' bundled skills from this profile; they need tools it doesn't have.
Every morning at 8:00 in your TIMEZONE, Troth sends what needs attention to Telegram. Reply to it to snooze, resolve or draft a follow-up. Create the job once (same command in bash and PowerShell):
hermes -p continuum cron create "0 8 * * *" "Send the morning briefing. Begin with Good morning." --skill briefing --deliver telegram --name briefingAn older job made from hermes/briefing_prompt.md switches over with hermes -p continuum cron edit <id> --skill briefing --prompt "Send the morning briefing. Begin with Good morning.".
The gateway (hermes -p continuum gateway run) must be running for it to fire. To try it now: hermes -p continuum cron list shows the job id, and hermes -p continuum cron run <id> sends it within a minute.
Set AUTO_SYNC_MINUTES=10 in .env and restart Troth. While it runs, it reads new email and checks watched loops on the web every 10 minutes, the same as python scripts/sync.py. Email from people linked to open loops can close or update their loops. Mail from anyone else (not newsletters, no-reply senders, or Gmail's Promotions, Social, Updates and Forums tabs) only suggests new loops under Waiting for your yes: Add saves the loop and the sender's address, so their replies are followed; Ignore deletes that email's text and the sender's address. EMAIL_NEW_SENDERS=0 reads only linked people. What changed shows in the dashboard: loops an email closed or updated (with Undo), Waiting for your yes for what waits for your yes, and Needs attention. Settings shows the last email check and, if one failed, why (for example, Google ended the connection: connect again). Use this or the Telegram job below on one machine, not both.
Every 10 minutes Troth reads new email, and once a day it checks each loop you asked it to watch on the web. It sends what changed to Telegram: loops an email closed, updated or added (undo in the dashboard), a calendar event when an email sets a date and time, and web findings. Events, web findings, an email's new task that has a link or an email address or asks for money or details, and every task from someone not linked to an open loop wait for your "yes" or "no". Create the job once, after setup_hermes.py (it installs the script the job runs):
hermes -p continuum cron create "every 10m" --no-agent --script continuum_sync.py --deliver telegram --name syncThe job runs scripts/sync.py without the LLM agent. Telegram only gets a message when something changed or was found, or when a check failed (the same error is sent once, not every 10 minutes). Re-run setup_hermes.py after moving the project.
Lets Troth read email from people you're waiting on and, with your yes, save Gmail drafts and calendar events. It never sends email.
- In Google Cloud Console, create a project and enable the Gmail API and the Google Calendar API.
- Under Google Auth Platform → Audience, set the user type to External, leave the status at Testing, and under Test users add the Google account you'll sign in with. Without it, Google stops sign-in with "Access blocked … Error 403: access_denied" (the app is in testing and you're not a tester).
- Under Clients, create a client of type Desktop app. Download its JSON and save it as
backend/data/client_secret.json. - In the dashboard, open Settings and click Connect Google. Your browser opens Google's sign-in.
- Give someone's address, in chat ("Sarah's email is sarah@nvidia.com") or in a loop's Contact email. From then on,
python scripts/sync.py(orAUTO_SYNC_MINUTES, or the cron job above) reads their new email and updates their loops. One address belongs to one person. The first run reads the last 7 days (SYNC_LOOKBACK_DAYS).
To check the connection on its own: python scripts/google_gate.py someone@example.com lists the last 5 emails from that address, saves a test draft (not sent) and creates a test event tomorrow at 10:00. Delete both afterwards.
Access asked for: read Gmail, write drafts, write calendar events. The token is saved in backend/data/google_token.json (gitignored). While the Google app is in testing, Google ends the connection after 7 days: connect again in Settings, or publish the app (Audience → Publish app). Disconnect in Settings revokes access and deletes the token.
pytest # offline: LLM and Hermes are mocked
pytest -m live # real Nemotron + Hermes + Tavily (needs keys and both servers running)pytest -m live -k scam_live runs ScamGraph's six test scenarios (tests/scenarios/, all labelled test samples) with real Nemotron and Tavily, about 10 Tavily credits each: a company on Bank Negara's alert list, a clone of a real company, a real bank, a job offer with no name, a mix of reliable and unreliable sources, and a room rental paid into a personal bank account. It also reads a screenshot. Its last test asks Hermes; start Troth on a scratch DATABASE_URL for that.
The live suite runs the acceptance inputs against real Nemotron, e.g. "Alex said he'll send me the dataset tomorrow" (a waiting loop due tomorrow), "The weather was nice today" (nothing saved), the same message twice (one loop), and "Alex sent the dataset" (loop resolved).
pytest -m eval scores Troth on real, labelled messages, 5 runs each, with 95% intervals. That covers loops from chat and email, message checks, and injection attempts: 20 synthetic, and 111 from the AgentDojo and BIPIA benchmarks. The data stays local in backend/data/eval/. How it works, and how to label: troth_eval.md, troth_labelling_guide.md.
- Everything is in one database:
backend/data/continuum.db(SQLite) on your machine, or the database inDATABASE_URL(Postgres such as Neon, or the demo's SQLite file on the GCP VM). What leaves it: text sent to Nebius for Nemotron to do its job; your Telegram messages if you turn Telegram on (they pass through Telegram's servers); with a Tavily key, only your watch searches and lookup questions go to Tavily, never your messages. Only the names of people you wait on go to the model, not their email addresses. - Email (if you connect Google): new mail from people linked to an open loop, and new mail people sent you from anyone else, except newsletters, no-reply senders and Gmail's Promotions, Social, Updates and Forums tabs (
EMAIL_NEW_SENDERS=0reads only linked people). Mail from anyone else changes nothing: it can only suggest a loop for your Add or Ignore. Each email's subject and new text (quotes and signature removed, at most 4,000 characters) go to Nemotron. The text is stored only if it changed or suggested a loop; Ignore deletes it. Attachments are never downloaded. Forget email data in Settings deletes all stored email text, quotes included; loops made from it stay, marked "source deleted". - ScamGraph: the message, screenshot and page text go to Nebius. Names, websites, phone numbers and the submitted link go to Tavily as searches. Screenshots are saved in
backend/data/uploads/(gitignored, never served). A risky check's message is also kept as its loop's source. Logs hold ids, counts and step names, never the message, quotes or searches. - Every loop links to the message it came from. Deleting a loop deletes those words too, unless another loop still uses them (an email keeps only its Gmail id, so sync doesn't read it again). A message check can be deleted on its page, with its screenshot.
- Settings → All your data: Export my data downloads one JSON file with your loops, goals, people, messages, history, proposals and checks. Delete everything empties it all, screenshots included, after a confirm; Google stays connected until you disconnect it. If your PC and a server share one database, this deletes it for both.
- Troth never sends anything on your behalf. Drafts are text for you to copy, or Gmail drafts you send yourself.
- Messages that change nothing (questions, small talk) aren't stored by Troth. Hermes keeps its own chat history in its
continuumprofile folder. - Logs record event names, counts and ids (
extraction_ok,loop_created,loop_resolved,email_synced), never message content, email subjects or API keys.
- One user. Without
APP_PASSWORD, run it on your own machine only. - ScamGraph is a heuristic. Signal weights are plain rules, not probabilities. Finding a company's official website depends on Nemotron reading the right page, about 2 runs in 3 for a clone of a foreign company; without it the identity stays "not verified". Malaysian regulators only (SC, Bank Negara). A check takes 1-2 minutes.
- Extraction is an LLM's judgment. It can miss an item or misread a date. On 18 of the author's real emails held out from tuning, 52% (31–73%) were handled fully right, and 22% of the loops Troth made were in the hand-made answer key; most extras came from newsletters and announcements. Those senders aren't linked to a loop, so their tasks wait for your Add or Ignore instead of landing in your list (troth_eval.md §15–16). The prompt lists the next two weeks, so the model looks weekdays up instead of counting (10 of 10 weekday phrases right in a live run, 2026-10-19), and snooze days like "monday" are worked out in code. Every loop shows the words it came from so you can check it, and wrong loops can be deleted.
next_actionis usually empty, because the model is told never to invent anything the message doesn't state.- Dedup is exact-match on normalized title + person, plus giving the model the existing loops. Reworded duplicates can slip through.
- Hermes' standalone gateway (
gateway.standalone: true) is a shim Hermes marks as temporary.hermes/config.example.yamldescribes the fallback. - Goals are marked done from the dashboard only, not by chat.
- No timed reminders. Troth can't message you at a set time. Ask for "remind me Monday at 8am" and it proposes a calendar event instead, so the calendar reminds you.
- Replies take time, because Nemotron reasons before it answers. Measured 2026-10-26 on 3 Super: a question takes 2–5 s, saving a message 10–20 s (most of it one extraction call, about 85% of whose output is reasoning), a message check 1–2 minutes. On 3.5 Super VL that extraction call takes 6–9 s.
- Keep the database next to the server. Every query is a round trip. With the VM in Iowa and Neon in Singapore that was 0.21 s, so the dashboard's loop list took 5 s and opening a loop 2–4 s; on a SQLite file on the VM they take 9 ms and 8 ms (measured on the VM, 2026-10-28). The VM is an e2-micro (1 GB) and swaps, so the 8:00 briefing has taken up to 3.6 minutes; use e2-small or larger.
- Run on your own computer, Telegram and the daily briefing only work while it's on. The GCP deploy keeps them running.
- Scheduled jobs (the daily briefing, web watch) only run while the gateway is running. A briefing missed while it was off is sent once when the gateway starts again, so it can arrive late.
- Check who's asking shows on loops whose words mention money, a link or an account (a keyword test). Any message can still be checked on Check a message.
- An email can still slip in a task. On 42 held-out attacks from the AgentDojo benchmark, 3% still changed something without asking, down from 10% (troth_eval.md §13.2). A task with a link or an email address, or one that asks for money or details, waits for your yes. Plain requests ("explain photosynthesis") still become tasks. Every email change can be undone.
- Worked well: one OpenAI-compatible endpoint for the agent and our own calls, and switching models by name.
- Vision came late. Until Nemotron 3.5 Super VL (released 2026-10-15), every Nemotron on Token Factory (Nano 30B, 3.5 Lightning, Super 120B, Ultra 550B) returned 400 "This model does not support image input", so we read screenshots with Gemma 3. 3.5 Super VL reads them now, so Troth is Nemotron end to end.
- Faster isn't always faster. 3.5 Super VL answered our extraction prompt about 1.6x faster, but wrote more reasoning on message checks and was 1.8x slower there. Measure each step.
- Latency. One Nemotron Super call took 11–37 s in our runs. Nano (27 s, needed a retry) and 3.5 Lightning (64 s) weren't faster for our prompts. A message check makes several calls, so it takes 1–2 minutes.
- JSON field names drift. Nemotron sometimes wrote
"behaviors"where the schema says"behaviours". We accept both and retry once with the validation error.