P—02Multi-tenant SaaSWorking demo
AgencyOS
A manpower agency's whole day, from requirement to worker payment.
- Type
- Multi-tenant SaaS
- Tenancy
- Fail-closed scoping
- Automated tests
- 376
- Technology
- Laravel 12LivewireMySQLRedis

AgencyOS runs the operations of manpower and service agencies: workers, client requirements, matching, assignments, contracts, attendance, invoices and payouts — in one flow, with strict separation between agencies.
01Challenge
Manpower agencies juggle workers, client requirements, placements, invoices and payouts across spreadsheets and phone calls, with money moving through manual bKash and Nagad transfers.
02Approach
One flow — worker, requirement, matching, assignment, invoice, payment, worker payment — with tenant scoping that fails closed: without a tenant context, queries refuse to run rather than leak. Contracts, attendance, alerts, reports and exports sit on top.
03Result
Subscriptions, a platform admin console and a command-palette search across the agency — with 376 tests, including isolation tests that post real requests across tenants.

