Skip to content

Commit fa6b5a6

Browse files
authored
docs: add Agent Mesh section to Python SDK README (#48)
* docs: add Agent Mesh section to README * docs: add mesh.axme.ai dashboard URL
1 parent 9244040 commit fa6b5a6

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,31 @@ for event in client.observe(intent["intent_id"]):
8181

8282
---
8383

84+
## Agent Mesh - Monitor and Govern
85+
86+
```python
87+
# Start heartbeat - agent appears in dashboard with live health
88+
client.mesh.start_heartbeat() # background thread, every 30s
89+
90+
# Report metrics after each task
91+
client.mesh.report_metric(success=True, latency_ms=230, cost_usd=0.02)
92+
93+
# List all agents with health status
94+
agents = client.mesh.list_agents()
95+
96+
# Kill a misbehaving agent - blocks all intents instantly
97+
client.mesh.kill(address_id="addr_...")
98+
99+
# Resume it
100+
client.mesh.resume(address_id="addr_...")
101+
```
102+
103+
Set action policies (allowlist/denylist intent types) and cost policies (intents/day, $/day limits) per agent via dashboard or API. [Agent Mesh overview](https://github.com/AxmeAI/axme#agent-mesh---see-and-control-your-agents).
104+
105+
Open the live dashboard at [mesh.axme.ai](https://mesh.axme.ai) or run `axme mesh dashboard` from the CLI.
106+
107+
---
108+
84109
## Examples
85110

86111
```bash

0 commit comments

Comments
 (0)