OneAway

The person you need is probably someone you already know away.

You're closer than you think.

Inspiration

We both showed up to HackAI Toronto without a team.

After a few unsuccessful attempts at finding teammates, we met each other and decided to build together. Ironically, the problem that brought us together ended up becoming the problem we spent the weekend solving.

Our original idea was an AI assistant that could recognize when someone was struggling and connect them with someone who could help. But after interviewing other hackers, we realized we were approaching the problem backwards.

AI can already answer most technical questions. What it cannot do is physically test your prototype, introduce you to an investor, or get the right person into a room with you.

Even if you find that person, why would they respond to another stranger's message? People are busy, cold outreach gets ignored, and the person making an introduction rarely gets anything in return.

The people who can open those doors are often already within reach, hidden somewhere in the networks of people you know.

We built OneAway to turn those connections into completed real-world opportunities, while rewarding both the person who helps and the person who makes it happen.

What it does

OneAway turns a single request into a trusted, two-hop introduction through your existing network.

Instead of searching profiles or cold messaging strangers, you describe what you need. OneAway figures out who could help, who you already know that can reach them, and facilitates the entire interaction.

There are three roles:

  • Requester: Someone who needs a specific introduction, favor or piece of expertise.
  • Scout: Someone the requester already knows who can personally vouch for the request and forward it through their own network.
  • Helper: The person who can actually fulfill the request.

For example, Rayan needs an introduction to a CEO. OneAway identifies Adarsh, a software engineer at Magic Hour whom Rayan knows, and finds Runbo Li, Magic Hour's CEO, through Adarsh's network.

The entire workflow happens through OneAway:

  1. Ask. Describe what you need by typing or speaking. Add an optional reward.
  2. Discover. The screen becomes a field of faces and settles on a two-hop introduction path. Our AI evaluates eligible connections and identifies relevant people.
  3. Vouch. The Scout reviews the request, picks a person, writes a personal vouch and forwards it.
  4. Accept. The Helper opens a signed link, sees who referred them, the request and the reward share, and decides whether to help. No account or app installation is required.
  5. Complete. Participants check in using a PIN or QR code and confirm that the favor happened.
  6. Reward. The receipt displays the completed introduction path, with an offered reward split 80/20 between the Helper and Scout.

A $20 rewarded quest, for example, allocates $16 to the person who helps and $4 to the person who makes the introduction.

The requester never sees the Scout's contact book. On the deployed app, Helpers come only from friends who confirmed the friendship and turned routing on, minus anyone on the do-not-contact list. The ranker can score only people already in that pool. A name it invents is dropped.

If nobody suitable exists within the network, the quest stops on "Nobody one away yet." rather than inventing a connection or sending irrelevant invitations.

The introduction is not the end of the product. The completed favor is.

How we built it

We built a native iOS application, a deployed multi-party backend, an AI ranking agent, an interactive web visualization and a payment system within the hackathon.

OneAway ships as two Docker images, a Django API and a Next.js web app, over one Postgres database. Locally and in CI, Docker Compose runs four services from them: Postgres 16, the API, a timeouts worker, and the web.

Clients

The requester app is SwiftUI, with supabase-swift for sign-in and Stripe's PaymentSheet for the card. It talks to the API through OneAwayKit, a Swift package written against an OpenAPI contract that drf-spectacular generates from the Django code.

Friends and Scouts use the Next.js 16 app. Its run screen draws the search as a GSAP-animated canvas of faces, driven only by the quest's event stream.

Helpers need no app or account, only an expiring link signed with Django's TimestampSigner.

The native iOS application supports authentication, creating requests, viewing friends, holding rewards, following live quests, check-ins and completion receipts.

API and real-time synchronization

Django 6 and Django REST Framework, served by uvicorn over ASGI. A quest is a state machine:

Created → Scouting → Vouched → Accepted → Checked in → Completed

Transitions run inside transactions with row locks, and accept and check-in are idempotent, so a double tap or a retried request lands once.

Every step appends a row to an event log. An async view streams that log as Server-Sent Events, with the row id as the Last-Event-ID, so a phone that drops off resumes where it stopped. The stream reads from Postgres, not an in-memory broker, so any instance can serve any client.

