Mining Chat and Automation
@mining is the chat handle for Satcoin mining operations. It uses a dedicated
mining tool, not the generic wallet send tool.
That boundary matters:
- the Mining wallet can run Satcoin mining operations
- the Mining wallet can claim and optionally sweep SAT after mining
- the Mining wallet is not a generic chat-send, Marketplace order, route-action, recurring wallet-action, or bond wallet
- Agent wallets still handle ordinary sends, Marketplace order actions, optional route actions, and scheduled wallet actions
- Vault wallets still handle protected storage and Fased Network bond authority
@mining state and used the
mining tool. The mining runtime still uses the configured Mining wallet for real
cycle submit, claim, sweep, and capital actions under the normal Mining wallet
policy.
What chat can do
Chat and paired channels can call the same mining actions as the operator runtime. Use the exact mining wallet handle when starting with a wallet:sat.startMining returns a status with mining running. Likewise, stop reports a
hard stop only when the returned status is no longer running; if locked capital
or pending cycles remain, it reports drain/recovery mode.
Do not use the low-level sat_status diagnostic tool for chat control. It is
read-only diagnostics and cannot start, stop, reassign the mining wallet, or change
strategy.
CLI parity
The terminal surface uses the same Gateway methods as chat and the Mining page. The documented CLI command is the installedfased binary. If fased is
missing, rerun ./install.sh --no-onboard from the repo checkout before
testing CLI parity.
--json to inspect the raw Gateway payload. CLI
start/stop also wait for the final Gateway result and validate status before
printing success.
Action map
The mining tool supports these lanes.| Lane | Actions |
|---|---|
| Profile | profile, profile_update, strategy_set, strategy_analyze |
| Wallet | wallets, wallet_attachment status |
| Health and state | readiness, status, history, recovery |
| Runtime | start, stop |
| Capital and commit | capital_init, reserve_top_up, deposit_capital, withdraw_capital, set_commit |
| Cycle work | submit_cycle, participate, crank, settle_cycle_page, score_cycle_page, distribute_cycle_page, finalize_cycle, finalize_epoch |
| Claim and recovery | claim, claim_batch, recovery_claim, resolve_dispute, republish_roots, clear_history |
sol or amountSol for human SOL values, or lamports /
amountLamports for exact lamports.
Examples:
Strategy control
@mining is an owner-only mining tool exposed to the agent. It is not a normal
Marketplace order tool and it is not the generic wallet send tool. The agent
can use this tool to inspect mining state, analyze history, set strategy fields,
and start or stop mining under the Mining wallet policy.
Fased can let the agent choose strategy in three levels:
Deterministicuses the selected preset without model planning.strategy_analyzereads status and history and returns a recommendation.Auto/strategyMode: skilllets the agent-planner path choose or adjust strategy, with fallback to deterministic behavior when planning fails.
Deterministic and Auto. Skill is the model/agent source inside Auto.
The protocol still scores the submitted allocation on-chain. Agent strategy only
chooses the preset, execution mode, or advanced allocation input; it does not
bypass signer policy, wallet reserve checks, cycle settlement, or claim rules.
Mining strategy can be changed from chat:
| Field | Values or meaning |
|---|---|
strategyPreset | spread, balanced, conviction, swarm, top_k, ranked, adaptive, crowd_aware, safe_fallback |
strategyExecution | deterministic, auto |
strategyMode | base, skill |
riskMode | conservative, balanced, aggressive, swarm |
claimMode | auto, prompt, manual |
autoClaim | enable or disable automatic miner claim |
autoFinalizeEpoch | enable or disable automatic epoch finalization |
satSweepEnabled | enable or disable post-claim SAT sweep |
strategy_analyze reads mining status and history and returns a deterministic
recommendation. For model-guided strategy review, schedule an isolated agent
turn that asks the model to inspect status/history, then call strategy_set
with the chosen fields.
Useful strategy-analysis inputs are:
- current cycle participation, page count, and crowding
- free, locked, funded, safe commit, and target max
- recent SAT earned
- deterministic rebate and performance rebate
- net SOL cost after fees
- missed cycles, failed actions, and claim backlog
- previous strategy intent, execution mode, and fallback reason
allowedSkills=["mining"]memoryScope=none- mining source only
- no wallet source
- no web-search source
- no capital or commit mutation
claimMode, autoClaim, or sweep fields in a strategy-only task
unless the task is explicitly a recovery or claim task. Strategy review should
leave miner claim policy unchanged.
Recommended Create Task fields for this mining strategy shape:
| Field | Value |
|---|---|
| Name | Mining strategy review |
| Prompt | Use the strategy-only prompt above. |
| Objective | Improve mining strategy selection without changing capital risk. |
| Success | Report old strategy, new strategy, reason, and confirm active commit stayed unchanged. |
| Session | New task session |
| Delivery target | No delivery during testing, or a channel if the operator wants reports. |
| Execution | Auto or Agent turn; use Skill-only only for exact deterministic mining tool calls. |
| Memory | None for strict isolated tests; Session summary or Agent only when you intentionally want prior context. |
| Skill access | Narrow selected skills with mining only. |
| Ask Agents | Off for normal strategy runs; use Consult/Parallel only when you explicitly want other local Agents to review evidence. |
Mining strategy review Task template pre-fills those fields. Strategy review is
a scheduled Task because it has a recurring schedule, prompt, execution policy,
and safety limits. Workflow templates such as mining readiness/start-gate review
are different: they create a review flow, not a recurring strategy task. The
runtime model is still a Task, not a Mining page control and not a generic wallet
task.
From the Mining page, use the Task button next to Strategy and Execution
to create the same strategy-only task without leaving the mining context. The
Mining history strategy analytics are the first place to check which strategy
was used most, whether task/skill strategy was active, whether auto fell back,
and how SAT/rebate/net SOL moved across settled cycles.
Useful mining-side Task templates:
| Template | Scope |
|---|---|
Mining strategy review | Strategy-only review; may change strategy fields only. |
Mining status report | Read-only status, cycle, wallet balance, capital, locked, claimable, and blockers. |
Strategy A/B review | Strategy-only comparison across balanced, top_k, ranked, crowd_aware, adaptive. |
Wallet reserve watch | Read-only reserve alert for Agent, Vault, and Mining wallets. |
Staking claim watch | Read-only Fased Network staking report for bond, claimable SAT, distributor pool, vault. |
Scheduled mining
Scheduled and conditional mining uses Tasks with isolated agent turns. The task message tells the agent what to inspect and when to call the mining tool. Examples:- create a disabled scheduled task
- use
sessionTarget: "isolated" - make the message explicit about wallet handle, thresholds, and action limits
- enable only after the Mining wallet is configured, funded, and stable
- review Agent > Tasks activity and Mining history after the first few runs
Channel operation
The same@mining commands work from allowed channels. Channel configuration
still controls who can trigger the agent:
- direct-message allowlists
- group allowlists
- mention gating or trigger prefixes
- per-channel sessions
- task announcement targets
Mining wallet boundary
Use the Mining wallet for:- Satcoin capital initialization
- deposit and withdraw miner capital
- active commit updates
- start and stop runtime participation
- cycle submit/settle/score/distribute/finalize
- miner claim and recovery
- optional SAT sweep after claim
- ordinary chat sends
- Marketplace checkout or seller payment flows
- optional route actions or recurring wallet actions
- Fased Network bond authority
- long-term Vault storage