Nits in readme

This commit is contained in:
Aymeric 2024-12-27 16:53:31 +01:00
parent 86c8d28830
commit 3c52977e7f
1 changed files with 2 additions and 2 deletions

View File

@ -64,10 +64,10 @@ Especially, since code execution can be a security concern (arbitrary code execu
- a secure python interpreter to run code more safely in your environment
- a sandboxed environment using [E2B](https://e2b.dev/).
## How lightweight is it?
## How smol is it really?
We strived to keep abstractions to a strict minimum: the main code in `agents.py` is only ~1,000 lines of code.
Still, we implement several types of agents: `CodeAgent` writing its actions in code snippets, and the more classic `ToolCallingAgent` that leverage built-in tool calling methods.
Still, we implement several types of agents: `CodeAgent` writes its actions as Python code snippets, and the more classic `ToolCallingAgent` that leverages built-in tool calling methods.
Many people ask: why use a framework at all? Well, because a big part of this stuff is non-trivial. For instance, the code agent has to keep a consistent format for code throughout its system prompt, its parser, the execution. So our framework handles this complexity for you. But of course we still encourage you to hack into the source code and use only the bits that you need, to the exclusion of everything else!