AB
AiBoss
project

Magnitude - An open-source AI agent-driven end-to-end testing framework

Magnitude is an open-source, end-to-end testing framework powered by visual AI agents. Magnitude builds test cases using natural language, plans and tunes test flows with powerful inference agents, and executes tests based on fast visual agents...

What is Magnitude?

Magnitude is an open-source, end-to-end testing framework powered by visual AI agents. Magnitude builds test cases using natural language, plans and tunes test flows with powerful inference agents, and executes tests based on fast visual agents. Magnitude supports local execution and CI/CD pipeline integration, and provides managed services, including managed browser infrastructure and LLM infrastructure, simplifying test management. Magnitude helps developers efficiently test web applications and ensure application quality.

The main functions of Magnitude

  • Natural Language Testing Writing: Lowering the barrier to testing by describing test steps and checkpoints using natural language.
  • Intelligent reasoning and visual executionThe inference agent dynamically adjusts the testing strategy, while the visual agent reliably executes the test.
  • Flexible operating optionsIt supports local operation, CI/CD integration, and managed services to meet various testing needs.
  • Custody and Self-CustodyIt offers managed services to simplify management and supports self-hosting to meet privacy and customization needs.
  • Test Management and VisualizationThe console allows you to manage test cases, view test results, and access historical records.

The technical principles of Magnitude

  • Visual AI AgentComputer vision technology identifies and understands web interface elements. Based on a visual model, Magnitude can "see" changes in the interface, such as changes in button positions and updates to text content. The visual agent matches interface elements with descriptions in test cases to ensure the accuracy of the tests.
  • Reasoning and Planning ModelNatural Language Processing (NLP) technology parses the natural language descriptions in test cases and transforms them into executable test steps. The inference agent adjusts the test plan in real time based on dynamic changes in the application interface, ensuring that the tests adapt to interface updates.
  • Data-driven test executionThe data in test cases (such as usernames and passwords) can be flexibly configured, supporting the secure storage and use of sensitive data. During test execution, the visual agent and the inference agent work together to ensure the accurate execution of test steps.
  • Flexibility of Hosting vs. Self-hostingThe managed service provides browser and LLM infrastructure based on a cloud platform, eliminating the need for users to build their own environment. The self-hosted mode allows developers to use their own infrastructure to interact with Magnitude's core agent via API, meeting their needs for data privacy and customization.

Magnitude's project address

Application scenarios of Magnitude

  • Web application end-to-end testingVerify the complete user flow and adapt to interface changes.
  • CI/CD Automated TestingIntegrate it into the development process to ensure the stability of the code after submission.
  • Production environment monitoring: Monitor application status in real time and identify problems promptly.
  • Interface change adaptability testingQuickly adjust test cases to respond to interface updates.
  • Team collaboration and management: Console-based test management facilitates team collaboration.