How karthik232916/fieldfix-ai-agent works
FieldFix combines an Expo mobile interface with a Python troubleshooting backend. The principal workflow is a technician submitting a device, severity, and problem description; the backend investigates device status and matching knowledge, then uses an AI diagnosis when knowledge is available or falls back to a basic diagnosis on errors. The Expo README describes a generic starter, so it does not document additional FieldFix capabilities. Some frontend and backend routing details were not excerpted; uncertain links are omitted or marked unverified.
Main entry points: agent_service.py Investigation agent · ai_service.py AI diagnosis · issue_service.py Issue processing · knowledge_service.py Knowledge search
Components 13
Technician app
- Issue submission
src/app/index.tsx - Issue API client
src/services/api.ts
Backend API
- API entry point
backend/app/main.py
Issue investigation
- Issue processing
backend/app/issue_service.py - Issue data model
backend/app/models.py - Investigation agent
backend/app/agent_service.py - Device status check
backend/app/device_service.py
Knowledge and diagnosis
- Knowledge search
backend/app/knowledge_service.py - Troubleshooting knowledge
backend/knowledge - AI diagnosis
backend/app/ai_service.py - AI client
backend/app/ai_client.py
Other components
- Technician
- AI provider
Connections 15
- Technician → Issue submission: submits issue
- Issue submission → Issue API client: calls
src/app/index.tsx - Issue API client → API entry point: posts issue
- API entry point → Issue processing: routes to
backend/app/main.py - Issue processing → Investigation agent: investigates
backend/app/issue_service.py - Investigation agent → Device status check: checks status
backend/app/agent_service.py - Investigation agent → Knowledge search: searches
backend/app/agent_service.py - Knowledge search → Troubleshooting knowledge: reads
backend/app/knowledge_service.py - Investigation agent → AI diagnosis: requests diagnosis
backend/app/agent_service.py - AI diagnosis → Knowledge search: retrieves context
backend/app/ai_service.py - AI diagnosis → AI client: creates client
backend/app/ai_service.py - AI client → AI provider: connects
- Issue processing → Issue data model: accepts issue
backend/app/issue_service.py - Investigation agent → Issue data model: uses issue
backend/app/agent_service.py - AI diagnosis → Issue data model: uses issue
backend/app/ai_service.py