Documentation Index
Fetch the complete documentation index at: https://docs.agentaos.ai/llms.txt
Use this file to discover all available pages before exploring further.
Foundry Integration
Theagenta proxy command starts a JSON-RPC signing proxy on localhost. It intercepts eth_sendTransaction and eth_signTransaction, signs via Agenta’s threshold protocol, and forwards everything else to the upstream RPC.
Your Forge scripts deploy with threshold signing. No private keys in your environment.
Start the Proxy
- Loads your signer share from local config
- Connects to the AgentaOS server for co-signing
- Listens on
http://localhost:8545
The proxy intercepts
eth_sendTransaction, eth_signTransaction, eth_sign, personal_sign, and eth_accounts. All other JSON-RPC methods (like eth_getBalance, eth_call) pass through to the upstream RPC.Forge Scripts
Point Forge at the proxy. No--private-key flag needed.
eth_accounts too. Forge automatically picks up your Agenta signer address.
Cast
Send transactions withcast through the proxy.
Hardhat
Set the Agenta proxy as a custom network in your Hardhat config.eth_accounts.
Proxy Options
| Flag | Description | Default |
|---|---|---|
-p, --port <port> | Port to listen on | 8545 |
-r, --rpc-url <url> | Override upstream RPC URL | Auto-detected from server |
What Gets Signed
| JSON-RPC Method | Action |
|---|---|
eth_sendTransaction | Threshold sign + broadcast |
eth_signTransaction | Threshold sign (no broadcast) |
eth_sign | Threshold message sign |
personal_sign | Threshold message sign |
eth_accounts | Returns Agenta signer address |
| Everything else | Forwarded to upstream RPC |