It seems that using Cursor has become really repetitive. My workflow typically goes like this:
- Get a task to accomplish on a codebase
- Research the web and codebase to create a plan
- Send the entire plan to cursor and sit back for it to finish<p>This flow works really well with a high level of accuracy for the most part and it's becoming obvious that the margin between where it is today and "perfect" is quickly closing.<p>Because of this flow, I feel that I can replicate it through an SDK that uses a AI cli coder tool with low level control.<p>In this SDK, you can also use the best coder in the world per: <a href="https://aider.chat/docs/leaderboards/" rel="nofollow">https://aider.chat/docs/leaderboards/</a><p>As shown here:<p>```python
from cloudcode import Local
import os<p>def main():
# Use the current directory
cwd = os.getcwd()
example_file = "example.py"<p><pre><code> # Initialize the Aider SDK in architect mode
agent = Local(
working_dir=cwd,
model="o3", # Main (planner) model
editor_model="gpt-4.1", # Editor model for implementing changes
architect_mode=True,
use_git=False,
api_key=os.getenv("CLOUDCODE_API_KEY")
)
# Create or overwrite a simple Python file to modify using the SDK
agent.create_file(
example_file,
"""def add(a, b):
return a + b</code></pre>
"""
)<p><pre><code> # Run a coding task using the two-model workflow
result = agent.code(
prompt="make this function super cool. just make the math functions better",
editable_files=[example_file]
)
# Print the results
print("\nTask completed!")
print(f"Success: {result['success']}")
print("\nChanges made:")
print(result["diff"])
# Display cost information
print("\nTask completed!")
</code></pre>
if __name__ == "__main__":
main()<p>```<p>Given that you can mimic your workflows from cursor and claude code into this sdk, you shouldn't have to sit around on your computer waiting for the long running task to finish.<p>That's why I built in a Sandbox class that mounts the ai coder into a remote sandbox directory instead of a local folder so you can deploy an ai coder to the cloud, enabling use cases such as coding from your phone and the browser.<p>I have already found so many low-handing fruit use cases for this sdk to automate prompting, information gathering, and auto-docs as shown in our github <a href="https://github.com/LMSystems-ai/cloud-coding">https://github.com/LMSystems-ai/cloud-coding</a><p>But I want to take it a step further.<p>You can get started for free today with this sdk and see our favorable pricing model here: <a href="https://docs.cloudcoding.ai/pricing" rel="nofollow">https://docs.cloudcoding.ai/pricing</a>