11Create a new Embabel agent in Java within this project.
22This project uses normal Maven conventions.
33
4- The package should be {{ pgk }}
5-
6- The purpose of the agent is {{ purpose }}.
7-
8- Choose an appropriate class name. Refer to API documentation and examples for how to build an agent.
4+ Choose an appropriate class name within the package.
5+ Refer to API documentation and examples for how to build an agent.
96
107Start by considering the data flow between the agent's @Action methods.
118These types should be captured in records.
129
1310For each @Action method, consider what tool groups may be required.
1411Be parsimonious in your choice of tool groups, including only what's necessary.
15- The available tool groups are:
16-
17- {% for tool_group in tool_groups %}
18- - {{ tool_group.role }}: {{ tool_group.description }}
12+ The available tool groups are the following (use the role string in code for withToolGroup):
13+ Role | Description
14+ ---- | -----------
15+ {% for group in toolGroups %}
16+ {{ group.role }} | {{ group.description }}
1917{% endfor %}
2018
2119Ue modern Java with vars and records.
2220
2321Use the build tool to check that your build works and fix it if it doesn't.
2422
25- You should also create the following artifacts:
26-
27- 1. Unit test for the new agent. Use WriteAndReviewAgentTest in this repository as a guide
23+ {# You should also create the following artifacts:#}
24+ {##}
25+ {# 1. Unit test for the new agent. Use WriteAndReviewAgentTest in this repository as a guide#}
2826
2927{#2. Integration test for the new agent. Use#}
3028
@@ -33,7 +31,18 @@ DO NOT MODIFY ANY FILES BESIDES THE NEW FILES YOU'VE CREATED
3331DO NOT MODIFY THE pom.xml
3432
3533Tools provided will give you access to reference repositories.
36- The tool names beginning with "this_project_" will give you access to this repository
34+ The tool names beginning with "{{ thisProject }}" will give you access to this repository
35+
36+ This project uses normal Maven project structure, you will add source code under src/main/java and tests under src/test/java.
37+ Note that the examples repo has a different structure.
3738
3839Create the simplest possible implementation that meets the requirements.
39- Do not invent extra steps.
40+ Do not invent extra steps or actions.
41+
42+ # PACKAGE
43+
44+ The package should be {{ package }}
45+
46+ # PURPOSE OF THE AGENT
47+
48+ {{ purpose }}
0 commit comments