Backend Agents
Backend Agents are AI-powered server-side processes that run autonomously. Describe what the agent should do, and GenMB generates the code, deploys it, and runs it on a schedule or on-demand.
- Describe your agent's behavior in natural language. For example: 'Check inventory levels every hour and send an email alert when any product drops below 10 units.'
- Choose a schedule — run every minute, hour, day, or week. Or set up a webhook trigger to run on-demand when called from your app or external service.
- Monitor every run in the Agent History panel. View logs, outputs, execution time, and status (success, failure, running) for each execution.
- Backend Agents support stateful operations. They can read and write to your app's database, call external APIs, and maintain state between runs.
- Backend Agents are a Business plan feature. Teams can share agents across workspaces and assign monitoring responsibilities.
Data Insights
Data Insights lets you query your app's data using natural language. Ask questions in plain English and get answers with visualization suggestions — no SQL or database knowledge required.
- Ask questions like 'What were our top 5 products last month?' or 'Show me daily signups for the past 30 days.' GenMB translates your question into a database query automatically.
- After each query, GenMB suggests the best visualization — bar chart, line graph, pie chart, or table. Click to add the visualization to your app.
- Data Insights works with your app's database (Firestore or PostgreSQL). It understands your schema and generates appropriate queries.
- Data Insights is a Pro feature. Free-tier users have access to the basic database browser for manual data exploration.
Data Connectors
Data Connectors provide a secure backend proxy for connecting your app to external data sources. REST APIs, databases, and third-party services are accessed through an authenticated proxy.
- Configure a connector by specifying the external API endpoint, authentication method, and any required headers or credentials.
- All requests flow through GenMB's backend proxy with HMAC token authentication. Your API keys and credentials are never exposed in client-side code.
- Schema caching improves performance by storing API response schemas. Cached schemas reduce latency for repeated queries.
- Rate limiting protects both your app and external services. Each app is limited to 60 requests per minute per connector.
- Use connectors to pull data from CRMs, payment processors, analytics platforms, or any REST API into your GenMB app.
Best Practices
Follow these guidelines to get the most out of GenMB's backend features.
- Start with simple agent tasks before building complex multi-step automations. Verify each capability works independently.
- Use Data Insights for ad-hoc exploration, then add the most useful visualizations permanently to your app's dashboard.
- Set up alerts for Backend Agent failures so you can respond quickly when something goes wrong.
- Test connector configurations with sample requests before deploying to production. Verify authentication and response formats.
- Combine features for powerful workflows: Backend Agents can use Data Connectors to pull external data, process it with AI, and store results in your database for Data Insights queries.