Supabase Auth issues ES256 tokens, which Django verifies against the project's JWKS. The web keeps tokens in httpOnly cookies and calls Django server-side.

Background work

The one button returns at once. Ranking, Stripe calls and the receipt summary run off the request.

A separate worker, manage.py run_timeouts, fires deadlines and retries unfinished Stripe captures. It claims due deadlines with SELECT … FOR UPDATE SKIP LOCKED, so a deadline can't fire twice.

Who can be asked

Routing rules live in code, not in a prompt.

A Scout is a friend who confirmed the friendship and turned on routing for that requester. Helpers come only from those Scouts' imported contacts, minus a do-not-contact list stored as HMAC-SHA256 hashes of normalized emails and phone numbers, so one opt-out blocks every route.

This lets the AI reason about relevance without giving it the authority to invent relationships or bypass someone's preferences.

The requester never receives unrestricted access to someone else's network.

QuestMaster: AI-powered relationship routing

QuestMaster is eight bounded calls, built with Pydantic AI on OpenRouter.

Our AI system separates understanding a request from deciding who can fulfill it.

Component Responsibility
Claude Haiku 5.5 Screens the ask, checks the vouch, and writes the meetup brief and receipt
Claude Sonnet 5.5 Runs the tool-enabled ranking agent
Pydantic AI Structured outputs, agent execution and validation
Exa / Brave Public web research and supporting evidence
Grok Additional public context in the web experience
Deterministic state machine Acceptance, expiration, check-ins, completion and payments

Code builds the candidate pool first. The agent searches it with tools:

  • search_all_scouts: Searches across eligible Scouts' contacts in a single tool call.
  • search_contacts: Searches a particular Scout's contact network.
  • get_contact: Retrieves eligible contact information for deeper evaluation.
  • web_search: Searches public information through Exa or Brave.
  • fetch_page: Retrieves supporting evidence from a page.

A validator drops any pick that doesn't cite a real contact field or a page fetched in that run.

Each call has a Pydantic output schema, one retry inside its timeout, a versioned prompt, and a deterministic fallback, so a quest can continue even when a model is down.

User text reaches the model wrapped as data. A grounding check rejects generated text that names anything the model wasn't given.

Every call logs model, prompt version, latency and outcome. make eval scores ranking against a labeled set.

We also built an inspection interface that exposes the web agent's execution, including model calls, tool usage, latency and execution outcomes.

Evaluating the AI

We wanted to evaluate whether QuestMaster actually finds relevant people, not just whether it can produce a convincing recommendation.

QuestMaster's ranking agent is scored by an eval harness that builds a throwaway world of Scouts and about 150 synthetic contacts inside a database transaction that is always rolled back.

It runs 18 labeled asks through that world and reports:

  • Top-1 and top-3 hit rates by kind of ask: keyword match, paraphrase, and nobody fits.
  • Trap hits and broken routing rules.
  • Tool calls and latency.

The cases target where an agent goes wrong:

  • Look-alike near misses.
  • Paraphrased asks with no shared keywords.
  • Asks nobody fits.
  • Perfect fits held by friends outside the routing pool.
  • A do-not-contact VC.
  • A contact whose profile tries to prompt-inject the model.

The harness runs in four modes:

  1. The keyword fallback.
  2. A controlled model test.
  3. The live model.
  4. A guardrail suite of eight models that misbehave on purpose, including inventing contacts, faking evidence, probing tools and never stopping.

Every mode except the live model runs in CI on every pull request.

This lets us test both the ranking system's usefulness and its ability to respect the boundaries of a real human network.

Designing a network around people, not profiles

We wanted the interface to communicate an introduction without resembling another social network.

The main web experience begins as a field of faces. As the request is processed, the crowd resolves into a path connecting the Requester, Scout and Helper.

We developed a custom visual system around that interaction:

  • Canvas-rendered faces with consistent portrait treatments, depth and motion.
  • GSAP-animated introduction paths driven by quest events.
  • A consistent visual language across the web requester, stage and receipt experiences.
  • A single lime-green accent that communicates discovery, acceptance and completion.
  • Procedurally generated audio cues, where people contribute musical notes to the introduction's resolving chord.
  • Reduced-motion support and mobile layouts designed for zero-install interactions.

