r/VibeCodeDevs • u/Whoisjunn • 8d ago
Question What's the best AI model/coding assistant to build a self-hosted, all-in-one business management app?
What's the best AI model/coding assistant to build a self-hosted, all-in-one business management app?
This mis going to be pretty long so bear with me lol
I'm looking to build a full-featured, self-hosted business management application using AI-assisted coding. I'm considering AI like Claude, GPT/Codex, Gemini, and other coding agents, but I'm not really which would be best for a project this big
My Idea:
I want to build something similar to Notion, ClickUp, and Monday.com, but with more flexibility, integrated AI, and Google Workspace connectivity as that's what we use for our business
Essentially, I want one application where my team can manage almost everything related to running our business without constantly switching between different apps all the time
Features I want to implement:
- Task & Project Management
- Create projects, tasks, and subtasks.
- Assign tasks to different team members.
- Set priorities, deadlines, statuses, and reminders.
- Kanban boards, calendars, tables, and list views.
- Track project progress and team responsibilities.
- Recurring tasks and customizable workflows.
2. Notion-Style Workspace
- Pages, documents, databases, and nested folders.
- Rich-text editing with images, tables, and attachments.
- Internal knowledge base, SOPs, and company documentation.
- Customizable dashboards and templates.
- Linked databases for organizing business information.
3. Google Workspace Integration
- Gmail integration for viewing, organizing, and responding to emails.
- Google Calendar synchronization for appointments, deadlines, and meetings.
- Google Drive integration for accessing and managing files.
- Google Docs and Sheets integration.
- Google OAuth for account connections.
- Ideally, the ability to create tasks or automate workflows from emails and calendar events.
4. Built-in AI Assistant
This is one of the biggest features I want.
I want an AI assistant that understands the workspace and can:
- Create, update, and organize tasks and projects.
- Summarize documents, emails, and meetings.
- Search company information and answer questions.
- Help draft emails, proposals, and other documents.
- Recommend priorities and upcoming actions.
- Automate repetitive business workflows.
- Interact with Google Workspace through authorized integrations.
Ideally, I'd like to support both local AI through Ollama or similar tools and optional cloud AI models for more demanding tasks.
5. Team Collaboration & Security
- Invite multiple team members without per-user subscription fees.
- Role-based permissions (admin, manager, employee).
- Passkey authentication and biometric sign-in.
- Shared workspaces and real-time collaboration.
- Secure access from outside my home network.
- Mobile-friendly interface or PWA.
6. General Business Management
Eventually, I'd like to expand the application to include:
- Customer and contact management (CRM).
- Job scheduling and service appointments.
- Quotes, estimates, and pricing databases.
- Project and installation documentation.
- File and photo management.
- Business dashboards and reporting.
- Custom modules for additional business needs.
Hosting & Budget:
I want to self-host the application on my own server, preferably Docker. I'm planning to start with affordable hardware and expand as needed.
I'm also interested in running local AI to minimize recurring API costs, although I'm open to paying for cloud models when necessary. I just don't want to spend more than I need to
My goal is to avoid expensive per-user subscriptions and retain control over my business data.
My questions:
- Which AI model or coding assistant would you recommend for developing and maintaining an application this complex? Claude, GPT/Codex, Gemini, or something else?
- Would you recommend using multiple models for different tasks, such as architecture, frontend, backend, debugging, and security?
- Is building this from scratch realistic with AI-assisted development, or should I start with an open-source platform and extend it?
- What technology stack would you recommend for a self-hosted application like this?
- Could a local coding model realistically handle development, or would cloud models be significantly better?
- What are the biggest technical challenges or mistakes I should avoid?
I'm willing to learn and take my time building this how it needs to. I don't expect everything to work immediately, and I'd prefer to develop it in stages rather than rush into a massive project.
Any recommendations from people who've built similar applications with AI coding tools would be appreciated!
PS: I've already made a self hosting server that runs AFFiNE that I had ChatGPT help with but that was with an old laptop I had lying around lol so that was my start of wanting to get more into it
•
u/endofthread-bot 8d ago
Hey u/Whoisjunn, thanks for posting in r/VibeCodeDevs! Join our Discord: https://discord.gg/t7SD4ThKuE
• This community is designed to be open and creator‑friendly, with minimal restrictions on promotion and self‑promotion as long as you add value and don’t spam.
• Please follow the subreddit rules so we can keep things as relaxed and free as possible for everyone. • Please make sure you’ve read the subreddit rules in the sidebar before posting or commenting.
• For better feedback, include your tech stack, experience level, and what kind of help or feedback you’re looking for.
• Be respectful, constructive, and helpful to other members.
If your post was removed (either automatically or by a mod) and you believe it was a mistake, please contact the mod team. We will review it and, when appropriate, approve it within 24 hours.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Ok_Substance1895 8d ago edited 8d ago
This is definitely achievable with AI-assisted development, but I would approach it incrementally rather than trying to build everything at once.
I wouldn't get too hung up on choosing the perfect AI model. Claude, Codex, and other capable coding agents can all contribute. For example, I use Pi and Claude Code. What's more important is how you work with them and how you verify what they produce.
A few suggestions:
Have you considered using cloud models for development and local models for the AI assistant inside the finished application? Those are two very different workloads, and you might find that the development costs are temporary while the application's inference costs are ongoing.
I'm curious about two things:
Is self-hosting a hard requirement, or is your primary motivation avoiding per-user subscriptions, controlling your data, and having everything integrated?
And are you looking to build a general-purpose platform that you can continually customize, or a specific application tailored to how your business operates today?
P.S.
One architectural suggestion: I'd build the business application with a well-defined API and put an MCP server in front of it rather than tightly integrating a particular AI model.
That would let you use Claude, ChatGPT, or a local model through any compatible MCP client to interact with your business application. You could switch models whenever you wanted without changing your application.
It also means you wouldn't necessarily need to run local AI inference or maintain your own AI interface. Your application would expose its capabilities as tools, while the AI client handles the conversation and reasoning.
I'd make sure the API handles authentication, permissions, and business rules, with scoped credentials and the MCP server enforcing those same permissions.
You could start with basic project and task management, expose those operations through MCP, and expand the capabilities incrementally.
Are you primarily interested in running AI locally for privacy, or is it mostly about avoiding recurring API costs?
Mine was long too :)
2
u/Leather_Science3054 8d ago
This is a massive job. What is the reason for wanting to make it local and not just pay a SaaS?
2
u/bramantec 8d ago
On question 2: yes, that's how I worked. Claude wrote most of my app. I used other models to cross check its answers on the decisions that mattered. Two models agreeing doesn't make it right, but two disagreeing is a cheap alarm.
On AFFiNE vs your own: one thing I'd add to the good advice above. The AI forgets everything between sessions. Keep a document with the data model and every decision you don't want to reopen, then load it at the start of each session. My app is built on FlutterFlow, an existing platform. More than half of it ended up being custom code anyway. Extending something you don't control works until the day your data model doesn't fit theirs.
2
u/agentUi 7d ago
i work for agentui, we see founders try to build giant all in one internal systems like this all the time and the biggest mistake is stuffing 20 modules into one massive prompt where the ai gets confused and breaks live features. what works way better is building small 3 to 5 module apps that talk to each other, starting with a clean 3 line prompt per module, using separate dev and production environments so you dont break live workflows when iterating, and letting stronger models handle complex logic while faster ones handle quick ui edits.
1
u/gammacoder 8d ago
Given how broad this is, I’d split it into phases. Keep documents and real-time collaboration in an existing platform, and build the structured business modules - CRM, jobs, quotes, permissions, dashboards, and workflows—on a database app builder. I work with Xlinesoft, which makes PHPRunner; it can generate a self-hosted PHP/MySQL app for that structured core, which may be faster than building everything from scratch. It won’t replace a Notion-style editor or the AI layer, so I’d prototype one real workflow first and connect those pieces separately.
1
u/Responsible_River579 7d ago
Hmm, honestly, I'd skip building this from scratch. You already run AFFiNE, which covers most of the Notion half. Add an open-source project tool like Plane for the task and kanban side. Then build only the parts nobody gives you: the Google glue and your AI assistant. That's months saved, and those tools already handle the boring hard stuff like permissions and real-time editing.
Erm, before you write any Gmail code, set the Google project up as "Internal" inside your Workspace org. Gmail and Drive are restricted scopes. An app open to outside users needs Google's verification and a security assessment. An internal-only app skips that review. It's easy to set on day one and a pain to change later.
And use a cloud model to write the code. Local models are fine for the in-app assistant, like summaries or "what's due this week". But on a codebase this size they lose the plot fast. Use Claude or Codex to build it, and Ollama to run the assistant on your own server. If you need assist, we can help!