Resources
Examples
Runnable examples and templates in the Agent Network repository.
Use examples when you want to copy a working shape rather than read a full concept page.
P2P service examples
| Example | Location |
|---|---|
| Echo service | p2p/examples/01-echo-svc/ |
| LLM as a service | p2p/examples/02-llm-as-a-service/ |
| Multi-agent pipeline | p2p/examples/03-multi-agent-pipeline/ |
| Starter template | p2p/starter-template/ |
SDK examples
| Example | Location |
|---|---|
| Python service registration | sdk/python/anet/examples/ex01_register_local_service.py |
| Python discover and call | sdk/python/anet/examples/ex02_discover_and_call.py |
| Python streaming consume | sdk/python/anet/examples/ex03_stream_consume.py |
CLI examples
Start with the tutorial pages for tested command flows: