4 Devin Cloud Workflows to Get the Most Out of Devin · @Fei2411 · TwKit
@Fei2411
Here are 4 tips to get the most out of Devin. They all center around Devin Cloud, which is where Devin's unique value really shines. Every tip comes with a full walkthrough so you can follow along step by step. Let's get started! 1. /handoff We've all had this experience during development. Once a feature is built, you still need to run real-world tests. Doing that directly on your local machine can be pretty inconvenient, and that's where /handoff comes in. When you run /handoff in Devin Local (works in both the CLI and Desktop app), Devin writes up a plan and hands it off to Devin Cloud to execute. Next, you'll choose which environment to use. Devin Cloud supports three OS environments: Ubuntu, macOS, and Windows. I picked macOS. Devin then directs you to the new Cloud session, which takes about a minute to initialize. You don't have to sit there and wait. You can walk away, and Devin will finish the job on its own. Once it wraps up, it delivers a report, and all you need to do is review it. 2. devin --cloud You can also spin up cloud sessions straight from the CLI, making it easy to connect Devin with your other local agents. Run the bash commands below. You don't even need to memorize them; just add them to your AGENTS.md: devin --cloud # interactive devin --cloud -p "fix flaky CI tests" # one prompt, print the response, exit If you want to resume an existing session: devin --cloud -r https: //app.devin.ai/sessions/… # by URL devin --cloud -r devin-0123456789abcdef0123456789abcdef # by ID devin --cloud -r # pick from recent sessions What's the most interesting part? Your own local agent can run these bash commands too. Using the -p flag, your agent automatically receives the result once Devin Cloud finishes, which streamlines the whole workflow. Here is an example of how I use it every day: I do part of my development work in Antigravity. When the coding is done, I ask Antigravity to run devin --cloud -p so Devin Cloud can handle real-world testing and verification. If you want your agent to do this automatically, add this prompt to your AGENTS.md: After finishing coding work, use the devin --cloud -p command to run real-world testing and verification. The -p command uses your default settings. You can configure your default agent and environment under Settings > Organization > Devin. I set mine to free-for-teams and macOS (though I ran into an issue where launching directly still seems to use normal mode, which I have already reported to the team). 3. Connect Local Agents to Devin Cloud with the Devin API You can set up your API key under Settings > Organization > Devin API. Make sure to store it safely, and never paste your API key in plain text inside a chat. The Devin API lets you start a Cloud session with your choice of devin_mode (normal, fast, lite, ultra, or fusion), platform, and repos. Once created, it returns a session_id and url so you can easily inspect and review the work. The biggest difference between the API and -p comes down to use case. -p is better suited for having an agent invoke Devin Cloud as a sub-session. The API is a better fit for automated workflows and makes reviewing results much easier. On top of that, the API gives you full read access to Cloud sessions, enabling much deeper collaboration between your other agents and Devin Cloud. 4. Local Hands I bet a lot of people don't even know this feature exists: Devin Cloud can send you a request to run commands directly on your local machine. It's hard to overstate how convenient this is. You can do almost all of your work in Devin Cloud, and whenever Devin needs local files or needs to run a command on your computer, it can just use Local Hands. Almost all of the compute load stays in the cloud, keeping your local machine light and responsive. That wraps up the 4 features for this guide. Once you get the hang of these four workflows, you'll be able to get a lot more value out of Devin! Follow me if you want to learn more about AI agents. If you have any questions, feel free to drop them in the comments!
曝光 6154 · 评论 5 · 点赞 32 · 书签 27
查看原帖