How bcoslearningapp-glitch/searcher-system works
Product B is a local-first research operating system: researchers organize projects, govern sources and foundational references, develop claims and evidence, plan and run research, and produce reviewable outputs with human approvals and an audit trail. The web app is the user-facing desk; the API exposes bounded research domains, while a worker handles long-running work. The README documents AI-provider adapters, semantic search, selective cloud workspace, and portability. Several domain paths are unsampled, so those capabilities are represented at their existing module directories; dashed links mark runtime relationships not demonstrated by the excerpts.
Main entry points: main.py API application · sources_library/service.py Source library · claims_evidence/service.py Claims and evidence · design_experiments Experiment design
Components 23
Research desk
- Web application
apps/web/src/app/[locale]/page.tsx
Research domains
- Project workflow
services/api/research_api/modules/project_workflow/service.py - Source library
services/api/research_api/modules/sources_library/service.py - Foundational references
services/api/research_api/modules/reference_governance - Claims and evidence
services/api/research_api/modules/claims_evidence/service.py - Research planning
services/api/research_api/modules/research_planning - Research orchestration
services/api/research_api/modules/research_orchestrator - Hypothesis lab
services/api/research_api/modules/hypothesis_lab - Experiment design
services/api/research_api/modules/design_experiments - Knowledge and terminology
services/api/research_api/modules/knowledge_memory - AI gateway and tools
services/api/research_api/modules/ai_gateway - Semantic search
services/api/research_api/modules/search_retrieval
Trust and outputs
- AI reliability
services/api/research_api/modules/ai_reliability - Governance and audit
services/api/research_api/modules/governance_audit/service.py - Output integrity
services/api/research_api/modules/outputs_integrity - Project portability
services/api/research_api/modules/portability - Cloud workspace
services/api/research_api/modules/cloud_workspace
Runtime services
- API application
services/api/research_api/main.py - Background worker
services/worker/research_worker/tasks.py - Canonical database
services/api/research_api/platform/db.py - Local object store
services/api/research_api/platform/storage.py
Other components
- Researcher
- Cloud AI provider
Connections 36
- Researcher → Web application: uses
- Web application → API application: requests
- API application → Project workflow: routes to
services/api/research_api/main.py - API application → Source library: routes to
services/api/research_api/main.py - API application → Foundational references: routes to
services/api/research_api/main.py - API application → Claims and evidence: routes to
services/api/research_api/main.py - API application → Research planning: routes to
services/api/research_api/main.py - API application → Research orchestration: routes to
services/api/research_api/main.py - API application → Hypothesis lab: routes to
services/api/research_api/main.py - API application → Experiment design: routes to
services/api/research_api/main.py - API application → Knowledge and terminology: routes to
services/api/research_api/main.py - API application → AI gateway and tools: routes to
services/api/research_api/main.py - API application → AI reliability: routes to
services/api/research_api/main.py - API application → Output integrity: routes to
services/api/research_api/main.py - API application → Project portability: routes to
services/api/research_api/main.py - API application → Cloud workspace: routes to
services/api/research_api/main.py - Background worker → Research orchestration: runs tasks
services/worker/research_worker/tasks.py - Background worker → Source library: ingests sources
services/worker/research_worker/tasks.py - Claims and evidence → Project workflow: checks project
services/api/research_api/modules/claims_evidence/service.py - Claims and evidence → Source library: uses sources
services/api/research_api/modules/claims_evidence/service.py - Claims and evidence → Governance and audit: records governance
services/api/research_api/modules/claims_evidence/service.py - Project workflow → Governance and audit: records audit
services/api/research_api/modules/project_workflow/service.py - Foundational references → Source library: uses sources
services/api/research_api/modules/reference_governance/service.py - Foundational references → Governance and audit: records governance
services/api/research_api/modules/reference_governance/service.py - Experiment design → Project workflow: checks project
services/api/research_api/modules/design_experiments/experiment_service.py - Experiment design → Governance and audit: records governance
services/api/research_api/modules/design_experiments/experiment_service.py - Experiment design → Foundational references: checks references
services/api/research_api/modules/design_experiments/experiment_service.py - Output integrity → Claims and evidence: uses evidence
services/api/research_api/modules/outputs_integrity/pipeline.py - Output integrity → Hypothesis lab: uses hypotheses
services/api/research_api/modules/outputs_integrity/pipeline.py - Output integrity → Knowledge and terminology: uses terminology
services/api/research_api/modules/outputs_integrity/pipeline.py - Source library → Local object store: stores content
services/api/research_api/modules/sources_library/service.py - API application → Canonical database: persists state
- AI gateway and tools → Cloud AI provider: calls provider
- Semantic search → Source library: searches sources
- Cloud workspace → Canonical database: selectively syncs
- Project portability → Canonical database: packages project