You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: Uvicorn running on http://localhost:50001 (Press CTRL+C to quit)
87
94
```
88
95
#### Preparing Google ADK Agent
89
-
Organize your agent files in the following structure:
96
+
You can use the following command to create files needed by a new agent:
90
97
```
91
-
name_of_your_agent/
98
+
abacusagent --create
99
+
```
100
+
Then a directory containing all necessary files will be generated:
101
+
```
102
+
abacus-agent/
92
103
├── __init__.py
93
104
└── agent.py
94
105
```
95
-
See example files in `examples\my_agent` to prepare `__init__.py`and `agent.py`.
106
+
Then you can edit the `agent.py`file to customize the agent.
96
107
#### Starting Google ADK
97
108
```bash
98
109
>>> adk web
@@ -146,3 +157,6 @@ Functions of ABACUS Agent tools are in active development. Currently, the follow
146
157
- Charge density difference
147
158
- Using Birch-Murganhan equation to fit equation of state for cubic crystals
148
159
160
+
Besides, a wrapper function which accepts a structure file and some key parameters to do ABACUS calculation is also provided.
161
+
162
+
You can use `abacusagent --screen-modules` to hide tool function in some modules. The `--matmaster` option will only allow the wrapper function to be loaded.
0 commit comments