# Shamim Hossain > I turn messy AI-generated code into a structured software factory that ships while you sleep. Agentic coding architecture by Shamim Hossain, 10+ years in. I turn AI chaos into software factories. Then it ships while you sleep. It finds bugs, fixes them, checks them and ships. When a change is risky, it asks you first. - Role: Technical lead and AI engineer, Founder and CTO at shamscorner LLC - Book a call: https://cal.com/shamscorner - Email: shamim@shamscorner.com - CV: https://shamim.shamscorner.com/cvs/shamim-hossain.pdf ## Start with a mess, or with nothing. - Code your AI wrote: Find the structure hiding in it and rebuild around that. Result: A codebase agents can extend. - A product that slowed down: Add the architecture, tests and checks it skipped. Result: A product that keeps shipping. - Only an idea: Build the factory first, from 10+ years of making software. Result: A first version built by agents. ## What ends up in your repo This is the shape I use for হবে নাকি Coffee?. Yours follows your own product. Open any folder. - **AGENTS.md**: House rules every agent reads first - **apps/**: What you ship - app: what customers use - admin: what your team uses - marketing: the public website - backend: database and server code - desktop: the computer app - developer: guides for developers - mcp: lets AI assistants connect - **packages/**: Code the apps share - libraries: shared building blocks - emails: every email, in one place - page-widget: a widget for other sites - **tooling/**: What makes agents safe - factory: finds, builds, checks and merges work - factory-ios: the phone app - agent-shell: asks before risky commands - boundaries: keeps apps out of each other - related-tests: runs only the tests that matter - cross-project-tests: spots tests that depend on other projects - class-guard: rejects badly built styles - content-guard: catches robotic writing - visual-verify: compares screenshots - qa-kit: tools for the AI tester - qa-filing: turns findings into issues - local-db-policy: shares the test database fairly - devops-ai: explains failed builds - llm-bench: scores AI models - **docs/**: Why things are the way they are - adr: about 100 written decisions - agents: how agents should work here - plans: work that is coming next - security: security checks - **.agents/**: Your way of working, reused - skills: step-by-step know-how - agents: helpers with one job each - hooks: rules that run by themselves - **.github/workflows/**: Test, release, deploy - ci: tests every change - deploy: puts it live - promotion: moves staging to production - **GLOSSARY.md**: One name for each thing - **CODING_STANDARDS.md**: What good code means here ## What you get in your factory - **Work finder**: Reads your error reports, logs and failed builds each day, and writes down anything that looks like a new bug. - **Build bays**: Each agent works in its own copy of your code with its own database, so agents never trip over each other. - **Approval gate**: Fixed rules come first, and no AI can overrule them. Then an AI judge reads the change. If the answer is unclear, the change waits for you. - **Inspectors**: Automatic checks for tests, style, borders between modules, screenshots and real screen sizes. - **Merge lane**: Changes merge one at a time. Each one is updated with your latest code and tested again first. - **Retry ladder**: A failing task tries again, then tries a stronger model, then comes to your phone with the reason. - **Deploy watch**: Follows each change until it is live. If a release breaks, the line stops and only the fix may pass. - **Shared memory**: Your decisions and ways of working, written down. Every agent reads them before it starts. - **Web console**: See everything, approve changes and steer the line from your browser. Built around how your business works. - **Mobile app**: For iOS, Android or both. Approve a change or stop the line from your phone, with the screens your business needs. - **Terminal commands**: Start, pause or check the factory from any terminal. - **Spending limits**: Checks your AI budget and machine load before any agent starts. Near the limit, it waits. ## Same bug. Two very different nights. An example night, based on how the factory runs. ### AI assistant 01:12 error payments start to fail 01:12 you asleep, so nothing happens 08:40 you paste the error into a chat 08:52 agent “Fixed!” It changed 14 files 09:05 you now the login is broken 09:20 agent “You’re right, sorry about that” 10:45 you read every line by hand 11:30 you merge it and hope Still waiting for you. ### Software factory 01:12 collect found the error, wrote issue #1531 01:13 triage serious, goes to the front 01:14 build works in its own copy of the code 01:31 test 2 failed, try again 01:38 test all passed 01:39 gate safe change, no person needed 01:44 merge tested again, merged 01:52 deploy live, and watching it You slept. Payments work. ## Proof I use this factory to build হবে নাকি Coffee?, a platform where creators in Bangladesh get paid. These are its own screens. Some show sample tasks. Console screens: - Overview: Is it running, and what shipped today? - Needs you: Risky changes wait here. You approve, or send them back. - Owner queue: Ideas and bugs that need your decision first. - Chat: Talk a task through before anything gets built. - Queue: What gets built next, and why something is waiting. - Merge lane: Changes join your code one at a time, after the tests pass. - QA: An AI tester uses your product like a person would. - History: Everything that shipped, newest first. - Stats: AI use and merged changes, as charts. Results: - 10 to 24: changes our team merged a day, before and after - 237: came from the factory in its first 16 days - 76%: of merged tasks worked on the first try - 28%: of all tasks were held for a person Nov 18 to Dec 3, 2026, running on one laptop. https://shamscorner.com/blog/inside-our-software-factory ## Three ways to work with me ### Untangle You have messy AI code. - I read your repo, tools and history - I find the structure and fix the risky parts - You get a plan and clean code ### Build the factory You want code to ship by itself. - I set up every station, around your approval rules - You get a web console and a mobile app, made for your business - I hand it over and train your team ### Run it with you You want it to keep improving. - I maintain and upgrade the line - I tune it as your product grows - You stay in control of what ships 1. Call: You show me what is tangled. 2. Survey: I study your repo, your tools and where work comes from. 3. Build: I set up your factory and we ship a first task through it. 4. Handover: You run it, or I run it with you. Price: The cost depends on the scope. I estimate it on the first call. ## I also build the product itself - **SaaS**: Custom SaaS designed for your business, so you can focus on sales. - **Dashboards and web portals**: Live data and a friendly interface, to help you decide and predict. - **APIs**: Scalable, reliable REST and GraphQL APIs. - **E-commerce**: A custom store that is easy to manage. - **Content management (CMS)**: Tools that make managing your content easy. - **Single page apps (SPA)**: Modern apps that load fast and feel smooth. - **Progressive web apps (PWA)**: Work like native apps, straight from the browser. - **Mobile apps**: Friendly, full-featured apps for your audience. - **Chatbots and messaging**: AI that answers your users inside your product. - **Landing pages**: A strong first impression that gets people to act. - **Blogs**: A place to publish and share your ideas. - **Social apps**: A lively online space for your community. ## Experience ### shamscorner LLC, Founder and CTO (2024 to now) Idea to first version in weeks, not months. Designed the SaaS Factory Framework: a standard architecture plus an AI workflow (Claude Code, LangChain, MCP tools). It took 5 client ventures from concept to MVP in weeks instead of months. Grew a solo practice into a 5-engineer agency that has stayed together 3+ years. Tech Lead and CTO of হবে নাকি Coffee?, built end to end with React 19, TypeScript, Supabase, Cloudflare and Electron. ### Secureship, Frontend Lead (2021 to 2025) 3× faster delivery, 45% faster pages. Led 6 frontend engineers rebuilding the public site, client dashboard and admin panel for 50,000+ active users. A shared design system tripled development speed. Page load time fell 45%, and traffic and revenue rose 40%. Vue, Nuxt, Svelte, React, NestJS, Astro, AWS. ### TroopTravel, Frontend and Project Architect (2021) About 50% less frontend time and cost. Five months shaping the frontend of a travel startup under Clean Architecture. Reusable components cut frontend timelines and workflow cost by roughly half. ### Splashr, Full-stack Web Developer (2020 to 2021) 65% less overhead, 10× faster campaigns. Built a SaaS platform for client assets and short video ads, from concept to production, with Frame.io and Google Workspace. Vue, Nuxt, Laravel, PostgreSQL, GCP. ### Pattern Inc., Full-stack Developer and Data Analyst (2019 to 2020) 100+ report types, self-serve. Built a report builder across Amazon, Walmart, Shopify and Target data, so analysts no longer made reports by hand. React, Vue, Laravel, MySQL, AWS. ### Upwork, Full-stack Developer (2014 to now) 100% Job Success Score. Web and SaaS projects for international clients: content systems, e-commerce and dashboards. - **Stack**: TypeScript, React, Next.js, Vue, Nuxt, Svelte, Astro, NestJS, GraphQL, PostgreSQL, MongoDB, Redis, Docker, Kubernetes, AWS, GCP, Python - **AI**: Claude, OpenAI and Gemini APIs, Claude Code, LangChain, MCP, TensorFlow - **Education**: B.Sc. Computer Science, Rajshahi University of Engineering & Technology, 2013 to 2017 - **Languages**: English (IELTS 7.0), Bengali, Hindi, Urdu ## Products - [Learn Claude Code by Living It](https://codewith.shamscorner.com/books/learn-claude-code-by-living-it-a-novel): A novel that teaches Claude Code through real situations, not dry documentation. - [Code with Shamscorner](https://codewith.shamscorner.com/): My course platform for full-stack development and AI engineering. - [Kuikmark](https://www.kuikmark.com/): A bookmark manager that saves, sorts and tags with AI. ## What clients wrote - "Shamim is an amazing developer and a real gem. He’s talented, smart and has unmatched work ethic. I highly recommend working with him." Sean Wright, Upwork client, Hyped Marketing - "Shamim did a wonderful job and did it very quickly. He made our website look beautiful and elegant. Would highly recommend." Jack Sharkey, Upwork client, Frosted IT - "Shamim was great to work with, would recommend for Vue.js and Laravel. Thank you." Landon Cope, Senior Software developer, Pattern Inc. - "Thank you for your support, Shamim! The process was flawless from start to end. He has great communication skills and a thoughtful approach to freelancing. Highly recommended!" Julian Albert, DPhil Candidate, Oxford Institute - "Putting on a different contract. Great developer." Brandon Barclay, Upwork client, Pattern Inc. ## Questions ### How much does it cost to get started? It depends on the scope. On a scoping call I’ll work out what affects the cost: project type, tech stack, timeline and complexity. ### Where can I see your professional work? My best work is under non-disclosure agreements, so I can’t show it publicly. I can share it privately on a call. This website is also my work: designed and built by me. ### How long will the work take? It depends on the scope. A frontend application takes less time, and a backend adds some. A full-stack application with a database takes longer: one past project took 1200+ hours (6+ months), including deployment. ### Do you handle deployment? Yes. Docker, Kubernetes, AWS, GCP, Azure, Heroku, VPS or static hosting, after development and testing. ### Do you maintain a project after it ends? Yes, for major breakdowns. I may charge extra, depending on what you need and how much work it is. ### Can you help grow my startup? Yes. I have helped 5 startups become real, and I have worked as a project manager. I can help at each step from MVP to launch and growth. ### Do you have a team? Yes, a team of 5. Each is an expert in their own field, and we have worked together for 3 years. ## Contact Tell me what is tangled. I also take senior and technical lead roles. https://cal.com/shamscorner or shamim@shamscorner.com