The face field makes the route readable from across a table: three people, one line, one green when someone says yes.

The result is an interface where the network itself becomes the product.

Closing the financial loop

Finding someone is only half the problem. We wanted to reward the person who made the introduction, not just the person who fulfilled it.

Stripe operates in test mode until a payment review.

The reward is a manual-capture PaymentIntent, held before anyone is asked and captured when both people confirm.

Scouts and Helpers onboard as Connect Express accounts. The 80/20 split goes out as Transfers in integer cents, and signed webhooks reconcile any transfer whose response was lost.

Our sandbox integration successfully processed a $20 CAD test payment and two test transfers of $16 and $4.

If Stripe does not return transfer IDs, the receipt shows the confirmed payment and the recorded split. We distinguish a ledger allocation from a completed transfer.

Payments, check-ins and completion are controlled by application logic, not model-generated decisions.

Deployment

The production deployment architecture uses Artifact Registry and Cloud Run, with both images running as separate services with Google-managed TLS.

The API keeps CPU always allocated and at least one instance, because its background work runs in-process after the response. The timeouts worker runs from the API image as one always-on instance.

Postgres is Cloud SQL, keys live in Secret Manager, and /api/health checks the database for Cloud Run's probes.

Event streams close after 30 minutes and reconnect, inside Cloud Run's 60-minute request limit. The web reads its settings at run time, so one image serves every environment.

For the hackathon, the same application code runs on a single free-tier Google Cloud VM.

Testing and AI-assisted development

GitHub Actions runs on every pull request:

  • Ruff and the Django tests on Postgres.
  • An OpenAPI contract drift check.
  • Web typecheck and tests.
  • A fresh-clone docker compose up that seeds and completes a quest.
  • A secrets scan.
  • Automated ranking and guardrail evaluations.

Playwright suites drive the Requester, Scout and Helper on emulated phones. Local test integrations for Stripe, Supabase Auth and Resend let us test the whole loop without keys.

We planned about 150 Linear tickets and merged 115 pull requests in under two days, much of the code written with Claude Code.

We also used FirstMate to orchestrate parallel coding agents across independent workstreams, coordinating implementation, integration, testing and review through GitHub and Linear.

Stack overview

Layer Implementation
Native application SwiftUI, OneAwayKit, supabase-swift
Web experience Next.js 16, React, TypeScript, Canvas, GSAP
Backend Django 6, Django REST Framework, uvicorn, ASGI
API contract OpenAPI, drf-spectacular
AI infrastructure Pydantic AI, OpenRouter, Claude, Node.js
Public research Exa, Brave, Grok
Authentication Supabase Auth, ES256, JWKS
Persistence PostgreSQL 16, SQLite
Real-time synchronization Server-Sent Events
Payments Stripe PaymentIntents, PaymentSheet, Connect Express
Infrastructure Docker, Docker Compose, Google Cloud
Testing Playwright, Django tests, custom AI eval harness, GitHub Actions
Development Claude Code, FirstMate, Linear, GitHub

Challenges we ran into

  • AI without invented relationships. A language model can recommend a convincing person who does not actually belong to the user's network. We solved this by constructing the candidate pool in code, validating recommendations against available evidence and testing adversarial cases.
  • Trust without exposing entire networks. A Scout should onboard once. A Helper should not install anything. Neither should hand the requester their whole network. The event log keeps track of who asked, who vouched, who accepted and how each interaction progressed.
  • Synchronizing three participants. Requesters, Scouts and Helpers can interact independently across different devices. Double taps, a tap before the page was ready, and a backgrounded tab each broke a real rehearsal. Accept and check-in are idempotent, and the stream reconnects when the page comes back.
  • Making the AI reliable. Model calls occasionally returned empty responses or timed out. We introduced bounded execution, structured outputs, automatic retries and deterministic ranking as a resilience mechanism.
  • Building a visual system rather than a dashboard. Representing an entire network while keeping the experience focused on one introduction required custom rendering, motion and visual hierarchy.
  • Completing the payment flow. Stripe's sandbox refused connected accounts until Connect was enabled. Until then, the split stayed in the ledger. We resolved the integration, with successful transfers confirmed through Stripe transfer IDs.
  • Coordinating development. With two developers building a native application, backend, web experience and AI infrastructure simultaneously, we used FirstMate to coordinate parallel coding agents, GitHub pull requests and Linear tasks.

