Okay team,
Subject: Guidance on Responsible AI Use in Software Engineering
Artificial Intelligence (AI), particularly generative AI, presents incredible opportunities to enhance our productivity, creativity, and ultimately, the value we deliver to our customers. As we explore and integrate these powerful tools into our workflows, it's crucial we do so responsibly, thoughtfully, and in alignment with our core Guiding Principles and Values.
This document provides guidance on how to leverage AI effectively while upholding our standards and commitments.
The Opportunity & The Responsibility
AI can help us:
- Generate boilerplate code, unit tests, and documentation.
- Debug complex issues and suggest solutions.
- Explore different architectural approaches.
- Summarize technical information and learn new concepts faster.
- Optimize code performance.
However, AI tools are not infallible. They can generate incorrect, insecure, biased, or non-performant code. They learn from vast datasets, which may include licensed code or reflect societal biases. Therefore, our engagement with AI must be deliberate and critical.
Aligning AI Use with Our Guiding Principles:
-
Understand the problem:
- Don't use AI as a substitute for thinking. Use it to augment your understanding, explore possibilities, or handle routine tasks after you've grasped the core problem you're solving.
- Critically evaluate AI suggestions. Does the proposed solution truly address the problem, or just a superficial aspect of it? Is it overly complex or inefficient?
- Guidance: Use AI to brainstorm or get unstuck, but always validate its output against your deep understanding of the problem domain.
-
Think like the customer:
- How does using AI in our development process ultimately impact the customer experience? Does it help us deliver value faster? Does it improve quality?
- Be vigilant about AI introducing subtle biases or unintended consequences that could negatively affect users. Does AI-generated code handle edge cases gracefully and inclusively?
- Guidance: Always assess the end-user impact. Ensure AI usage enhances, rather than detracts from, usability, fairness, accessibility, and overall customer value.
-
Own the outcome:
- This is paramount. AI is a tool, like a compiler or a library. You are the engineer. You are ultimately responsible and accountable for any code, design, or documentation you commit, regardless of whether AI assisted in its creation.
- Thoroughly review, test, debug, and secure all AI-generated code as if you wrote it yourself from scratch. Understand why it works (or doesn't).
- Guidance: Never blindly trust AI output. Treat AI-generated code with healthy skepticism. You own its quality, security, performance, and maintainability.
-
Learn fast:
- AI is a rapidly evolving field. Experiment with different tools and techniques to see how they can improve your workflow.
- Share your learnings – both successes and failures – with the team. What prompts work well? What are the limitations of certain tools? Where did AI lead you astray?
- Guidance: Embrace experimentation, but do so transparently and share knowledge actively to accelerate our collective learning.
-
Do our best work:
- Use AI to automate drudgery and free up your time for higher-order thinking, complex problem-solving, and creative design – areas where human ingenuity excels.
- Don't let AI lower our quality bar. Strive for elegant, efficient, maintainable, and well-tested solutions, whether human-authored or AI-assisted.
- Guidance: Leverage AI strategically to elevate the quality and impact of your work, not just the quantity or speed.
Aligning AI Use with Our Values:
- Ambitious and impact-driven: Use AI to tackle bigger challenges and accelerate our progress towards impactful goals.
- Quick and continuous: Integrate AI assistance thoughtfully into our development cycles to enhance velocity, but never at the expense of rigor or quality checks.
- Resilient: Ensure that AI-assisted code is robust, secure, and well-tested. Consider the potential failure modes introduced by AI dependencies or generated logic.
- Aligned, empowered and accountable: You are empowered to use AI tools, but you must remain aligned with these guidelines and fully accountable for the results (linking back to Own the outcome).
- Open and transparent:
- Be transparent with your colleagues about when and how you are using AI, especially when collaborating.
- Do not feed sensitive, proprietary, or customer data into public AI models unless explicitly approved through defined company processes (check our data security policies!). Understand the data usage policies of the tools you use.
- Attribute appropriately if required by licenses or if significant portions of creative work originate from AI.
- Inclusive, empathetic and respectful:
- Be mindful of potential biases in AI tools and outputs. Actively look for and mitigate bias in AI-generated code or suggestions.
- Respect intellectual property. Do not use AI to generate code that infringes on licenses. Most AI tools cannot guarantee the originality or license compliance of their output. Verify!
Practical Do's and Don'ts:
Do:
- ✅ DO use AI to accelerate learning, brainstorm ideas, and automate routine tasks.
- ✅ DO critically review, test, and understand all AI-generated output before committing it.
- ✅ DO prioritize security and performance when evaluating AI suggestions.
- ✅ DO check for potential bias in AI outputs.
- ✅ DO be transparent about your AI usage with your team.
- ✅ DO share learnings about effective AI use (prompts, tools, pitfalls).
- ✅ DO protect company and customer confidential information – avoid inputting it into public AI tools.
Don't:
- ❌ DON'T blindly copy-paste AI-generated code into the codebase.
- ❌ DON'T assume AI output is correct, secure, performant, or unbiased.
- ❌ DON'T use AI as a replacement for critical thinking and problem understanding.
- ❌ DON'T input proprietary code, trade secrets, or sensitive customer data into public AI models.
- ❌ DON'T rely on AI for final decision-making on complex architectural or ethical issues.
- ❌ DON'T use AI in a way that infringes on software licenses or intellectual property rights.
Moving Forward
This field is evolving rapidly, and so will our understanding and best practices. Let's maintain an open dialogue about how we're using these tools, what's working, and what challenges we encounter. We will review and update this guidance periodically.
Our goal is to harness the power of AI to become better engineers and deliver more value, faster – all while upholding the principles and values that define us. Let's learn, adapt, and build responsibly together.
If you have any questions or specific scenarios you'd like to discuss, please reach out to your manager, tech lead, or raise them in our engineering forums.
Best,
[Your Name/Engineering Leadership]