diff --git a/docs/blog/devin.mdx b/docs/blog/devin.mdx index c6c286117..25eb50beb 100644 --- a/docs/blog/devin.mdx +++ b/docs/blog/devin.mdx @@ -5,14 +5,14 @@ icon: "robot" iconType: "solid" --- -Coding assistants like Cursor have introduced a new era of programming. But there's a class of programming tasks they can't handle: large-scale, systematic modifications across large codebases. You wouldn't ask an AI to delete all dead code or reorganize your entire component hierarchy - the tooling just isn't there. +Coding assistants like Cursor have brought us into a new era of programming. But there's a class of programming tasks that remain outside their reach: large-scale, systematic modifications across large codebases. You wouldn't ask an AI to delete all your dead code or reorganize your entire component hierarchy - the tooling just isn't there. -That's where codemods come in. A codemod is a program that operates on your codebase, and when you give an AI agent the ability to write and execute them, these tasks fall below the high-water mark of AI capabilities. +That's where codemods come in. A codemod is a program that operates on a codebase, and when you give an AI agent the ability to write and execute them, these platform-level tasks fall below the high-water mark of AI capabilities. Here's a real example: we asked [Devin](https://docs.devin.ai/get-started/devin-intro) (an autonomous SWE agent) to "delete all dead code" from our codebase. Instead of trying to make hundreds of individual edits, Devin [wrote and debugged a program](https://github.com/codegen-sh/codegen/pull/660/files#diff-199b0c459adf1639f664fed248fa48bb640412aeacbe61cd89475d6598284b5f) that systematically removed unused code while handling edge cases like tests, decorators and indirect references. - [View the PR](https://github.com/codegen-sh/codegen/pull/660) -- [View on Devin](app.devin.ai/sessions/a49eac87da644fa9ac1144fe130b847e) +- [View on Devin](https://app.devin.ai/sessions/a49eac87da644fa9ac1144fe130b847e) @@ -89,4 +89,4 @@ Or try it with other platform-level modifications supported by Codegen: -We'd love to hear how it works for you! Let us know in our [community](https://community.codegen.com) and share other tasks that it is helpful in performing. \ No newline at end of file +We'd love to hear how it works for you! Let us know in our [community](https://community.codegen.com) and share your experience developing codemods with Devin or other code assistants. \ No newline at end of file diff --git a/docs/tutorials/at-a-glance.mdx b/docs/tutorials/at-a-glance.mdx index 1bdd1ce11..87c8f467f 100644 --- a/docs/tutorials/at-a-glance.mdx +++ b/docs/tutorials/at-a-glance.mdx @@ -53,7 +53,7 @@ Explore our tutorials to learn how to use Codegen for various code transformatio Update SQLAlchemy code to use the new 2.0-style query interface and patterns. diff --git a/docs/tutorials/github-review-bot.mdx b/docs/tutorials/github-review-bot.mdx index ab8b0ad8f..9b9a669fd 100644 --- a/docs/tutorials/github-review-bot.mdx +++ b/docs/tutorials/github-review-bot.mdx @@ -186,37 +186,4 @@ While this example demonstrates a basic PR review bot, you can extend it to: - Add automatic fix suggestions - ... etc. -Check out our [Code Agent tutorial](/tutorials/build-code-agent) to learn more about building sophisticated AI agents with Codegen - -## Learn More - - - - Learn how to build intelligent code agents with Codegen. - - - Explore Codegen's GitHub integration features. - - - Learn about deploying apps with Modal. - - - Understand code review patterns and best practices. - - \ No newline at end of file +Check out our [Code Agent tutorial](/tutorials/build-code-agent) to learn more about building sophisticated AI agents with Codegen \ No newline at end of file diff --git a/docs/tutorials/promise-to-async-await.mdx b/docs/tutorials/promise-to-async-await.mdx index 9e30cf3c4..2811ee2ae 100644 --- a/docs/tutorials/promise-to-async-await.mdx +++ b/docs/tutorials/promise-to-async-await.mdx @@ -96,7 +96,7 @@ new_code = promise_statement.edit( - Ambiguous/conditional return blocks -A list of all the covered cases can be found in the [example notebook](codegen-examples/examples/promises_to_async_await/promise_to_async_await.ipynb). +A list of all the covered cases can be found in the [example notebook](https://github.com/codegen-sh/codegen-sdk/tree/codegen-examples/examples/promises_to_async_await/promise_to_async_await.ipynb).