If you deploy autonomous agents to conduct competitive intelligence, analyze unreleased product architectures, or parse proprietary codebases, handing your custom business goals and high-privilege API credentials to a web-based agent orchestrator feels like walking into a compliance minefield.
At 365Finds, we hear the same panicked questions from engineering leads and startup founders: If I paste my OpenAI, Anthropic, or Serper API key into the web version of AgentGPT (agentgpt.reworkd.ai), does Reworkd store my raw credential in a cloud database? Are my confidential project prompts and the agent's iterative reasoning loops cached permanently? And worse, is someone using my proprietary business strategy to fine-tune an AI model?
Here is the direct, unvarnished reality: AgentGPT does not permanently store your bring-your-own-key (BYOK) API credentials in its cloud database, nor does Reworkd or upstream LLM providers train models on data sent through commercial API keys.
However, that does not mean running confidential research on the public cloud interface is safe. The actual architecture introduces distinct client-side exposure vectors, cloud proxy transit touchpoints, and financial runaway risks that teams routinely overlook.
The BYOK Credential Pipeline: Where Does Your Key Actually Live?
When you click the settings gear on agentgpt.reworkd.ai and paste an OpenAI or Serper API key under the BYOK configuration, the platform does not commit that secret to a persistent user table.
1. Client-Side Browser Storage
In the AgentGPT web architecture, user-supplied custom API keys are saved directly into your browser's localStorage (keyed under application preferences). They remain resident on your local machine so that you do not need to re-enter them on every browser refresh.
This design keeps secret keys out of Reworkd's primary relational database (managed via Prisma and MySQL/PlanetScale in the open-source codebase). An inspection of AgentGPT's core schema confirms that user authentication records, OAuth sessions, and organization tables do not feature persistent fields for personal LLM secret keys.
2. Transient Cloud Transit
While your key is not stored in Reworkd's database, it is not purely client-to-OpenAI either. AgentGPT's autonomous loop relies on a backend orchestration layer (built on Next.js API routes and FastAPI) to manage recursive task decomposition, execution, and memory synthesis.
When an agent executes:
- The browser extracts the key from
localStorage. - The key is attached to outgoing HTTPS requests as a bearer token or custom header.
- Reworkd’s cloud backend receives the request over TLS, instantiates the agent loop execution context in server memory, forwards the payload to OpenAI or Anthropic, streams the response back to your browser, and discards the credential from memory once the request lifecycle concludes.
Your key is transient in cloud server memory. It traverses Reworkd’s infrastructure, but it is not written to disk or indexed in cloud storage.
Does Anyone Train AI Models on Your Prompts and Agent Thoughts?
The fear of proprietary prompts being sucked into a training corpus is valid, but in this specific architecture, it conflates consumer chat products with commercial developer APIs.
| Layer | Does It Retain Prompts? | Does It Train Models on Your Data? | Governing Policy |
|---|---|---|---|
| AgentGPT Web Frontend | Retained in session state; saved to database only if explicitly saved to an authenticated account | No. Reworkd builds orchestration tools, not foundation LLMs | Reworkd Terms of Service |
| Reworkd Cloud Backend | Ephemeral memory during loop execution; transient execution logs for error handling | No. Prompts are forwarded to upstream model APIs | Reworkd Privacy Policy |
| Upstream LLM (OpenAI / Anthropic API) | 30-day retention on provider servers strictly for abuse and safety monitoring | No. Commercial API data is excluded from model training by default | OpenAI Enterprise Privacy / Anthropic Commercial Terms |
Why Model Training Does Not Happen Here
Reworkd is an autonomous workflow orchestration company, not a foundation model laboratory. They do not maintain a proprietary frontier LLM that consumes user prompts for pre-training or RLHF fine-tuning.
More importantly, because you provide your own API key (BYOK), your requests hit the underlying model providers via their commercial API endpoints. Both OpenAI and Anthropic maintain strict legal boundaries between their free consumer interfaces (such as consumer ChatGPT, which may use web inputs for training unless opted out) and their paid API tiers. Under OpenAI's enterprise privacy commitments, customer data submitted through the OpenAI API is never used to train or improve models.
Your competitive research prompts, subtask plans, and intermediate generation drafts are not feeding a public model.
Where the Real Vulnerabilities Hide
If credentials are not saved to a database and models are not trained on prompts, why does 365Finds remain skeptical of using the public cloud deployment for sensitive corporate tasks? Because teams focus on the wrong threat model.
1. The localStorage Exposure Vector
Browser localStorage has zero server-side encryption. Any JavaScript executing in your origin can inspect, read, and exfiltrate everything stored there. If an engineer runs AgentGPT with a high-privilege OpenAI key in a browser burdened with questionable browser extensions, or if a cross-site scripting (XSS) vulnerability surfaces, that API key is sitting in plaintext.
Furthermore, on shared office workstations or unmanaged laptops, anyone opening developer tools can type localStorage.getItem(...) and walk away with your credential.
2. The Cloud Relay Trust Assumption
Because AgentGPT routes requests through its cloud backend to handle agent looping, you are trusting Reworkd’s proxy infrastructure. Even with TLS in transit, your plaintext API key passes through intermediate application memory on multi-tenant servers. For organizations subject to SOC 2 Type II, HIPAA, or strict IP isolation, routing unredacted corporate prompts and master API keys through a third-party startup's proxy fails standard vendor risk assessments.
3. Execution History and Public Sharing Risks
AgentGPT allows users to save workflows and generate public share links (/agent?id=...). If an analyst executes an agent loop outlining an upcoming acquisition target or confidential software refactoring strategy, and inadvertently creates a public share link, that entire execution trace—including initial prompts, decomposed subtasks, and retrieved data—is assigned a public URL accessible to anyone who discovers the hash.
4. Autonomous Loop Runaway Spending
Autonomous agents generate recursive prompt chains: task creation, execution, evaluation, and reprioritization. If an agent hits an ambiguous goal or recursive logic trap, it can execute dozens of high-context model calls in minutes.
If you hook up a root-level OpenAI key with unlimited billing limits, a runaway loop can drain hundreds of dollars before you notice.
Security Hardening: Rules for Compliance-Sensitive Teams
If your team chooses to use the hosted AgentGPT interface for preliminary research, 365Finds recommends enforcing four mandatory credential safeguards:
[OpenAI / Anthropic Dashboard]
│
▼
1. Create Dedicated Project-Scoped Key (No Admin / Billing Roles)
│
▼
2. Set Hard Monthly Budget Cap ($10 - $50 limit)
│
▼
3. Input Key into Browser (Single Session Workstation)
│
▼
4. Clear Browser LocalStorage / Revoke Key Immediately Post-Task
- Never Use Master Organization Keys: Generate a dedicated, project-scoped API key. Restrict model access exclusively to the endpoints required for the task (such as
gpt-4o-miniorgpt-4o). - Apply Strict Hard Quotas: In your OpenAI or Anthropic account settings, set a hard monthly usage limit of $10 to $25 for the dedicated key. If the agent enters an infinite loop, the provider cuts off requests at the threshold.
- Isolate Browser Profiles: Run AgentGPT in a clean, dedicated browser profile or Incognito session free of third-party extensions. When your task completes, manually clear browser storage or click "Clear Key" in the settings modal.
- Assume Execution Logs Are Persistent: Treat any prompt entered into the hosted UI as potentially visible to cloud operators. Never paste proprietary source code, internal credentials, customer PII, or unreleased commercial strategies into the public web client.
Cloud Hosted vs. Docker Self-Hosted: The 365Finds Trade-Off
For any enterprise workload where competitive intelligence or intellectual property is involved, relying on agentgpt.reworkd.ai is an unnecessary compromise. AgentGPT is fully open-source.
| Security Dimension | Cloud Hosted (agentgpt.reworkd.ai) | Self-Hosted Docker Container |
|---|---|---|
| API Key Storage | Browser localStorage (plaintext on machine) | Server .env environment variables |
| Key Transmission | Client $\rightarrow$ Reworkd Cloud Proxy $\rightarrow$ LLM | Local Server $\rightarrow$ Direct to LLM Provider |
| Task Prompt Retention | Multi-tenant cloud memory & database | Local private MySQL / SQLite database |
| Execution Log Privacy | Subject to Reworkd platform retention & sharing | 100% air-gapped within internal VPC |
| Compliance Viability | Unsuitable for regulated data or trade secrets | Fully auditable under internal enterprise governance |
| Maintenance Overhead | Zero (instant web access) | Requires Docker, Docker Compose, and local maintenance |
By deploying AgentGPT locally via Docker, your API keys live in a private .env file on your server. Your prompts and autonomous task loops never touch Reworkd's cloud servers. The entire loop executes within your VPC, and the only outbound network traffic travels directly from your server to OpenAI’s encrypted API endpoints.
The 365Finds Verdict
Does AgentGPT covertly stockpile your API keys or secretly train models on your autonomous agent prompts? No. The platform respects client-side key storage, does not persist credentials in its database, and routes requests through commercial APIs where model training on customer data is prohibited.
Yet, 365Finds advises engineering teams against entering production credentials into the hosted web service. Browser localStorage remains structurally vulnerable to client-side leakage, multi-tenant cloud relays introduce unnecessary vendor trust dependencies, and recursive autonomous loops can rapidly inflate API costs without strict spending bounds.
For sandbox experiments and public web synthesis, use the hosted app with a scoped, spend-capped disposable key. For sensitive commercial intelligence, proprietary codebases, and compliance-bound workflows, deploy the open-source Docker image inside your own isolated infrastructure.