How to Migrate from Self-Hosted Paperclip to Managed Hosting
Migrating from self-hosted Paperclip to managed hosting sounds daunting. It isn’t. Here’s the exact process — including the safety nets that make it risk-free.
Before You Start
You’ll need:
- Access to your self-hosted Paperclip configuration
- Your agent’s memory data (if applicable)
- 30 minutes to 2 hours (depending on setup complexity)
- A HostAgentes account (free trial works)
Step 1: Export Your Agent Configuration
From your self-hosted setup, export your agent’s configuration file. This includes:
- Model provider and model selection
- System prompt and behavior settings
- Tool definitions
- Environment variables (API keys, endpoints)
Most self-hosted setups store this in a YAML or JSON file. If you’re using Docker Compose, check your volume-mounted config files.
Step 2: Create Your HostAgentes Agent
In your HostAgentes dashboard:
- Click New Agent
- Enter the same name as your self-hosted agent
- Select the same deployment region (or closer to your users)
- Add your LLM provider API key
Don’t deploy yet — we’ll configure it first.
Step 3: Import Configuration
Use the dashboard import tool:
- Go to your agent’s Settings tab
- Click Import Configuration
- Upload your exported config file
- Review the parsed settings and confirm
The import tool reads your YAML/JSON and maps settings to the HostAgentes configuration format. It handles model settings, tool definitions, and behavior configuration automatically.
Step 4: Transfer Persistent Memory
If your agent uses persistent memory (vector store or key-value data):
- Export your vector embeddings from your self-hosted database
- In your agent’s Memory tab, click Import
- Upload your vector data and key-value exports
- Verify the import count matches
Your agent will remember everything it knew before — conversations, facts, and learned preferences carry over completely.
Step 5: Test in Parallel
Deploy your agent on HostAgentes. Now run both setups simultaneously:
- Send test requests to both endpoints
- Compare responses for consistency
- Verify tool calls work identically
- Check memory recall accuracy
Both endpoints run in parallel, so there’s no risk. Your production traffic still hits the self-hosted endpoint.
Step 6: Switch Your API Endpoint
When you’re confident the migrated agent works correctly:
- Update your application’s API endpoint to point to the HostAgentes URL
- Monitor for 24-48 hours
- Keep the self-hosted instance running as a fallback
The HostAgentes endpoint format:
POST https://your-agent.hostagentes.com/api/v1/chat
Authorization: Bearer YOUR_API_KEY
Step 7: Decommission
After 24-48 hours of confirmed operation:
- Verify no traffic is hitting the old endpoint (check logs)
- Shut down your self-hosted instance
- Cancel your VPS or cloud subscription
You’re now fully managed. No more maintenance, updates, or 2am alerts.
Time Estimates
| Setup | Time | Difficulty |
|---|---|---|
| Simple agent (no memory) | 30 min | Easy |
| Multi-agent with tools | 1-2 hrs | Medium |
| Enterprise with custom integrations | 4-8 hrs | Advanced |
Need Help?
Our support team can assist with any migration step. Contact us and we’ll walk you through it.
Related Posts
Paperclip + OpenAI: Building Agents with GPT-4o
Step-by-step guide to building Paperclip agents powered by OpenAI GPT-4o. Setup, configuration, tool use, cost optimization, and production deployment.
How to Monitor Your Paperclip Agents
A complete guide to monitoring Paperclip agents — what to track, how to set up alerts, and which metrics matter for agent quality vs infrastructure health.
Managed vs Self-Hosted Paperclip: Which is Right for You?
Compare managed Paperclip hosting on HostAgentes vs self-hosting. Understand the trade-offs in cost, maintenance, scaling, and security to choose the right approach.