How akshithkheeran-design/artha works
ARTHA is a small-business credit-readiness and application platform. Owners provide business, transaction and document information, manage purpose-bound consent, review scheme eligibility and cash-flow-based risk, then approve a lender-ready application; lenders and public-program users see only authorized information. The graph also preserves audit, security, field-research and owner-facing analysis capabilities. Edges follow shown calls/import references or README descriptions; several page and platform-router internals were not sampled, so their connections are limited to documented capabilities.
Main entry points: business.py Business routes · App.tsx ARTHA workspace · applications.py Application routes · main.py FastAPI entrypoint
Components 32
Owner and partner experience
- ARTHA workspace
frontend/src/App.tsx - API client
frontend/src/lib/api.ts - Session state
frontend/src/lib/auth.tsx - Business context
frontend/src/lib/business.tsx - Credit readiness views
frontend/src/pages/CommandCenter.tsx - Application workspace
frontend/src/pages/Applications.tsx - Consent controls
frontend/src/pages/Consent.tsx - Additional product views
frontend/src/pages
API and application flow
- FastAPI entrypoint
backend/app/main.py - Business routes
backend/app/routers/business.py - Application routes
backend/app/routers/applications.py - Authentication routes
backend/app/routers/auth.py - Platform routes
backend/app/routers/platform.py - Application workflows
backend/app/workflows.py
Credit readiness analysis
- Agent orchestration
backend/app/agents/orchestrator.py - Business intake
backend/app/agents/intake.py - Cash-flow analysis
backend/app/agents/cashflow.py - Scheme eligibility
backend/app/agents/eligibility.py - Risk assessment
backend/app/agents/risk.py - Document checklist
backend/app/agents/documents.py - Scheme navigator
backend/app/agents/schemes.py - Application assembly
backend/app/agents/applications.py - Analysis services
backend/app/services.py
Consent and data protection
- Consent enforcement
backend/app/consent.py - Session security
backend/app/security.py - Encryption and signing
backend/app/crypto.py - Encrypted owner vault
backend/app/vault.py
Persistence and oversight
- Signed audit ledger
backend/app/audit.py - Application data model
backend/app/models.py - Database session
backend/app/db.py
Other components
- Business owner
- Lender / program user
Connections 48
- Business owner → ARTHA workspace: uses
README.md - Lender / program user → ARTHA workspace: reviews files
README.md - ARTHA workspace → API client: requests data
frontend/src/App.tsx - API client → FastAPI entrypoint: calls API
frontend/src/lib/api.ts - FastAPI entrypoint → Business routes: registers
backend/app/main.py - FastAPI entrypoint → Application routes: registers
backend/app/main.py - FastAPI entrypoint → Authentication routes: registers
backend/app/main.py - FastAPI entrypoint → Platform routes: registers
backend/app/main.py - Session state → API client: authenticates through
frontend/src/lib/auth.tsx - Business context → API client: loads business
frontend/src/lib/business.tsx - ARTHA workspace → Credit readiness views: renders
frontend/src/App.tsx - ARTHA workspace → Application workspace: renders
frontend/src/App.tsx - ARTHA workspace → Consent controls: renders
frontend/src/App.tsx - ARTHA workspace → Additional product views: renders
frontend/src/App.tsx - Business routes → Agent orchestration: invokes
backend/app/routers/business.py - Business routes → Business intake: invokes
backend/app/routers/business.py - Business routes → Cash-flow analysis: invokes
backend/app/routers/business.py - Business routes → Analysis services: uses
backend/app/routers/business.py - Application routes → Application workflows: creates and reads
backend/app/routers/applications.py - Application routes → Application assembly: uses
backend/app/routers/applications.py - Application routes → Scheme navigator: uses
backend/app/routers/applications.py - Agent orchestration → Application assembly: coordinates
backend/app/agents/orchestrator.py - Agent orchestration → Risk assessment: coordinates
backend/app/agents/orchestrator.py - Agent orchestration → Scheme navigator: coordinates
backend/app/agents/orchestrator.py - Agent orchestration → Consent enforcement: checks
backend/app/agents/orchestrator.py - Analysis services → Cash-flow analysis: analyzes transactions
backend/app/services.py - Analysis services → Scheme eligibility: evaluates
backend/app/services.py - Analysis services → Risk assessment: assesses features
backend/app/services.py - Analysis services → Document checklist: builds checklist
backend/app/services.py - Scheme eligibility → Scheme navigator: checks schemes
backend/app/agents/eligibility.py - Application workflows → Analysis services: builds context
backend/app/workflows.py - Application workflows → Application assembly: assembles snapshot
backend/app/workflows.py - Application workflows → Scheme navigator: uses scheme data
backend/app/workflows.py - Business owner → Application routes: approves submission
README.md - Application routes → Lender / program user: shares approved file
README.md - Application routes → Consent enforcement: authorizes access
backend/app/routers/applications.py - Consent enforcement → Signed audit ledger: records events
backend/app/consent.py - Consent enforcement → Encryption and signing: signs artefacts
backend/app/consent.py - Signed audit ledger → Encryption and signing: hashes and signs
backend/app/audit.py - Signed audit ledger → Application data model: stores entries
backend/app/audit.py - Encryption and signing → Encrypted owner vault: protects owner data
backend/app/vault.py - Encrypted owner vault → Application data model: reads encrypted profile
backend/app/vault.py - Session security → Application data model: loads user
backend/app/security.py - Authentication routes → Session security: uses session controls
backend/app/routers/auth.py - Application data model → Database session: uses ORM base
backend/app/models.py - Business routes → Consent enforcement: checks permissions
backend/app/routers/business.py - Business routes → Encrypted owner vault: reads owner data
backend/app/routers/business.py - FastAPI entrypoint → Risk assessment: initializes model
backend/app/main.py