How swapnildhiman19/iostoaijourney works
This repository is a learning-program workspace whose active product scaffold is the AI Solutions Platform: a FastAPI service for creating and reading tasks. The implemented request path is HTTP route → dependency composition → task service → repository → PostgreSQL, with domain records and API schemas shaping the result. The README also describes planned AI capabilities, but the sampled source does not show their runtime wiring; those capabilities are represented as documented subsystems without inferred call edges.
Main entry points: routes/tasks.py Task routes · dependencies.py Dependency wiring · application/tasks.py Task service · postgres_tasks.py Postgres repo
Components 22
HTTP API
- FastAPI app
AI Solutions Platform/src/ai_solutions_platform/api/app.py - Task routes
AI Solutions Platform/src/ai_solutions_platform/api/routes/tasks.py - Health routes
AI Solutions Platform/src/ai_solutions_platform/api/routes/health.py - API schemas
AI Solutions Platform/src/ai_solutions_platform/api/schemas.py - Dependency wiring
AI Solutions Platform/src/ai_solutions_platform/api/dependencies.py
Task Workflow
- Task service
AI Solutions Platform/src/ai_solutions_platform/application/tasks.py - Task domain
AI Solutions Platform/src/ai_solutions_platform/domain/tasks.py
Persistence
- In-memory repo
AI Solutions Platform/src/ai_solutions_platform/persistence/in_memory_tasks.py - Postgres repo
AI Solutions Platform/src/ai_solutions_platform/persistence/postgres_tasks.py - Database sessions
AI Solutions Platform/src/ai_solutions_platform/persistence/database.py - PostgreSQL
AI Platform Capabilities
- Context management
AI Solutions Platform/src/ai_solutions_platform/context - Model adapters
AI Solutions Platform/src/ai_solutions_platform/model_gateway - AI memory
AI Solutions Platform/src/ai_solutions_platform/memory - Agent runtime
AI Solutions Platform/src/ai_solutions_platform/agent_runtime - Tool interoperability
AI Solutions Platform/src/ai_solutions_platform/tools - Text and voice
AI Solutions Platform/src/ai_solutions_platform/realtime - Evaluations
AI Solutions Platform/src/ai_solutions_platform/evals - Enterprise controls
AI Solutions Platform/src/ai_solutions_platform/identity_policy - Observability
AI Solutions Platform/src/ai_solutions_platform/telemetry - Deployment harness
AI Solutions Platform/src/ai_solutions_platform/harness
Other components
- API client
Connections 18
- API client → FastAPI app: sends requests
README.md - FastAPI app → Task routes: mounts routes
AI Solutions Platform/src/ai_solutions_platform/api/app.py - FastAPI app → Health routes: mounts routes
AI Solutions Platform/src/ai_solutions_platform/api/app.py - Task routes → Dependency wiring: resolves services
AI Solutions Platform/src/ai_solutions_platform/api/routes/tasks.py - Task routes → API schemas: validates and responds
AI Solutions Platform/src/ai_solutions_platform/api/routes/tasks.py - Task routes → Task service: calls use cases
AI Solutions Platform/src/ai_solutions_platform/api/routes/tasks.py - Task routes → Task domain: handles domain errors
AI Solutions Platform/src/ai_solutions_platform/api/routes/tasks.py - Health routes → Database sessions: checks readiness
AI Solutions Platform/src/ai_solutions_platform/api/routes/health.py - Dependency wiring → Task service: constructs service
AI Solutions Platform/src/ai_solutions_platform/api/dependencies.py - Dependency wiring → Database sessions: requests session
AI Solutions Platform/src/ai_solutions_platform/api/dependencies.py - Dependency wiring → Postgres repo: constructs repository
AI Solutions Platform/src/ai_solutions_platform/api/dependencies.py - Dependency wiring → In-memory repo: accepts injected repo
AI Solutions Platform/src/ai_solutions_platform/api/dependencies.py - Task service → Task domain: creates records
AI Solutions Platform/src/ai_solutions_platform/application/tasks.py - Task service → Postgres repo: uses repository contract
- Task service → In-memory repo: uses repository contract
- Postgres repo → Task domain: maps records
AI Solutions Platform/src/ai_solutions_platform/persistence/postgres_tasks.py - Postgres repo → PostgreSQL: queries
AI Solutions Platform/src/ai_solutions_platform/persistence/postgres_tasks.py - Database sessions → PostgreSQL: opens sessions
AI Solutions Platform/src/ai_solutions_platform/persistence/database.py