Speak. Verify. Act. — Multilingual voice-to-action intelligence for maintenance operations.
Built for the Great Indian AI Internship Challenge 2026.
Live application · Solution pitch · Reviewer walkthrough · Demo access · Architecture · Evaluation · Local setup
Maintenance faults are frequently reported through informal calls and voice messages, leaving supervisors with incomplete information, delayed assignments and limited accountability. FieldSaarthi AI turns these reports into structured, human-verified work orders that can be assigned, tracked, resolved and audited.
Designed for frontline facility workers, maintenance supervisors and operations coordinators, the application combines authentic Gnani speech recognition with deterministic catalog matching, explicit human confirmation and durable business workflows. It does not merely transcribe audio; it enables a controlled operational action.
Recorded hosted screenshot. The current release adds database-backed queue analytics; see the latest release evidence below.
FieldSaarthi AI connects a field worker's voice report to a much accountable maintenance workflow. Gnani Prisma transcribes the report; the worker reviews catalog-backed equipment, location and issue details before explicitly confirming a durable work order. A supervisor assigns an owner, sets priority and tracks resolution. Original transcripts, corrections and workflow history remain traceable, while optional Gnani Timbre provides a spoken acknowledgment after saving.
| Capability | What the application does |
|---|---|
| Multilingual voice intake | Records or uploads short audio and sends it to Gnani Prisma v2.5. Hindi, English and Hinglish were evaluated in development. |
| Evidence-backed extraction | Suggests location, asset, issue and urgency using the application catalog and conservative deterministic rules. |
| Human verification | Requires review and explicit confirmation; ambiguous and missing fields must be resolved. Original provider output is retained. |
| Persistent work orders | Saves verified reports and audit events atomically, with idempotency and duplicate protection. |
| Supervisor workflow | Search and filter the queue, assign technicians, change operational priority, start work and resolve reports through version-checked transitions. |
| Operational analytics | Server-backed, role-scoped counts, issue categories, intake sources and mean resolution duration; independent of pagination and filters. |
| Optional speech feedback | Gnani Timbre v2.5 provides a spoken acknowledgment after a saved work order is requested by an authorized user. |
| Manual alternative | Typed reports are explicitly recorded as MANUAL_TEXT, never as a genuine Gnani transcript. |
| Public reviewer access | Password-free, read-only access to a participant-approved synthetic report, without billable speech access. |
- Open the live application and select Open judge demo. The free host may need to wake up.
- Inspect the approved report
WO-AFF1E3EE3BD2: original Prisma transcript, returned model/request ID, language and confirmed fields. - Compare extraction evidence with human-confirmed details and the immutable audit timeline.
- Review the role-scoped queue metrics. The approved example is
OPEN; it is not evidence of a completed resolution. - For the complete voice-to-resolution lifecycle, see the historical hosted workflow evidence and judge guide.
The restricted judge inspection is not a substitute for the participant's public video demonstration. Use a new synthetic report and the interactive roles below if demonstrating actual speech and workflow mutations.
Open https://fieldsaarthi-ai.onrender.com. For the fastest inspection, select Open judge demo: no email or password is required. This read-only session exposes only the approved report WO-AFF1E3EE3BD2 and cannot call billable speech endpoints.
For an interactive walkthrough, enter one of these shared synthetic demo accounts in the email/password form:
| Role | Password | Access | |
|---|---|---|---|
| Worker — Asha | worker@fieldsaarthi.demo |
hMaKHjkyOTmViR51kXKP |
Create reports and view this account’s reports |
| Worker — Ravi | worker2@fieldsaarthi.demo |
I35Qf-__dDmaKgIaFiJm |
Create reports and view this account’s reports |
| Supervisor — Meera | supervisor@fieldsaarthi.demo |
SOCNiUgz4CwnCzbGdlUg |
View the demo queue; assign, prioritize and resolve reports |
These credentials are intentionally public for this temporary hosted demo. Workers can create reports; the supervisor can change demo workflow state. Use synthetic fault descriptions and consenting audio only. Shared-account activity is visible to other users of the same account; supervisor access includes the synthetic demo queue. Live transcription and acknowledgment consume the shared Gnani credits. Local installations generate their own credentials and do not inherit these hosted passwords.
A free-host cold start may delay the first request. Leave the page open and retry once after it wakes. See the judge walkthrough.
flowchart TD
W[Worker records or uploads audio] --> N[Bounded audio normalization]
N --> G[Gnani Prisma v2.5 speech-to-text]
G --> E[Catalog extraction and evidence]
M[Explicit manual text] --> E
E --> R{Human review and confirmation}
R -->|Missing or ambiguous details| C[Correct and select valid fields]
C --> R
R -->|Confirmed| D[(PostgreSQL work order and audit)]
D --> S[Supervisor assigns technician]
S --> I[In progress]
I --> F[Resolved]
D --> T[Optional Gnani Timbre v2.5 acknowledgment]
D --> Q[Authorized operational analytics]
| Model | Responsibility | Integration boundary |
|---|---|---|
| Prisma v2.5 | Speech-to-text (STT) | Backend sends normalized audio to Gnani and retains the original returned transcript, model and request identifier. |
| Timbre v2.5 | Text-to-speech (TTS) | Optional saved-order acknowledgment; requested model and actual returned metadata are distinguished. |
Gnani provides voice intelligence. FieldSaarthi owns catalog extraction, verification, authorization, persistence, analytics and workflow decisions. No LLM makes maintenance decisions, and the deployed speech adapter has no mock-success path. Missing provider facts are not invented. Editing a transcript preserves its original provider text and extraction evidence.
The improvements merged through PR #18 and were subsequently deployed to Render. The latest recorded release (November 15, 2026) is application 241a063, database migration head 0005.
| Change | Delivered capability |
|---|---|
| IMP-00 — Distribution safety | Repository/archive guards detect unsafe private exports and prevent accidental inclusion of sensitive workspace artifacts. |
| IMP-01 — Reviewer experience | Restricted judge access, clearer inspection guidance and evidence links. |
| IMP-02 — Accurate analytics | PostgreSQL aggregates over the role-accessible dataset, independent of search, filters or pagination. |
| IMP-03 — Verification | Conservative extraction, ambiguity handling and improved review guidance while preserving original provider evidence. |
| IMP-04A — Offline evaluation | WER/CER scoring and corpus-validation infrastructure; no new genuine accuracy measurement claimed. |
| IMP-05 — Provider controls | Durable, atomic PostgreSQL admission ledger for combined STT/TTS operations. |
| IMP-06 — Release assurance | Automated checks, container rehearsal, compatibility staging, additive migration and actual hosted rollback/restoration. |
| IMP-04B — Independent speech evaluation | Deferred by participants; held-out accuracy and genuine WER/CER remain unmeasured. |
Source completion evidence · Hosted release evidence · Improvement traceability · Engineering handoff
| Check | Recorded result | Evidence |
|---|---|---|
| Backend regression suite | 328 passing tests; strict static/build checks and dependency audits pass | Source completion |
| Chromium fixture verification | 18 accessibility/layout views | CI browser evidence |
| Actual hosted views | 6 views at 320, 768 and 1440 px; zero recorded JavaScript errors or accessibility violations in those checks | Browser verification |
| Improvement test traceability | 33/34 verified; one independent audio evaluation deferred | Hosted evidence |
| Container release rehearsal | Activation, rollback and restoration passed | CI container evidence |
| Actual Render release | Compatibility staging, migration 0004 → 0005, rollback and restoration verified |
Hosted release |
| Existing data integrity | 14/14 saved reports, audit/provider facts and protected judge visibility preserved | Hosted release |
| Hosted analytics | Role-scoped totals reconcile and remain invariant under pagination/filters | Hosted release |
The owner confirmed a current restore-ready backup and Gnani balance. Speech capability was restored after rehearsal. The release rehearsal performed zero paid speech calls and zero production domain writes. Schema verification used the deployed source and database-backed readiness contract, not direct external SQL inspection. Automatic deployment remains disabled.
The following results retain their original scope; they are not a fresh independent benchmark of the November 15 release.
| Metric | Recorded result | Evidence |
|---|---|---|
| Genuine audio development corpus | 15 recordings | Audio evaluation |
| Nonempty transcription coverage | 14/15; not word recognition accuracy | Audio evaluation |
| Automatic complete cases | 12/15 (80%); not ASR accuracy | Audio evaluation |
| Expected safety cases blocked | 6/6 | Audio evaluation |
| Correction recovery | 3/3 in isolated replay; automatic score remains 12/15 | Correction evidence |
| Hosted voice-to-resolution reliability | 10 consecutive workflows using one repeated consenting clip | Hosted reliability |
| Historical regression / rollback | 199 passing tests; 12 baseline reports preserved | Historical release |
Historical release: demo-verified-2026-11-10, application 85e1a5e.
- Hindi, English and Hinglish were evaluated on a development corpus; parser rules were refined using that same corpus. Tamil is not acceptance-validated.
- Genuine Word Error Rate (WER), Character Error Rate (CER) and independent held-out accuracy have not been measured. Offline scoring infrastructure is available for future evaluation: evaluation methodology.
- Repeated-clip reliability is not evidence of generalization to different speakers, noise conditions or accents.
- Fixture and hosted browser checks have bounded coverage; they do not establish universal accessibility or uptime.
- The application is a validated challenge prototype, not a certified enterprise production service.
- The free database's recorded expiry is December 9, 2026. Backup retention, credit monitoring and expiry are owner-managed.
| Layer | Implementation |
|---|---|
| Frontend | React, TypeScript and Vite |
| Backend | Python, FastAPI, typed validation and SQLAlchemy |
| Speech | Gnani Prisma v2.5 and optional Timbre v2.5 |
| Audio processing | Bounded FFmpeg decoding/normalization |
| Database | PostgreSQL 18, Alembic schema migrations |
| Quality | Pytest, Playwright/Chromium, Ruff, mypy and dependency audits |
| Delivery | Docker, Render, GitHub Actions and protected main branch |
FastAPI serves the built frontend and API from one origin. Provider credentials remain server-side. PostgreSQL is the authoritative operational store: row/advisory locks, unique constraints, expected versions, idempotency and audit/provenance boundaries protect state. TTS is isolated from the order-creation transaction.
GET /api/v1/work-orders returns the paginated queue and typed summary. The summary covers all reports accessible to the current role, before user-selected filters or pagination. Workers see their own reports, supervisors see their authorized operational scope, and judges see only approved evidence.
Metrics include status counts, active orders, high-priority active orders, intake source distribution, issue categories and average resolution time over valid completed intervals. High priority reflects the supervisor-set priority, not the worker suggestion. Source distribution measures intake mix, not transcription success; resolution time excludes missing or negative intervals. No valid intervals means no mean value. See metric definitions.
api/
app/ # REST routes, provider adapters, services and persistence
alembic/ # Versioned database migrations
scripts/ # Startup, evaluation and operational tooling
tests/ # Unit, contract, PostgreSQL integration and browser checks
web/
src/pages/ # Voice reporting, review, queue and order details
src/lib/ # Typed API and navigation
public/ # Browser assets
docs/ # Architecture, ADRs, traceability and sanitized evidence
tasks/ # Implementation and handoff status
.github/ # CI quality checks
Architecture and trust boundaries · API reference · ADRs · Deployment · Operations
The project follows a lightweight CMMI-inspired development approach: traceable requirements and work packages, architectural decisions, reviews, controlled changes, CI validation and release/rollback evidence. This is a project process choice, not a formal CMMI appraisal or certification.
Requirements traceability · Improvement register · Project context · Handoff
| Component | Reference toolchain / requirement |
|---|---|
| Python | 3.12 in CI/Docker; backend manifest declares >=3.11 |
| Node.js / npm | Node 26 in CI/Docker; locked Vite declares `^20.19.0 |
| PostgreSQL | 18 verified locally and in deployment |
| uv | 0.11.1 used in CI/Docker |
| Gnani access | A valid server-side API key for genuine STT; Timbre access for optional TTS |
| Browser | Microphone permission and HTTPS, or localhost for development |
The commands below use PowerShell. On macOS/Linux, use the same relative directories and commands, replacing Copy-Item .env.example .env with cp .env.example .env, and npm.cmd with npm.
git clone https://github.com/rdx644/FieldSarthi-AI.git
cd FieldSarthi-AI
Copy-Item .env.example .envFor a fresh database setup, open PostgreSQL’s SQL shell with psql -U postgres, then create an application owner and separate application/test databases:
CREATE ROLE fieldsaarthi LOGIN PASSWORD 'replace_with_a_local_password';
CREATE DATABASE fieldsaarthi OWNER fieldsaarthi;
CREATE DATABASE fieldsaarthi_test OWNER fieldsaarthi;Skip creation when reusing existing databases. Edit the private root .env with your actual connection settings and random secrets before starting the backend. PostgreSQL commonly uses port 5432; this project’s existing isolated Windows cluster uses 55432, as shown in .env.example. Match the host, port, database and password to your installation.
| Variable | Purpose | Required / default |
|---|---|---|
DATABASE_URL |
Backend PostgreSQL application connection | Required; use your own credentials |
TEST_DATABASE_URL |
Separate PostgreSQL test connection | Required for tests; database must be fieldsaarthi_test |
JWT_SECRET |
Backend session signing | Required; random secret of at least 32 characters |
GNANI_API_KEY_ID |
Server-side Gnani authentication | Required; use your_api_key_here only as a placeholder |
APP_ENV |
Cookie and seed behavior | development locally; production on the host |
CORS_ORIGINS |
Allowed frontend origins | Local example includes localhost/127.0.0.1 port 5173 |
GNANI_REQUESTS_ENABLED |
Operator pause for both STT and TTS | true; set false to pause paid speech calls |
GNANI_TTS_ENABLED |
Optional saved-ticket acknowledgment | false locally; enabled in the hosted demo |
PUBLIC_JUDGE_DEMO_ENABLED |
Restricted password-free judge access | false locally; enabled on the host |
DEMO_WORKER_PASSWORD / DEMO_WORKER2_PASSWORD / DEMO_SUPERVISOR_PASSWORD |
Initial seeded-account passwords | Optional in development; required in production, at least 12 characters |
GNANI_STT_MODEL and GNANI_STT_URL also appear in the example file; the current adapter fixes its model/endpoint in code rather than reading overrides. No Gnani credential belongs in a frontend environment variable.
Starting from the repository root after configuring .env:
cd web
npm.cmd ci --ignore-scripts
npm.cmd run build
cd ../api
uv sync --locked --python 3.12
uv run alembic upgrade head
uv run python -m app.seed
uv run uvicorn app.main:app --host 127.0.0.1 --port 8000 --no-access-logOpen http://127.0.0.1:8000. FastAPI serves the built frontend and API from one origin. On a fresh development seed, login details are written to ignored private/demo-accounts.json; repeat seeding preserves existing passwords. Migrations are required; startup does not silently invent tables.
For separate frontend development, keep the backend running at port 8000 and open a second terminal, starting from the repository root:
cd web
npm.cmd run devOpen the URL Vite prints, normally http://127.0.0.1:5173. Vite proxies /api and /health to the backend; no separate frontend API-base variable is needed.
- Sign in: Use a worker account from the demo access section or a locally seeded account. The judge session allows inspection only.
- Report a fault: Select the language, record a short consenting audio sample (or use Upload audio instead), then click Transcribe report. Example: “Block B second floor ka water pump leak ho raha hai, urgent hai.” Recording targets 25 seconds; decoded audio above 30 seconds or uploads above 10 MiB are rejected.
- Review: Inspect the original transcript and provider evidence. Correct the transcript if needed and separately review location, equipment, issue, urgency and description. Editing the transcript does not automatically update extracted fields.
- Confirm: Explicitly confirm the validated details to create a work order. Refresh to inspect the persisted order and server-returned identifier. Typed reports follow the separate manual intake path.
- Acknowledge: Where enabled, request optional Timbre playback from the saved order. Audio failure does not undo the work order.
- Manage: Switch to a supervisor session, find the same new order, assign a worker, start work and resolve it. Inspect the status and audit trail. Do not mutate the approved judge example.
- Authentication and authorization are enforced by the backend. Sessions use HTTP-only cookies, CSRF checks and active role/identity checks. Read-only judge access cannot initiate billable requests.
- Audio processing is bounded and uses temporary storage; the application does not retain raw audio as a long-lived attachment. Routine logs omit audio/transcript bodies and credentials.
- Provider timeouts, bounded retries and response validation prevent malformed or missing output from silently becoming successful transcription. Human review remains mandatory.
- The deployed improved release uses a PostgreSQL rolling admission ledger: 24 operations per actor/hour and 80 globally/hour across STT and TTS. Atomic reservations persist across restarts; database admission errors fail closed. Adapter retries can add upstream attempts, so these operation limits are not monetary or credit caps.
- Operators must monitor actual Gnani balance.
GNANI_REQUESTS_ENABLED=falsepauses paid speech while retaining manual intake and saved work orders. Render environment changes require deployment. Retain one application worker/replica under the documented operating model. - render.yaml defines the free Docker service and PostgreSQL database. Releases are deliberate, with migrations and seeding on normal startup. Compatibility rollback preserves the migrated schema. Confirm backups and use documented gates before further production changes.
- Keep provider, database and JWT secrets in private configuration or the host secret manager. Only the designated synthetic hosted demo credentials are intentionally public. Shared demo accounts are not private user accounts; do not enter real personal or operational information.
- Distribute tracked source only via
git archivefor a verified commit and run the archive guard. Never share a recursive working-directory ZIP: ignore rules do not protect such archives from private data, backups, recordings and credentials.
Security and source distribution · Durable provider admission · Deployment and rollback · Operations
Use the issue tracker for reproducible issues, including expected/actual behavior, sanitized request IDs and relevant FR/NFR/WBS references. Never attach private data, credentials or raw audio.
Before making changes, read AGENTS.md, requirements, tasks and project context. Preserve the application contract, user changes, audit/provenance invariants and privacy exclusions. Submit focused changes through protected-main CI without weakening the quality gate.
From api/, with a separate configured test database:
uv run ruff check .
uv run ruff format --check .
uv run mypy app
uv run pytest -q
uv run pip-audit
uv run python scripts/repository_guard.pyFrom web/:
npm.cmd run lint
npm.cmd run format:check
npm.cmd run build
npm.cmd audit --audit-level=highFor the full test-only-provider browser/accessibility workflow, build the frontend, install Chromium and run from api/:
uv run playwright install chromium
uv run python tests/browser/workflow_check.py --channel chromiumIntegration fixtures and this browser workflow deliberately recreate only the fieldsaarthi_test schema. Run them sequentially and never point TEST_DATABASE_URL at application data. The ordinary automated suite makes no billable provider calls. Live STT/TTS verification is separate, explicitly credit-consuming work; do not rerun it merely for reassurance.
FieldSaarthi AI was developed by Shubham Putitundi and Shambhavi Kumar for the Great Indian AI Internship Challenge 2026, with AI-assisted implementation and testing.
AI Integration & Full-Stack Engineering Lead
- System architecture and technical implementation.
- Gnani Prisma v2.5 and Timbre v2.5 integration.
- Backend development, database design and API engineering.
- Intelligent extraction, security and fault-tolerant workflows.
- CMMI-inspired development and requirements traceability.
- Automated testing, CI/CD and production deployment.
Frontend Development & UI/UX Engineer
- Frontend interface development and responsive design.
- User experience design for voice reporting and verification.
- Worker and supervisor dashboard interface enhancements.
- Multilingual voice interaction and functional testing.
- Usability, accessibility and visual consistency validation.
- Interface refinement and user workflow testing.
The official challenge page was checked on November 14, 2026 and stated a November 15, 2026, 18:00 IST submission cutoff. The public video, nominated social post, individual contribution descriptions and official form are participant-owned; repository publication alone does not complete submission.
No project LICENSE file is currently tracked; reuse permissions are not specified. Do not infer an MIT or Apache license from repository visibility. Third-party dependencies retain their respective licenses.
Thanks to Gnani AI for Prisma speech-to-text and optional Timbre speech synthesis. FieldSaarthi implements the catalog mapping, validation, work-order persistence, operational analytics and supervisor workflows.
FieldSaarthi AI — Turning voice intelligence into accountable action.