Accomplishments that we're proud of

We wanted to leave the hackathon with more than a convincing prototype. We wanted a system we could continue building on Monday.

By the end of the weekend, we had:

  • A deployed backend and web application accessible over HTTPS.
  • A working native SwiftUI application with sign-in, request creation, reward holds, live quests, PIN check-ins and receipts.
  • An end-to-end introduction workflow spanning three participant roles and multiple physical devices.
  • An AI ranking agent with tool calling, evidence validation and deterministic fallbacks.
  • An evaluation harness containing 18 labeled requests, approximately 150 synthetic contacts and eight adversarial model configurations.
  • A custom, animated network visualization with synchronized audio cues.
  • Signed, zero-install participant links and PIN/QR check-ins.
  • Verified Stripe sandbox payments and split transfers.
  • Approximately 150 planned Linear tickets and 115 merged pull requests in under two days.

We also recorded repeatable engineering evidence:

Test Result
Agent end-to-end smoke tests 13/13 passed
Human phone takeover tests 10/10 passed
Dynamic in-room contact routing tests 32/32 passed
Stage browser integration tests 15/15 passed
iOS stage integration tests 9/9 passed
Stripe sandbox payment $20 CAD
Sandbox reward transfers $16 + $4 CAD

These results come from documented automated integration tests and sandbox transactions.

Our end-to-end browser tests drove the Requester, Scout and Helper through the entire workflow, including requests for which no suitable person exists. We successfully created a Stripe test PaymentIntent and processed two test transfers of 1600 and 400 cents.

Beyond the technical accomplishments, we put OneAway in the hands of other hackers, including the person who originally couldn't take one of us onto his team, bringing the entire weekend's story full circle.

We documented that journey publicly through a three-episode documentary series, from arriving alone to putting the finished product in people's hands.

What we learned

The biggest thing we learned was that AI does not need to replace the human to make an interaction more valuable.

Sometimes its most useful job is figuring out which human you need.

We also learned that building trustworthy AI means knowing where the AI should stop. Ranking a person can be probabilistic. Whether someone accepted, whether a favor was completed and where money goes cannot be.

Finally, we learned that good design can make a complex technical system understandable without explaining every component.

People understand the product when they watch a crowd become one route. A list of tool calls is the second screen, for the judge who asks.

Watching a crowd of faces become a single introduction says more about OneAway than a dashboard full of metrics ever could.

What's next for OneAway

The Monday system is the one already running: the app, the signed links, the graph rules, and the integrated payment infrastructure.

We want to start with communities where relationships already exist but opportunities are difficult to discover: university campuses, hackathons, startup ecosystems and creator networks.

Our next steps are:

  • Permissioned network expansion: More contact-import integrations and user-controlled relationship context.
  • Outcome-driven routing: Improve recommendations using completed favors and successful introductions.
  • Community pilots: Deploy OneAway within a university or builder community and measure actual response rates, completed requests and repeat usage.
  • Production payments: Complete the compliance, dispute-resolution and payment-provider work necessary for real rewards.
  • Sustainable monetization: A transaction fee on successfully completed rewarded quests, rather than charging people simply to access profiles.

Specific, time-boxed favors from someone you trust are the product we want to learn from.

We came here looking for teammates. We're leaving having built a way to find the people you need.

OneAway. You're closer than you think.

Built With

Swift, SwiftUI, TypeScript, Python, Next.js, React, Tailwind CSS, Canvas, GSAP, Node.js, Django, Django REST Framework, PostgreSQL, SQLite, Supabase, OpenAPI, Pydantic AI, OpenRouter, Claude, Grok, Exa, Brave, Stripe Connect, Docker, Google Cloud, Playwright, GitHub Actions, Claude Code, FirstMate.

Try it out

Built With

Share this project:

Updates

Submission history