The agent system
Gainable uses multiple specialized AI agents, each with a specific role in building your application. Think of them as a team of experts working together.Planner Agent
The Planner is the first agent to see your request. It analyzes what you want and creates a structured plan.What the Planner does
- Understands your intent (create, update, or seed data)
- Identifies what data models you need
- Determines which views and features to build
- Recognizes when to use built-in skills (charts, kanban, chat)
- Creates a checklist of what will be delivered
Example: Planner in action
When you say: “Build a project tracker with tasks and due dates” The Planner creates:DataAnalyzer Agent
The DataAnalyzer is used when you build from data instead of describing an app. It examines your synced data and designs an app spec through conversation.What the DataAnalyzer does
- Analyzes schema, field types, and sample data from connected sources
- Identifies the domain (CRM, project management, finance, etc.)
- Detects patterns that map to features (pipeline enums → kanban, currency → dashboards)
- Asks clarifying questions through interactive multiple-choice options
- Produces a multi-stage build specification
- Decides where to place collaboration features based on domain context
Example: DataAnalyzer in action
When you connect a Google Sheet with deal data (name, amount, stage, close date), the DataAnalyzer:Build Agent
The Build Agent is the workhorse that generates all your application code.What the Build Agent does
- Creates database models to store your data
- Builds API routes for data operations
- Generates user interface pages
- Implements forms, tables, and interactive elements
- Follows proven patterns for reliability
Skills and expertise
The Build Agent has deep knowledge of:- Data visualization - Charts, graphs, KPIs
- Drag-and-drop - Kanban boards, sortable lists
- Real-time updates - Live data synchronization
- UI patterns - Forms, modals, drawers, navigation
- Collaboration - Chat, files, comments integration
Validation Agent
Before your app is delivered, the Validation Agent checks for common issues.What Validation catches
- Forms that don’t save data correctly
- Missing connections between data and views
- UI patterns that could break on mobile
- Common coding mistakes
Conversation Agent
When you ask questions about your project (instead of requesting changes), the Conversation Agent helps.What the Conversation Agent does
- Answers questions about what was built
- Explains how features work
- Helps troubleshoot issues
- Provides guidance on next steps
Example: Asking questions
How agents communicate
The agents work in sequence, each building on the previous work:Context preservation
All agents share context about your project:- What’s already built - Existing models, views, and features
- Your preferences - Design choices, naming conventions
- Project history - Previous changes and iterations
Context is preserved throughout your session. Each new request builds on everything that came before.
Best practices
To get the most from the agent system:- Be specific - The more detail you provide, the better the results
- One thing at a time - Let each build complete before requesting the next
- Use natural language - Write like you’re explaining to a colleague
- Request by feature name - “Add a pie chart” is clearer than “visualize this somehow”
Custom AI agents in your apps
The agents described above (Planner, Build, Validation, Conversation) are build agents that work behind the scenes to create your app. Gainable also lets you create custom AI agents that live inside your finished app as interactive assistants for your users. Custom agents can chat with users, query your app’s data, reference uploaded documents, and provide guidance through an embedded copilot interface.Learn about custom AI agents
Create AI assistants with data access, knowledge bases, and an embedded chat interface
Learn more
Skills
Explore built-in features you can request
Prompting guide
Write better prompts for better results
AI agents & copilot
Add custom AI assistants to your apps