Research Agent Setup Guide
Connect the Research Agent to OpenAI’s Responses API, keep the API key private, and run a safe launch test on your InterServer-hosted site.
What you need
- Your updated CYBERSIDE.AI website package uploaded to your InterServer hosting account.
- An OpenAI API account with billing and API access enabled.
- An OpenAI API key. Treat it like a master key for billable access—never place it in page HTML, JavaScript, screenshots, or public downloads.
- PHP cURL enabled for your domain’s selected PHP version. This is usually enabled on InterServer.
api/research-agent.php. The browser never receives your OpenAI API key.Install the private configuration file
The public pages and the server-side endpoint are already included in the site package. You only need to add the key in the private configuration file.
public_html folder and extract it there as you normally do.public_html/api/.research-agent-config.php.example. Make a copy in the same folder named exactly research-agent-config.php.research-agent-config.php file and replace the placeholder key value while keeping the quotation marks.https://your-domain.com/research-agent.html and run a low-risk test question from the checklist below.research-agent-config.php. The included api/.htaccess rules are there to block direct browser access to this private configuration file.Starting settings
The configuration defaults are intentionally conservative:
- Model: Use a web-search-capable Responses API model available to your OpenAI API account. Keep the default until you have a reason to change it.
- Rate limit: A visitor may complete up to eight requests in a 15-minute window. This reduces the chance that a public page becomes a surprise API-cost black hole.
- Research mode: Visitors can choose balanced, official-first, or recent-first sources; they can also choose quick or thorough research depth.
Safety and cost controls
Testing checklist
- Open AI Agents and select Launch Research Agent.
- Run a low-risk question, such as: “Compare current ways to improve home Wi-Fi coverage in a two-story house.”
- Confirm a research brief appears with a bottom line, findings, uncertainty, and suggested next questions.
- Confirm the source list shows clickable links.
- Try opening
/api/research-agent-config.phpdirectly in a browser. It should be blocked. - Run several requests in quick succession to make sure the rate limit behaves as expected.
Troubleshooting
It says “installed but not connected yet.”
The configuration file is missing, misnamed, or still has the placeholder value. Confirm the filename is exactly research-agent-config.php and the key is inside the quotation marks.
It shows a server cURL error.
Ask InterServer support to enable the PHP cURL extension for the PHP version assigned to your domain. This feature does not need Composer, Node.js, or a separate server.
The page loads, but a request fails after setup.
Check that your OpenAI API account has billing/API access, the key is active, and the configured model supports the Responses API web-search workflow. Then review the endpoint’s returned error message for the next clue.
How can I reduce costs after launch?
Keep the rate limit enabled, monitor API usage, use quick research for everyday questions, and consider adding CAPTCHA or user sign-in before promoting the tool broadly.