Custom Chatbot Development Company: Who Owns the Code, Data and Prompts?

When a custom chatbot development company builds your bot, several assets are created: code, prompts, conversation flows, configurations, evaluation sets and sometimes fine-tuned models. Who owns them affects your ability to switch vendors, extend the bot internally and protect your competitive advantage. Agree ownership before work begins. This is general guidance, not legal advice.
Assets in a Custom Chatbot Project
| Asset | Why it matters |
|---|---|
| Custom application code | Needed to run, change or move the bot |
| Prompts and system instructions | Shape behaviour and quality |
| Conversation flows | Define journeys and handovers |
| Integration code | Connects your systems |
| Your data and indexes | Your knowledge and customer information |
| Evaluation sets | Measure quality over time |
| Fine-tuned models | Custom model behaviour |
| Vendor's existing frameworks | Reusable tools the vendor brings |
Typical Ownership Arrangements
- Client owns custom work: code and assets created specifically for you transfer to you on payment.
- Vendor keeps pre-existing tools: you receive a licence to use the vendor's frameworks within your bot.
- Your data stays yours: always, including conversation logs.
- Third-party components: governed by their own licences and terms, such as model provider terms.
Questions to Settle in the Contract
- Do we receive full source code and deployment scripts?
- Which parts are licensed rather than owned, and on what terms?
- Can the vendor reuse our prompts, data or flows for other clients?
- Will our data be used to train any models? Under what conditions?
- What documentation will we receive?
- How does handover work if we change vendors?
Avoiding Lock-In
- Host in your own cloud account where possible.
- Keep API keys and accounts for model providers in your name.
- Require documentation of architecture and deployment.
- Use open standards and avoid unnecessary proprietary layers.
Read on-prem vs cloud deployment and AI deployment services.
Data Protection Terms
- Data processing agreement where personal data is involved
- Where data is stored and who can access it
- Retention and deletion on contract end
- Security commitments and breach notification
Model Provider Terms
If your bot uses commercial model APIs, review the provider's terms on data use and retention. Business API terms often differ from consumer products. Confirm settings with your development partner.
How Amenity Handles Ownership
We agree ownership, licences and handover terms in writing at the start of each engagement. See our approach to custom chatbot development and custom AI development.
Key Takeaways
- List every asset the project will create.
- Own your custom work and data; license vendor frameworks.
- Avoid lock-in with your own hosting, accounts and documentation.
Example: A Smooth Vendor Transition
A company that had agreed full ownership of custom code, hosted the bot in its own cloud account and held its own model provider keys later moved development in-house. Because documentation, code and accounts were already in its name, the transition took weeks instead of months, and the bot kept running throughout.
Documentation to Request at Handover
- Architecture and data flow diagrams
- Deployment and configuration guides
- Prompt and flow documentation
- Evaluation sets and test results
- Access and account inventory
The Bottom Line
Clear ownership terms protect your investment and your freedom to grow, change or bring development in-house later.
Contract Checklist
- Ownership of custom code and assets
- Licence terms for vendor frameworks
- Data use and training restrictions
- Handover and exit provisions
Next Steps
Share these questions with your legal team before the contract stage.
About Amenity Technologies
Amenity Technologies is a GenAI and AI development company based in Ahmedabad, India, with a team of 50+ AI specialists. We build chatbots, voice bots, RAG systems, AI agents, computer vision and custom AI software for clients worldwide. See our awards and achievements.
Related Reading
- AI chatbot development services: engagement models explained
- Custom vs prebuilt ai powered chatbots development services which one is better
Frequently Asked Questions
Who owns a custom chatbot's code?
Commonly, the client owns code created specifically for them on payment, while the vendor keeps pre-existing frameworks and licenses them. Agree this in the contract.
Can a chatbot vendor reuse my data?
Only if your contract allows it. Clarify whether prompts, data or flows can be reused and whether data is used to train any models.
How can I avoid vendor lock-in with a chatbot?
Host in your own cloud account, keep model provider accounts in your name, require documentation and avoid unnecessary proprietary layers.
What data protection terms should a chatbot contract include?
A data processing agreement where needed, storage location and access, retention and deletion, security commitments and breach notification.
Do model provider terms matter?
Yes. Review the provider's data use and retention terms for business APIs, and confirm settings with your development partner.
Discuss Your Custom Chatbot Terms
Talk to our AI team about your use case, or explore our case studies.