Inspiration

Imagine two people meeting for the first time. Neither speaks a language the other understands. One points at an object, makes a gesture, or demonstrates an action. The other responds. They might both feel that they understood each other, but how would they know?

A gesture can have several meanings depending on the situation. Pointing at a cup might mean "cup", "water", "drink", "give me that", or something else entirely.

Most translation software starts with a language the system already knows. I became interested in the situation before translation is possible: how can two people begin building a shared understanding when they have no common language?

That question led to First-Contact Language Builder. I wanted to make a tool that gives people a way to record what they communicate, compare their interpretations, and test whether they actually understand each other.

What it does

First-Contact Language Builder is a collaborative workspace for two people who do not share a common language.

One participant creates a session and invites another using a code or QR link. Each person joins a separate seat and can contribute photos, drawings, gestures, demonstrations, audio, video, or written descriptions.

The participants can record several possible interpretations of the same expression. These hypotheses remain separate until there is enough evidence to evaluate them. Accepting a suggestion does not make it verified.

Participants can then create experiments to distinguish between interpretations. Each person records and locks their response independently. Neither participant sees the other's response until both have locked.

A concept becomes session-verified only when a participant has accepted the wording, at least two participants have recorded matching decisive responses, at least two different stimuli and experiment methods have been used, no disagreement is recorded, and at least 75% of responses match.

The status applies only to that session. It is not a claim that a meaning is universally correct.

The application also includes a shared vocabulary, concept relationship graph, expression trials, practice activities, and research exports.

How we built it

I built the application using Next.js 15, React 19, TypeScript, Tailwind CSS, Prisma, and Zod. The concept graph uses d3-force, and Framer Motion handles interface animation.

Local development uses SQLite. The hosted application uses PostgreSQL through Supabase and is deployed on Vercel. Uploaded evidence is stored in a private Supabase Storage bucket and accessed through server-side authorization and signed media URLs.

The project has separate areas for session management, evidence, hypotheses, experiments, verification, learning, AI providers, and media storage.

Development history: The STEM2Connect program began on October 11, 2026. The public Git history for this project begins on November 21, 2026. I developed the application during the program period and also prepared it for the Global AI Builder's Challenge. It was not an imported, completed project from before the program.

The initial development established the two-person workflow, evidence recording, hypotheses, blinded experiments, and session verification. Further work added community access, participant privacy controls, hosted PostgreSQL, private storage, database rate limiting, and security protections.

The final development pass fixed a clean-clone test failure, expanded verification coverage, improved cross-seat access checks, and corrected documentation links.

AI in the application

The application includes a provider interface for generating possible interpretations and suggesting experiments.

The submitted deployment uses demo mode. Suggestions are simulated from written descriptions, evidence types, and action labels. No live model analyses uploaded images, drawings, or audio in the hosted version.

An optional OpenAI-compatible provider is implemented in the codebase. Live requests require participant consent for eligible evidence. Provider errors fail explicitly rather than silently switching to simulated output. AI cannot accept a hypothesis or mark a concept session-verified.

No live commercial-model evaluation has been performed.

AI during development

I used Cursor for debugging and code assistance. I reviewed suggested changes and checked important behavior through tests and browser workflows.

The AI provider's contract tests passed 8/8 checks against a local mock HTTP server. They covered consent handling, response validation, rate-limit retries, timeouts, and errors. This was not an evaluation of a real model's interpretation quality.

Challenges we ran into

The hardest design problem was keeping participants' responses independent while allowing them to work in the same session. The application had to hide responses until both people locked, and the backend had to enforce the same restrictions as the interface.

Verification was another challenge. Two people agreeing on one example does not necessarily mean they understand an expression in other situations. This led to the requirements for different stimuli, different experiment methods, disagreement handling, and a minimum matching rate.

Production deployment also introduced problems that did not appear locally. The connection between Vercel and Supabase caused connection-pool timeouts. Browser navigation to the hosted community workflow also timed out during one test, so I kept the incomplete hosted result separate from the successful local tests.

The final validation pass exposed a clean-clone test that depended on a backup file ignored by Git. I changed it to use a temporary backup that the test creates and removes itself.

Accomplishments that we're proud of

The application now has a working two-person discovery workflow, private evidence storage, participant authorization, blinded responses, and session-based verification.

Its hosted security setup includes Row Level Security across all 21 public PostgreSQL tables, restricted database privileges, signed media access, hashed recovery credentials, and database-backed rate limiting.

The final local validation passed:

  • 94/94 unit tests across 11 files.
  • TypeScript type checking and ESLint with no errors or warnings.
  • Production build, including 11 static pages.
  • 8/8 AI provider mock checks.
  • 14 security-hardening assertions.
  • 7/7 community browser workflow steps.
  • 18/18 full two-browser workflow steps.

The full browser workflow tested participant isolation, blinded locking and reveal, verification thresholds, disagreement handling, and cross-seat access restrictions.

Non-destructive production checks also confirmed that the health endpoint returned HTTP 200 and that unauthorized session and media requests were rejected.

What we learned

This project made me think more carefully about the difference between agreement and understanding.

Two people can agree on one example for completely different reasons. Testing another stimulus or using a different experiment method can expose that difference. That is why the application keeps evidence, hypotheses, and verification responses connected.

I also learned that a collaborative application needs more than a working interface. Authentication, server-side permissions, database behavior, and separate browser sessions all matter.

Another lesson was to be careful with AI-generated suggestions. A plausible interpretation can influence what someone believes they saw. The application needs to distinguish suggestions from participant evidence and verified results.

The project has passed software tests, but it has not yet been evaluated in a human participant study.

What's next for First Contact Language Builder

The next step is to test the application with pairs of people who genuinely do not share a language. I want to observe whether they can use the workflow without constant guidance, where misunderstandings happen, and which experiments help resolve them.

I also want to evaluate the optional live AI provider in a separate testing environment using consented evidence and clearly defined evaluation criteria.

Other improvements include making the community workflow more reliable on slow connections and making the history of evidence and changes easier to inspect.

The current version provides a place to start building shared meanings. The next stage is to find out how well that process works with real participants.

Built With

Share this project:

Updates

Submission history