dev-gpt  by jina-ai

CLI tool for automated microservice development

created 2 years ago
1,869 stars

Top 23.7% on sourcepulse

GitHubView on GitHub
Project Summary

Dev-GPT is an experimental tool that automates the creation, deployment, and testing of microservices using AI. It targets developers and product managers looking to rapidly prototype and deploy AI-powered services with minimal manual coding. The benefit is a significantly accelerated development cycle for microservices.

How It Works

Dev-GPT employs a multi-agent approach, simulating a Product Manager, Developer, and DevOps team. The core process involves the AI iteratively generating code, tests, and Dockerfiles for a microservice based on a natural language description. It attempts multiple strategies, building and testing Docker images, and retrying on failure. Successful builds are pushed to a registry and deployed, with a Streamlit playground generated for testing.

Quick Start & Requirements

  • Install: pip install dev-gpt
  • Requirements: OpenAI API key (GPT-4 recommended, GPT-3.5-turbo support in progress). Optional: Google API Key and CSE ID for web search capabilities.
  • Configuration: dev-gpt configure --openai_api_key <your_key> (or set OPENAI_API_KEY environment variable).
  • Docs: https://github.com/jina-ai/dev-gpt

Highlighted Details

  • Generates microservices from natural language descriptions.
  • Supports deployment to Jina Cloud with associated costs.
  • Includes automated testing and Docker image building.
  • Examples cover diverse tasks like QR code generation, image analysis, and text summarization.
  • Estimated microservice creation time: 5-15 minutes.

Maintenance & Community

This is an experimental project from Jina AI. Contributions are welcome via PRs or issues. A roadmap and next steps are outlined in the README.

Licensing & Compatibility

The repository does not explicitly state a license in the provided README. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

This is an experimental version with potential issues like code generation hanging indefinitely. Windows and Linux support require verification. User accounts require verification for free credits.

Health Check
Last commit

2 years ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
24 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.