Skip to content

Commit 1258b7f

Browse files
authored
Merge pull request #1 from livelybug/anda_cli_name
chore: update name of anda cli
2 parents 6c43fb8 + 3daf2f3 commit 1258b7f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/quick-starts/create-an-agent-with-icp.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,22 @@ DEEPSEEK_API_KEY=''
6464

6565
This project supports xAI's grok-2 or OpenAI's o3-mini models, but not DeepSeek due to unstable Function Calling.
6666

67-
Generate `ID_SECRET` and `ROOT_SECRET` using `anda_engine_cli`:
67+
Generate `ID_SECRET` and `ROOT_SECRET` using `anda_cli`:
6868

6969
```bash
70-
cargo build -p anda_engine_cli
71-
./target/debug/anda_engine_cli --help
72-
./target/debug/anda_engine_cli rand-bytes --help
70+
cargo build -p anda_cli
71+
./target/debug/anda_cli --help
72+
./target/debug/anda_cli rand-bytes --help
7373
```
7474

7575
Generate 32-byte `ID_SECRET`:
7676
```bash
77-
./target/debug/anda_engine_cli rand-bytes --len 32
77+
./target/debug/anda_cli rand-bytes --len 32
7878
```
7979

8080
Generate 48-byte `ROOT_SECRET`:
8181
```bash
82-
./target/debug/anda_engine_cli rand-bytes --len 48
82+
./target/debug/anda_cli rand-bytes --len 48
8383
```
8484

8585
### 1.4 Running the AI Agent Service
@@ -94,25 +94,25 @@ This starts the AI agent service, listening on the default port `8042`.
9494

9595
### 1.5 Calling the Agent
9696

97-
Use `anda_engine_cli` to call the AI agent service:
97+
Use `anda_cli` to call the AI agent service:
9898

9999
```bash
100-
./target/debug/anda_engine_cli agent-run --help
101-
./target/debug/anda_engine_cli agent-run -p 'Please check my PANDA balance'
100+
./target/debug/anda_cli agent-run --help
101+
./target/debug/anda_cli agent-run -p 'Please check my PANDA balance'
102102
```
103103

104104
The AI agent service can include multiple Anda engines, each with multiple agents and tools. The above command calls the default agent in the default Anda engine.
105105

106106
Use a different identity to call the AI agent service if you have `dfx` installed:
107107

108108
```bash
109-
./target/debug/anda_engine_cli agent-run -i ~/.config/dfx/identity/default/identity.pem -p 'Please transfer 0.1 PANDA tokens to me'
109+
./target/debug/anda_cli agent-run -i ~/.config/dfx/identity/default/identity.pem -p 'Please transfer 0.1 PANDA tokens to me'
110110
```
111111

112112
You can also directly call tools to query balances:
113113

114114
```bash
115-
./target/debug/anda_engine_cli tool-call -n icp_ledger_balance_of -a '{"account":"535yc-uxytb-gfk7h-tny7p-vjkoe-i4krp-3qmcl-uqfgr-cpgej-yqtjq-rqe","symbol":"PANDA"}'
115+
./target/debug/anda_cli tool-call -n icp_ledger_balance_of -a '{"account":"535yc-uxytb-gfk7h-tny7p-vjkoe-i4krp-3qmcl-uqfgr-cpgej-yqtjq-rqe","symbol":"PANDA"}'
116116
```
117117

118118
## Code Analysis

0 commit comments

Comments
 (0)