Skip to content

Commit

Permalink
chore: update documents
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Feb 15, 2025
1 parent a2bd540 commit 829baae
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 24 deletions.
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,20 @@ Documents:

```sh
anda/
├── anda_core/ # Core library containing base types and interfaces
├── anda_engine/ # Engine implementation for agent runtime and management
├── anda_lancedb/ # LanceDB integration for vector storage and retrieval
├── agents/ # Various AI agent implementations
│ ├── anda_bot/ # Example agent: Anda ICP
│ └── .../ # More agents in future releases
├── tools/ # Tool libraries
│ ├── anda_icp/ # Anda agent tools offers integration with the Internet Computer (ICP).
│ └── .../ # More tools in future releases
└── characters/ # characters examples
├── anda_core/ # Core library containing base types and interfaces
├── anda_engine/ # Engine implementation for agent runtime and management
├── anda_engine_cli/ # The command line interface for Anda engine server
├── anda_engine_server/ # A http server to serve multiple Anda engines
├── anda_lancedb/ # LanceDB integration for vector storage and retrieval
├── anda_web3_client/ # The Rust SDK for Web3 integration in non-TEE environments
├── agents/ # Various AI agent implementations
│ ├── anda_bot/ # Example agent: Anda ICP
│ └── .../ # More agents in future releases
├── tools/ # Tool libraries
│ ├── anda_icp/ # Anda agent tools offers integration with the Internet Computer (ICP).
│ └── .../ # More tools in future releases
├── characters/ # characters examples
└── examples/ # AI agents examples
```

### How to Use and Contribute
Expand Down
24 changes: 14 additions & 10 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,20 @@ ICPanda DAO 是在互联网计算机协议(ICP)区块链上建立的 SNS DAO

```sh
anda/
├── anda_core/ # 核心库,包含基础类型与接口
├── anda_engine/ # 智能体运行时与管理引擎实现
├── anda_lancedb/ # LanceDB集成模块,支持向量存储与检索
├── agents/ # 各类AI智能体实现
│ ├── anda_bot/ # 示例智能体:Anda ICP
│ └── .../ # 更多智能体将在后续版本推出
├── tools/ # 工具库集合
│ ├── anda_icp/ # 提供与互联网计算机(ICP)的集成工具
│ └── .../ # 更多工具将在后续版本推出
└── characters/ # 角色设定示例库
├── anda_core/ # 核心库,包含基础类型与接口
├── anda_engine/ # 智能体运行时与管理引擎实现
├── anda_engine_cli/ # 与 Anda 引擎服务交互的命令行工具
├── anda_engine_server/ # 支持多个 Anda 引擎的 HTTP 服务
├── anda_lancedb/ # LanceDB集成模块,支持向量存储与检索
├── anda_web3_client/ # 用于在非 TEE 环境的 Rust 语言 Web3 SDK。
├── agents/ # 各类AI智能体实现
│ ├── anda_bot/ # 示例智能体:Anda ICP
│ └── .../ # 更多智能体将在后续版本推出
├── tools/ # 工具库集合
│ ├── anda_icp/ # 提供与互联网计算机(ICP)的集成工具
│ └── .../ # 更多工具将在后续版本推出
├── characters/ # 角色设定示例库
└── examples/ # AI agents 示例
```

### 如何使用和参与贡献
Expand Down
2 changes: 1 addition & 1 deletion anda_engine_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async fn main() -> Result<(), BoxError> {
let res = web3
.https_signed_rpc_raw(endpoint.to_owned(), "tool_call".to_string(), args)
.await?;
let res: AgentOutput = from_reader(&res[..])?;
let res: (String, bool) = from_reader(&res[..])?;
println!("{:?}", res);
}

Expand Down
4 changes: 2 additions & 2 deletions anda_web3_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "anda_web3_client"
description = "The rust SDK for Web3 integration"
repository = "https://github.com/ldclabs/anda/tree/main/agents/anda_web3_client"
description = "The Rust SDK for Web3 integration in non-TEE environments."
repository = "https://github.com/ldclabs/anda/tree/main/anda_web3_client"
publish = false # can't publish this crate because `ic-crypto-secp256k1` and `ic-crypto-ed25519` are not published
version = "0.1.0"
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion anda_web3_client/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `ic_tee_gateway_sdk`

`ic_tee_gateway_sdk` is a rust SDK for Web3 integration.
`ic_tee_gateway_sdk` is a Rust SDK for Web3 integration in non-TEE environments.

## License
Copyright © 2024-2025 [LDC Labs](https://github.com/ldclabs).
Expand Down
1 change: 1 addition & 0 deletions examples/icp_ledger_agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Build CLI tool and run agent:
```sh
cargo build -p anda_engine_cli
./target/debug/anda_engine_cli agent-run -p 'Please check my PANDA balance'
./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"}'
```

**Notice**: The current version of the deepseek-chat model's Function Calling capabilitity is unstable. https://api-docs.deepseek.com/guides/function_calling
Expand Down

0 comments on commit 829baae

Please sign in to comment.