Files
OpenHands/agenthub/micro
Boxuan Li c68478f470 Customize LLM config per agent (#2756)
Currently, OpenDevin uses a global singleton LLM config and a global singleton agent config. This PR allows customers to configure an LLM config for each agent. A hypothetically useful scenario is to use a cheaper LLM for repo exploration / code search, and a more powerful LLM to actually do the problem solving (CodeActAgent).

Partially solves #2075 (web GUI improvement is not the goal of this PR)
2024-07-09 22:05:54 -07:00
..
2024-05-10 04:21:22 +02:00

Introduction

This package contains definitions of micro-agents. A micro-agent is defined in the following structure:

[AgentName]
├── agent.yaml
└── prompt.md

Note that prompt.md could use jinja2 template syntax. During runtime, prompt.md is loaded and rendered, and used together with agent.yaml to initialize a micro-agent.

Micro-agents can be used independently. You can also use ManagerAgent which knows how to coordinate the agents and collaboratively finish a task.