Instructions
Prerequisites
1. Obtain API Keys:
- OpenAI: Required for generateText, generateImage, analyzeImage (all providers), and task execution (task action with OpenAI adapter). Sign up at openai.com and get an API key.
- DeepSeek: Optional for generateText. Sign up at deepseek.com.
- Gemini: Optional for generateText. Get an API key from Google’s AI platform.
- Anthropic: Optional for generateText. Sign up at anthropic.com.
- Hugging Face: Optional for generateText. Get an API key from huggingface.co.
- Pinecone: Required for RAG with Pinecone vector store. Sign up at pinecone.io and get an API key.
In Bubble, go to Plugins > Agnostic Agents Pro (Pro) > Plugin Settings and enter your API keys in the respective fields (openai_api_key, deepseek_api_key, gemini_api_key, anthropic_api_key, hf_api_key, pinecone_api_key). Alternatively, you can pass API keys dynamically via parameters.
2. Install the Plugin:
- In the Bubble editor, navigate to the Plugins tab.
Search for "Agnostic Agents Pro" and add it to your app.
General Steps to Use the Plugin
1. Add an Action to Your Workflow:
- In the Bubble editor, go to the workflow where you want to use the plugin.
- Add a new action: Plugins > Agnostic Agents Pro (Pro) > Choose one of:
- Agent: For text generation, image generation, image analysis, and agent creation.
- Rag: For managing RAG (knowledge retrieval) operations like indexing, querying, and vector store management.
- Task: For creating and running tasks with dependency management.
2. Select a Sub-Action:
- In the action dropdown, choose the desired sub-action (e.g., generateText, index, run).
3. Configure Parameters:
- Fill in the required and optional parameters for the chosen sub-action (detailed below).
- Ensure API keys are set for the chosen adapter or vector store.
4. Run the Workflow:
- Trigger the workflow (e.g., via a button click or page load).
- The plugin will return the specified output fields (e.g., response, images, output)—use these in your app (e.g., display in a text element, store in the database).
5. Handle Errors:
- If an error occurs (e.g., invalid API key, timeout after 30 seconds), Bubble will display an error message. Check your API keys, parameters, and provider API status.
Actions and Sub-Actions
The Pro version includes three main actions with the following sub-actions: