Skip to content

Commit dfc1425

Browse files
committed
feat: remove use-agently agents
1 parent f69dc8e commit dfc1425

File tree

6 files changed

+19
-183
lines changed

6 files changed

+19
-183
lines changed

.agents/skills/create-use-agently-cli/SKILL.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Every command belongs to one of four categories. Place new commands in the corre
2929
| Category | Purpose | Examples |
3030
| ---------------------- | ------------------------------------- | ----------------------------------------------- |
3131
| **Lifecycle & Health** | Setup, diagnostics, identity, balance | `doctor`, `whoami`, `balance`, `init` |
32-
| **Discovery** | Browse the Agently marketplace | `marketplace`, `marketplace:agents` |
32+
| **Discovery** | Browse the Agently marketplace | `search`, `view` |
3333
| **Operations** | Config, wallets, updates | `config`, `wallets`, `update` |
3434
| **Protocols** | Protocol invocations | `a2a`, `a2a:card`, `mcp`, `erc-8004`, `web:get` |
3535

@@ -44,15 +44,10 @@ use-agently whoami # Show current wallet type and address
4444
use-agently balance # Show on-chain wallet balance
4545

4646
# Discovery
47-
use-agently marketplace # List all agents/tools/skills on the marketplace
48-
use-agently marketplace "query" # Search the marketplace
49-
use-agently marketplace:agents "query"
50-
use-agently marketplace:tools "query"
51-
use-agently marketplace:skills "query"
52-
use-agently m "query" # shorthand for marketplace
53-
use-agently m:agents "query"
54-
use-agently m:tools "query"
55-
use-agently m:skills "query"
47+
use-agently search # Browse all agents on the marketplace (no query = list all)
48+
use-agently search -q "query" # Search agents by name or description
49+
use-agently search --protocol a2a # Filter by protocol
50+
use-agently view --uri <uri> # View agent details by CAIP-19 ID
5651

5752
# Operations
5853
use-agently init # Initialize a wallet and config

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Always use this agent when developing or testing changes to `use-agently` to mai
6262
- `src/cli.ts` — Commander.js program setup, registers all commands
6363
- `src/config.ts` — Config persistence at `~/.use-agently/config.json` (load, save, backup)
6464
- `src/client.ts` — Creates `defaultClient` via `createClient()` with CLI user-agent; all CLI commands use this client
65-
- `src/commands/` — One file per CLI command (init, whoami, balance, agents, a2a)
65+
- `src/commands/` — One file per CLI command (init, whoami, balance, search, a2a)
6666
- Build output: `build/use-agently` (standalone binary via `bun build --compile`)
6767

6868
### SDK Architecture (`@use-agently/sdk`)
@@ -178,7 +178,7 @@ use-agently balance # Show on-chain wallet balance
178178
#### Discovery
179179

180180
```bash
181-
use-agently agents # List all agents on the marketplace
181+
use-agently search # List all agents on the marketplace (no query = browse all)
182182
use-agently search [query] # Search the marketplace
183183
use-agently search [query] --protocol a2a,mcp,web # Filter by protocol(s)
184184
```

README.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@ use-agently whoami
2525
# Check your on-chain balance
2626
use-agently balance
2727

28-
# List available agents
29-
use-agently agents
28+
# Browse available agents
29+
use-agently search
30+
31+
# Search for agents by intent
32+
use-agently search -q "echo"
3033

31-
# Send a message to an agent (use the URI from `use-agently agents`)
34+
# Send a message to an agent (use the URI from `use-agently search`)
3235
use-agently a2a send --uri <agent-uri> -m "Hello, agent!"
3336
```
3437

@@ -86,23 +89,15 @@ use-agently balance
8689
use-agently balance --rpc https://mainnet.base.org
8790
```
8891

89-
### `agents`
90-
91-
List available agents on Agently.
92-
93-
```bash
94-
use-agently agents
95-
```
96-
9792
### `search`
9893

99-
Search the Agently marketplace for agents, optionally filtering by query and/or protocol.
94+
Search the Agently marketplace for agents, optionally filtering by query and/or protocol. Running without a query lists all available agents.
10095

10196
```bash
102-
use-agently search
103-
use-agently search "echo"
104-
use-agently search --protocol a2a
105-
use-agently search "assistant" --protocol "a2a,mcp"
97+
use-agently search # Browse all agents
98+
use-agently search -q "echo" # Search by intent
99+
use-agently search --protocol a2a # Filter by protocol
100+
use-agently search -q "assistant" --protocol "a2a,mcp" # Combine query and protocol filter
106101
```
107102

108103
### `a2a`
@@ -147,7 +142,7 @@ use-agently web get https://paid-api.example.com/resource
147142
## How It Works
148143

149144
1. **Wallet**`init` generates an EVM private key stored locally. This wallet signs x402 payment headers when agents charge for their services.
150-
2. **Discovery**`agents` and `search` fetch the agent directory from Agently, showing names, descriptions, supported protocols, and URIs.
145+
2. **Discovery**`search` fetches the agent directory from Agently, showing names, descriptions, supported protocols, and URIs.
151146
3. **Communication**`a2a send` takes an agent URI (e.g. `echo-agent`), constructs the URL as `https://use-agently.com/<agent-uri>/`, resolves the A2A card, opens a JSON-RPC or REST transport, and sends your message. If the agent returns a 402 Payment Required, the x402 fetch wrapper automatically signs and retries the request.
152147

153148
## Development

packages/use-agently/src/cli.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Command } from "commander";
22
import { initCommand } from "./commands/init";
33
import { whoamiCommand } from "./commands/whoami";
44
import { balanceCommand } from "./commands/balance";
5-
import { agentsCommand } from "./commands/agents";
65
import { searchCommand } from "./commands/search";
76
import { viewCommand } from "./commands/view";
87
import { a2aCommand } from "./commands/a2a";
@@ -39,7 +38,6 @@ cli.addCommand(whoamiCommand.helpGroup("Diagnostics"));
3938
cli.addCommand(balanceCommand.helpGroup("Diagnostics"));
4039

4140
// Discovery
42-
cli.addCommand(agentsCommand.helpGroup("Discovery"));
4341
cli.addCommand(searchCommand.helpGroup("Discovery"));
4442
cli.addCommand(viewCommand.helpGroup("Discovery"));
4543

packages/use-agently/src/commands/agents.test.ts

Lines changed: 0 additions & 92 deletions
This file was deleted.

packages/use-agently/src/commands/agents.ts

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)