TL;DR & Quick Summary
A handoff is complete when your team can change, deploy and repair the system without the people who built it. For AI systems, a code repository isn't enough, because behaviour also depends on prompts, models, data and third-party services. Ask for eight things:
- Code with history and build instructions
- Accounts and keys owned by you
- Prompts, model versions and settings
- Test set and latest results
- Data pipelines and schemas
- Runbooks, monitoring and cost tracking
- Security evidence and licence list
- Known limitations, in writing
Then prove it with a handoff test run by your own people.
- Key Takeaway: Agree the handoff list before the build starts, and make final acceptance depend on passing it.
- Get Started: Need a partner who hands over cleanly, or help taking over an existing system? Schedule a strategy call with Cogniq AI or see our custom AI development services.
Why AI Handoffs Go Wrong
A conventional application mostly does what its code says. An AI system does what its code, prompts, model, data and configuration say together. Hand over only the first and your team gets something that runs but that nobody can safely change.
The usual symptoms:
- A prompt was edited in a web console and never saved to the repository
- The model account belongs to the vendor or to one developer
- Nobody kept the examples used to judge quality, so every change is a guess
- A data job runs on someone's laptop or an unnamed scheduled task
- The documentation describes the first version, not the one in production
All are cheap to prevent and slow to reconstruct.
The Handoff Checklist
1. Code and Build
- Full source code in your repository, with commit history
- Infrastructure definitions and deployment pipeline
- Instructions to set up a development environment from a clean machine
- Dependencies pinned to versions
- Configuration separated from code, with an example file listing every setting and no real secrets
- Automated tests, and how to run them
2. Accounts, Access and Keys
| Account | Owner should be | At handoff |
|---|---|---|
| Source repository | Your organization | Transfer or confirm ownership |
| Cloud or hosting | Your organization, your billing | Remove personal accounts |
| Model providers | Your organization | Rotate keys |
| Data sources and integrations | Service accounts you control | Rotate credentials, document scopes |
| Domains, email, messaging | Your organization | Confirm renewals and recovery contacts |
| Monitoring and logs | Your organization | Confirm alerts reach your people |
Then remove access the builders no longer need. Keep a record of who still has it and why.
3. Prompts, Models and Settings
- Every production prompt, versioned in the repository
- Model names and versions used for each step, and why they were chosen
- Settings such as temperature, token limits and timeouts
- Tool and function definitions, with what each is allowed to do
- Fallback behaviour when a provider is slow or unavailable
- If a model was fine-tuned: the training examples, the base model, how to reproduce it and when the base model is due to retire
Retirement dates matter. Providers withdraw models, so name the person who watches deprecation notices.
4. Test Set and Evaluation
This is the item most often missing, and the one that protects you most.
- The test cases, with expected results, including difficult and failure cases
- The scoring method and the pass threshold
- The latest results from the version being handed over
- A command or pipeline step that reruns the evaluation
- How new real-world failures get added to the set
Without it, you can't tell whether a change made the system better or worse. Our AI agent evaluation framework describes what a useful set contains.
5. Data Pipelines and Storage
- Where each dataset comes from, how often it updates and who owns it
- Database schemas and migration scripts
- How search indexes are built, and how to rebuild them from scratch
- Retention and deletion rules, including how a person's data is removed
- Backups, and evidence that a restore has been tested
6. Operations: Runbooks, Monitoring and Cost
A runbook is a short, specific procedure. Ask for one for each likely failure:
- Model provider unavailable or rate-limited
- Costs rising unexpectedly
- Answer quality dropping
- An integration failing or credentials expiring
- A harmful or wrong action taken by the system
- How to pause the AI and fall back to a manual process
- How to deploy and how to roll back
Add dashboards for errors, latency, usage and spend, with alert thresholds and named recipients. Document the monthly running cost measured in production, broken down by service. Our guide to how long AI automation takes to pay back shows why that figure belongs in the business case.
7. Security and Licences
Ask for evidence, not assurance:
- A list of third-party packages, models and datasets with their licences
- Results of dependency and secret scanning, with open items listed
- How the system defends against prompt injection and unsafe output
- What actions the AI can take, and where a person must approve
- Access controls, logging and how personal data is protected
Two public references give this structure. NIST's Secure Software Development Framework (SP 800-218, version 1.1) describes practices for building software securely, and the OWASP Top 10 for LLM Applications lists risks specific to language model systems. Ask the builders which risks they addressed and how. For approval design, see human-in-the-loop approval gates.
8. Known Limitations
Every system has them. Ask for a written list:
- Cases the system handles badly
- Shortcuts taken and what it would take to fix them
- Assumptions about volume, language or data
- Dependencies likely to change
- Work planned but not done
A partner who writes this list candidly is doing you a favour. An empty list usually means nobody looked.
Run a Handoff Test
Documents can look complete and still fail. Have someone on your side who didn't build the system complete these without help:
| Task | Passes when |
|---|---|
| Set up an environment | The system runs from the documentation alone |
| Make a small change | A prompt or setting is edited and reviewed |
| Run the evaluation set | Results match the recorded figures within the expected variation |
| Deploy and roll back | Both succeed in a test environment |
| Follow a failure runbook | The simulated problem is resolved |
| Rotate a key | Service continues with the new credential |
| Find last month's cost | The figure and its breakdown are located |
Record every question they had to ask. Each one is a documentation fix. Repeat until the list is empty or the remaining items are accepted in writing.
Plan the Timeline
Don't leave the handoff to the last week.
- At the start: accounts created under your organization; deliverables written into the contract
- During the build: documentation and tests updated with each milestone; your engineer reviews changes
- Three to four weeks before the end: first handoff test
- Final week: second test, key rotation, access removal
- After: a support period with response times and a clear line between defects and new work
Your side needs an owner with real time allocated. A handoff to nobody fails however good the documents are.
Warning Signs During the Build
You can usually tell months ahead that a handoff will be hard. Raise these early, while they're cheap to fix:
- You can't see the repository until the end, or it's shared as a zip file
- Demos run from a developer's machine rather than an environment you can reach
- Invoices for model usage arrive through the vendor, with no breakdown
- Quality is described, never measured: "it's much better now" with no test results
- Your engineer is not invited to review changes
- Documentation is a final milestone instead of part of each delivery
- Reusable vendor components appear in the system without written licence terms
A simple monthly check covers most of them. Ask the builders to deploy the current version from your repository, into your account, while your engineer watches. If that works every month, the final handoff holds few surprises.
Put It in the Contract
Specify the deliverables, acceptance test, ownership of code, prompts, data and any trained model, and what happens if the project ends early. Our AI development statement of work checklist covers the wording to settle, and AI vendor security questions covers due diligence before signing. This is a practical checklist, not legal advice, so have a lawyer review ownership terms.
Taking Over a System Without a Handoff
If the builders are gone or the documentation is thin:
- Secure access first: repository, cloud, model accounts, domains
- Rotate keys and review who can sign in
- Capture current behaviour by building a test set from real, recent cases
- Find hidden jobs: schedulers, webhooks and scripts outside the repository
- Add monitoring and cost alerts before changing anything
- Change one thing at a time, measured against the test set
This takes longer than a planned handoff, which is the argument for planning one.
Conclusion
A good AI code handoff transfers more than code. Insist on accounts you own, versioned prompts and models, a runnable test set, documented data pipelines, runbooks, security evidence and an honest list of limitations. Agree it all before the build, then prove it by having your own people operate the system without help. When they can, you own the system in practice as well as on paper.
Schedule a strategy call with Cogniq AI to plan a clean handoff or take over an existing system, or explore our custom AI agent development.



