forked from tinyhumansai/openhuman
-
Notifications
You must be signed in to change notification settings - Fork 0
Add crypto wallet and trading workflows to the OpenHuman agent #104
Copy link
Copy link
Open
Labels
agentBuilt-in agents, prompts, orchestration, and agent runtime in src/openhuman/agent/.Built-in agents, prompts, orchestration, and agent runtime in src/openhuman/agent/.featureNet-new user-facing capability or product behavior.Net-new user-facing capability or product behavior.rust-coreCore Rust runtime in src/: CLI, core_server, shared infrastructure.Core Rust runtime in src/: CLI, core_server, shared infrastructure.securitySecurity, encryption, approvals, credentials, and trust boundaries.Security, encryption, approvals, credentials, and trust boundaries.
Metadata
Metadata
Assignees
Labels
agentBuilt-in agents, prompts, orchestration, and agent runtime in src/openhuman/agent/.Built-in agents, prompts, orchestration, and agent runtime in src/openhuman/agent/.featureNet-new user-facing capability or product behavior.Net-new user-facing capability or product behavior.rust-coreCore Rust runtime in src/: CLI, core_server, shared infrastructure.Core Rust runtime in src/: CLI, core_server, shared infrastructure.securitySecurity, encryption, approvals, credentials, and trust boundaries.Security, encryption, approvals, credentials, and trust boundaries.
Summary
Add a first-class crypto workflow to OpenHuman so the desktop app can onboard a recovery phrase, expose chain-specific wallets to the core agent runtime, and safely execute crypto and prediction-market actions through explicit tool boundaries.
Problem
OpenHuman already hints at this direction in several places, but the feature is not actually wired end-to-end today:
app/src/pages/Mnemonic.tsxandapp/src/components/settings/panels/RecoveryPhrasePanel.tsxalready manage a BIP39 recovery phrase for encryption setup.app/src/utils/cryptoKeys.tscan derive an AES key and a first EVM address from a mnemonic.src/openhuman/app_state/ops.rspersists a singleprimary_wallet_addresslocally.app/src/components/settings/panels/ConnectionsPanel.tsxandsrc/openhuman/about_app/catalog.rsalready advertise Web3 wallet / crypto exchange connections as coming soon.What is missing is the real product path: chain-aware wallet state in the Rust core, a permissioned tool surface for onchain actions, an agent specialized for these transactions, and exchange / market integrations that fit the existing controller + agent architecture.
Constraints:
AGENTS.mdandgitbooks/developing/architecture.md.Solution (optional)
Break the work into four implementation tasks:
The preferred architecture is:
src/openhuman/agent/agents/for domain-specific execution.src/openhuman/about_app/whenever user-facing capability scope changes.Acceptance criteria
src/openhuman/about_app/and relevant architecture / feature docs reflect the new user-visible capabilities and privacy boundaries..github/workflows/coverage.yml).Related
app/src/pages/Mnemonic.tsxapp/src/components/settings/panels/RecoveryPhrasePanel.tsxapp/src/components/settings/panels/ConnectionsPanel.tsxapp/src/utils/cryptoKeys.tssrc/openhuman/app_state/ops.rssrc/openhuman/app_state/schemas.rssrc/openhuman/about_app/catalog.rssrc/openhuman/agent/agents/loader.rsgitbooks/developing/architecture.md