# Agent 接入

## 6 步路径

1. **生成 DID**：`did:axblade:agent_xxx`（[DIDRegistry 章节](/registries-que-quan/did-registry.md)）
2. **注册 BehaviorSpec**：把 agent 行为规范上链（[BehaviorSpec Registry](/registries-que-quan/behavior-spec-registry.md)）
3. **接入 SDK**：`npm install @babydriver/sdk` 或 Rust `baby-modules`
4. **生成 BehaviorEvent**：每次决策产生一条 event
5. **委托 aggregator**：让 aggregator 帮你 batch 上链（或自己当 aggregator 抵押 0.5 ETH）
6. **生成 PoD Receipt**：决策签名 + 上 PoDRegistry

详见 [TypeScript SDK](/integration-jie-ru-fang-shi/sdk-typescript.md) + [Examples → Submit Batch](/integration-jie-ru-fang-shi/examples/submit-batch.md)。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yellowpaper.axblade.io/getting-started/for-agents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
