docs/architecture/UNDER_THE_HOOD.md
Let's dive deeper into some of the key components and techniques used in Devika:
Devika employs advanced AI planning and reasoning algorithms to break down high-level objectives into actionable steps. The planning process involves the following stages:
The reasoning engine constantly evaluates the progress and makes adjustments to the plan based on new information or feedback received during execution.
To enable focused research and information gathering, Devika employs keyword extraction techniques. The process involves the following steps:
By extracting contextually relevant keywords, Devika can focus its research efforts and retrieve pertinent information to assist in the task completion.
Devika incorporates browser interaction capabilities to navigate websites, extract information, and interact with web elements. The browser interaction module leverages the Playwright library to automate web interactions. The process involves the following steps:
The browser interaction module empowers Devika to gather information from the web, interact with online resources, and incorporate real-time data into its decision-making and code generation processes.
Devika's code writing module generates code based on the plan, research findings, and user requirements. The process involves the following steps:
Devika's code writing capabilities enable it to generate functional and efficient code in various programming languages, taking into account the specific requirements and context of each project.