With its multi-agent AI framework, OpenManus, which was introduced on GitHub in March 2025 by MetaGPT contributors, automates software development. It simplifies coding, testing and deployment and has more than 16,000 ratings. This guide, which is intended for Indian developers looking for efficiency, describes how to use OpenManus for a whole development cycle as of March 12, 2025.
Step 1: Setup
Clone and Install:
git clone https://github.com/mannaandpoem/OpenManus.git
cd OpenManus
uv pip install -r requirements.txt
Configure: Edit config/config.toml:
[llm]
model = "gpt-4o"
api_key = "your-api-key"
Step 2: Code Generation
Prompt: “Write a Python Flask API for a to-do list.”
Run:
python3 main.py
Enter your prompt: Write a Python Flask API for a to-do list
Output: OpenManus generates:
from flask import Flask, request, jsonify
app = Flask(__name__)
todos = []
@app.route('/todos', methods=['POST'])
def add_todo():
todo = request.json.get('task')
todos.append(todo)
return jsonify({'todos': todos})
if __name__ == '__main__':
app.run(debug=True)
Step 3: Testing
Prompt: “Generate unit tests for the Flask API.”
Output: OpenManus creates test_api.py:
import unittest
from app import app
class TestAPI(unittest.TestCase):
def setUp(self):
app.testing = True
self.client = app.test_client()
def test_add_todo(self):
response = self.client.post('/todos', json={'task': 'Test'})
self.assertEqual(response.status_code, 200)
Step 4: Deployment
Prompt: “Deploy the Flask API to AWS.”
Process: OpenManus scripts EC2 setup and uploads code (manual AWS config required initially).
OpenManus deploys code to software automatically, using its open source, GitHub hosted platform. For Indian developers, it's revolutionary - quick, cheap, and adaptable. Though still on the go, its end-to-end provision of a Flask API already highlights a future where coding efficiency is driven by AI.
Ready to optimize your AI infrastructure? Contact us today and leverage our AI/ML expertise!