OpenAI's Codex , a model trained on 10 million GitHub repositories, can generate code for several programming languages including JavaScript, Python, and Terraform.
While the potential for AI-generated code seems exciting, there are limitations to this technology such as generating invalid code or code with vulnerabilities.
Styra and OPA can be used to implement policy guardrails to ensure code generated using Codex or similar AI tools complies with best practices and security standards.
>Proceed with caution, experiment wisely, and always do a strict code review before deployment.