Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

152 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšก AthenaOS โ€” BNB Smart Chain Edition

       /\_____/\
      /  โ–    โ–   \       โšก ATHENA ยท BNB SMART CHAIN โšก
     ( ==  ^  == )      Autonomous Multi-Agent Crypto Intelligence
      )    ~    (       & On-Chain Trading Desk
     (   _____   )      Chain ID 56 ยท Native BNB ยท PancakeSwap V3
    ( (  )   (  ) )
   (__(__)___(__)__)

AthenaOS is an autonomous multi-agent crypto intelligence and trading desk built for BNB Smart Chain (BSC, chain ID 56, native BNB). Athena is the desk chief โ€” five scouts report 24/7; she speaks last after 3-Layer Swarm Consensus clears the gate.

Operate through a Discord Command Center, an Interactive Terminal TUI, a Telegram Notification Bridge, and the optional Athena web desk (React frontend in this monorepo layout).

Screening and signal generation stay separate from execution: call cards land in Discord with audit data and one-click links; you stay in control via DRY_RUN (default) and manual confirmation.

Chain DEX Platform X (Twitter) Node License

"Five scouts watch the tape. Athena knocks once โ€” then she stays on the book." โšก

โš ๏ธ Disclaimer (NFA & DYOR): AthenaOS is experimental open-source research software. On-chain trading carries significant financial risk. Past performance does not guarantee future results. Not financial advice. Always do your own research.


๐ŸŒ Community & Ecosystem

Resource Link
๐Ÿฆ X (Twitter) @athenaostech
๐Ÿ“ฆ Agent (this repo) github.com/athenaos-tech/athenaos-agent
๐Ÿ–ฅ๏ธ Web desk (frontend) binance-app/ โ€” marketing, docs, operator profile, leaderboard
๐Ÿ”‘ Platform API Desk keys & public book โ€” configure ATHENA_PLATFORM_URL (default api.athenaos.tech; athenaos.tech rewrites /platform there)

Every operator runs their own agent. The public face is shared; the copy on your book is yours.


โšก Athena System Architecture

Component Role What it does
๐ŸŽฏ Athena Core โ€” Desk chief Screening & reasoning 3-Layer Swarm Consensus (Quant & Liquidity, Catalyst & Sentiment, Security Audit) requiring โ‰ฅ 80% confidence before a knock is posted. Five BSC-focused scouts run 24/7: BSC Meme Scout (GMGN smart money + DexScreener 1h tape + launchpad origin, 24h volume โ‰ฅ $25k, liquidity โ‰ฅ $5k), BSC LP Scout (PancakeSwap V3 fee velocity via Krystal Cloud on chain 56, TVL โ‰ฅ $10k, 24h volume โ‰ฅ $100k, 24h Fee/TVL โ‰ฅ 2%), BSC NFT Scout (OpenSea floor & rarity on BSC, floor surge โ‰ฅ +10%/1h, volume spike โ‰ฅ 1.5x, sales โ‰ฅ 3/h), BSC Narrative Scout (1-hour BNB rank + optional X API v2 heat), and ETH Whale Scout (Hyperliquid smart money โ€” perps โ‰ฅ $500k, spot โ‰ฅ $50k). Position Manager: TP +100% / +200%, SL โˆ’20%, trailing stops, LP range warnings, NFT floor alerts.
๐ŸŽฎ Command Center โ€” Multi-platform Discord ยท Terminal ยท Telegram Discord: #athena-control-room NL chat, audit channel, portfolio & risk, 22 slash commands, dashboard, five call channels (#call-meme-robinhood, #call-lp-robinhood, #call-nft-robinhood, #call-alpha-robinhood, #call-whale-eth).
Terminal TUI (athena terminal): live audits, screening triggers, treasury without Discord.
Telegram: signal cards + inline actions.
Web desk: optional React UI pointing at this agentโ€™s REST API.
๐Ÿ› ๏ธ Athena Ops โ€” Deploy & maintain Daemon & health PM2 24/7 (athena deploy), self-update (athena update), athena doctor, interactive athena onboard wizard. Platform reporter sends knocks/trades to your desk key when configured.

Note: Internal domain IDs (e.g. meme-robinhood) are legacy identifiers in code and API โ€” user-facing names are BSC Meme / LP / NFT / Narrative scouts.


๐Ÿ—บ๏ธ System Flowchart

                          USER INTERFACE PLATFORMS
             (Discord Command Center ยท Terminal TUI ยท Telegram ยท Web desk)
                                     โ”‚
                                     โ–ผ
                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                  โ”‚         ATHENA CORE HUB           โ”‚
                  โ”‚   control room ยท chat ยท risk gate โ”‚
                  โ”‚   9-lives engine ยท wallet ยท journalโ”‚
                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                     โ”‚ candidate signals
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ–ผ                โ–ผ               โ–ผ               โ–ผ                โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ BSC MEME     โ”‚ โ”‚ BSC LP       โ”‚ โ”‚ BSC NFT      โ”‚ โ”‚ BSC NARRATIVEโ”‚ โ”‚ ETH WHALE    โ”‚
โ”‚ GMGN + tape  โ”‚ โ”‚ Pancake V3   โ”‚ โ”‚ OpenSea BSC  โ”‚ โ”‚ rank + X     โ”‚ โ”‚ Hyperliquid  โ”‚
โ”‚ pad origin   โ”‚ โ”‚ Krystal 56   โ”‚ โ”‚ floor shocks โ”‚ โ”‚ 1h alpha     โ”‚ โ”‚ size & flow  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                        โ–ผ
                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                  โ”‚   SWARM CONSENSUS ENGINE (โ‰ฅ 80%)   โ”‚
                  โ”‚  Quant ยท Catalyst ยท Security Audit โ”‚
                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                   โ”‚ only high-confidence knocks
                                   โ–ผ
         MULTI-PLATFORM DISPATCH (Discord ยท TUI ยท Telegram ยท REST)
  โ€ข Discord call channels (meme ยท lp ยท nft ยท narrative ยท whale-eth)
  โ€ข Terminal: `athena terminal`
  โ€ข Telegram: alert cards
  โ€ข REST: `/api/calls` for web desk
                                   โ”‚
                                   โ–ผ
                       WALLET TRACKER (holdings lifecycle)
                                   โ”‚
                                   โ–ผ
                POSITION MANAGER (TP 2x/3x ยท SL โˆ’20% ยท trailing)

๐Ÿ“ Repository layout (BNB Smart Chain agent)

athenaos-agent/                    # clone name; package: binance-agent
โ”œโ”€โ”€ bin/athena.js                   # CLI entry (`athena` โ€” run, onboard, terminal, deploy, โ€ฆ)
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ index.ts                   # Boot: Discord, scouts, API, Telegram
โ”‚   โ”œโ”€โ”€ config/                    # Env validation, execution mode (DRY_RUN default)
โ”‚   โ”œโ”€โ”€ orchestrator/              # Hub, swarm consensus, risk, strategies, tool registry
โ”‚   โ”‚   โ””โ”€โ”€ agent-registry.ts      # Five domains โ†’ BSC scout display names
โ”‚   โ”œโ”€โ”€ agents/
โ”‚   โ”‚   โ”œโ”€โ”€ meme-robinhood/        # BSC Meme Scout (GMGN + GoPlus + Dex tape)
โ”‚   โ”‚   โ”œโ”€โ”€ lp-robinhood/          # BSC LP Scout (Krystal โ†’ PancakeSwap V3 on 56)
โ”‚   โ”‚   โ”œโ”€โ”€ nft/                   # BSC NFT Scout (OpenSea)
โ”‚   โ”‚   โ”œโ”€โ”€ alpha-robinhood/       # BSC Narrative Scout
โ”‚   โ”‚   โ””โ”€โ”€ whale-eth/             # Hyperliquid ETH whale scout
โ”‚   โ”œโ”€โ”€ adapters/
โ”‚   โ”‚   โ”œโ”€โ”€ evm-adapter.ts         # Swaps/sends on BSC (#56), PancakeSwap V3 reads
โ”‚   โ”‚   โ”œโ”€โ”€ gmgn-adapter.ts        # Smart money, rank, security
โ”‚   โ”‚   โ”œโ”€โ”€ krystal-cloud-adapter.ts # LP pools chainId=56, protocol=pancakev3
โ”‚   โ”‚   โ”œโ”€โ”€ opensea-adapter.ts     # BSC NFT slugs
โ”‚   โ”‚   โ”œโ”€โ”€ rh-launchpad-adapter.ts # Launchpad / factory origin (eth_call)
โ”‚   โ”‚   โ””โ”€โ”€ dex-flow-adapter.ts    # DexScreener buy/sell pressure
โ”‚   โ”œโ”€โ”€ discord/                   # Slash commands, embeds, channel bootstrap
โ”‚   โ”œโ”€โ”€ telegram/                  # Notification bridge
โ”‚   โ”œโ”€โ”€ api/server.ts              # REST + MCP for web desk
โ”‚   โ”œโ”€โ”€ cli/                       # Terminal TUI + doctor
โ”‚   โ””โ”€โ”€ services/                  # Wallet (BSC RPC), platform reporter, audits, AI
โ”œโ”€โ”€ strategies/                    # Custom screening `.mjs` modules
โ”œโ”€โ”€ database/                      # Local state (`athena_state.json`, gitignored secrets)
โ”œโ”€โ”€ scripts/                       # wizard, update-core, uninstall
โ”œโ”€โ”€ tests/                         # Vitest suite
โ”œโ”€โ”€ setup.sh / setup.bat           # One-click bootstrap
โ””โ”€โ”€ .env.example                   # Copy โ†’ `.env`

Companion frontend (binance-app/):

binance-app/
โ”œโ”€โ”€ src/           # React pages: Home, Docs, Desk, Launchpad, Leaderboard
โ”œโ”€โ”€ public/        # Static assets, agent manifest, strategies.json
โ””โ”€โ”€ vite.config.ts # Dev proxy to platform API

โœจ Feature grid

# Feature Description
1 ๐Ÿ›ก๏ธ 3-Layer Swarm Consensus Quant & Liquidity, Catalyst & Sentiment, Security Audit โ€” โ‰ฅ 80% before any call card.
2 ๐ŸŒธ BSC Meme Scout GMGN + DexScreener 1h tape + launchpad origin; vol โ‰ฅ $25k, liq โ‰ฅ $5k, fees โ‰ฅ $250, GMGN & GoPlus fail-closed.
3 ๐ŸŒŠ BSC LP Scout PancakeSwap V3 via Krystal (chainId=56); TVL โ‰ฅ $10k, 24h vol โ‰ฅ $100k, Fee/TVL โ‰ฅ 2%.
4 ๐Ÿ”ฎ BSC NFT Scout OpenSea on BSC; floor surge, volume spike, sales velocity gates.
5 โ˜€๏ธ BSC Narrative Scout 1h BNB rank + optional X API v2 sentiment.
6 ๐Ÿ‹ ETH Whale Scout Hyperliquid perps/spot size (cross-venue context; desk execution stays on BSC).
7 ๐Ÿ’ฌ Natural-language control room Chat with Athena โ€” audits, swaps intent, screening control.
8 โš™๏ธ 22 slash commands Wallets, screening, charts, journal, /swap on PancakeSwap V3, /send BNB/BEP-20, and more.
9 ๐Ÿ“ˆ Position manager TP 2x/3x, SL โˆ’20%, trailing, LP/NFT guards.
10 ๐Ÿ”’ Security-first DRY_RUN=true default, 9-lives circuit breaker, sandboxed strategies, API key rotation.
11 ๐Ÿ“ก REST API Feed the web desk: status, calls, positions, executions, agent toggle.

๐Ÿง  Screening strategies (customizable)

Strictness is set at onboarding (STEP 5.5) or in the control room.

  • Loosened default (2ร—): More knocks; still gated by โ‰ฅ 80% swarm score.
  • Standard: Tighter numeric gates (higher vol/TVL/whale thresholds).
  • Custom prompt: Plain-English rules compiled into a validated strategies/*.mjs on first boot.
  • Advanced editor: Per-scout numeric gates in wizard or chat.

Loosened defaults:

Scout Hard gates (loosened)
๐ŸŒธ BSC Meme 24h vol โ‰ฅ $25k ยท liq โ‰ฅ $5k ยท fees โ‰ฅ $250 ยท security pass
๐ŸŒŠ BSC LP TVL โ‰ฅ $10k ยท 24h vol โ‰ฅ $100k ยท Fee/TVL โ‰ฅ 2% ยท mcap โ‰ฅ $100k ยท security pass
๐Ÿ”ฎ BSC NFT Floor +10%/1h ยท vol โ‰ฅ 1.5ร— ยท โ‰ฅ 3 sales/h ยท security pass
๐Ÿ‹ Whale ETH Perps โ‰ฅ $500k ยท spot โ‰ฅ $50k

Quality floor and security audits are never lowered โ€” missing data fail-closed.


๐Ÿš€ Quickstart

Node.js โ‰ฅ 22.12, TypeScript build. Cross-platform: Windows, Linux, macOS.

Windows

git clone https://github.com/athenaos-tech/athenaos-agent.git
cd athenaos-agent
.\setup.bat
# or: npm install && npm run build && npm run wizard
npm run dev
npm run terminal   # optional TUI

Linux / macOS / VPS

git clone https://github.com/athenaos-tech/athenaos-agent.git
cd athenaos-agent
bash setup.sh
# or:
npm install && npm run build
athena onboard
athena run
athena terminal

24/7 daemon

athena deploy            # PM2: athena-agent
athena update            # pull, install, build, restart + webhook notify

Discord: Invite the bot with applications.commands + bot scopes. On first launch Athena auto-creates the โšก ATHENA COMMAND CENTER category, scout channels, and registers slash commands.

Optional web desk

cd ../binance-app
cp .env.example .env
npm install && npm run dev
# http://127.0.0.1:5173 โ€” set VITE_ATHENA_API_URL to your agent REST URL if needed

โŒจ๏ธ CLI (athena)

Command Aliases Description
athena run dev, start Launch the desk engine
athena onboard wizard, setup Interactive .env wizard
athena terminal tui Terminal command center
athena deploy pm2 PM2 background daemon
athena test โ€” Vitest suite
athena build โ€” Compile to dist/
athena update โ€” Self-update + restart
athena doctor check Diagnostics
athena uninstall purge Stop PM2, wipe local state

Fallback: npm run dev, node bin/athena.js <command>.


๐Ÿค– Discord slash commands (22)

Restricted to channels under โšก ATHENA COMMAND CENTER.

Command Description
/wallet Burner wallets: setup, list, balance, withdraw
/analyze On-demand 3-layer token audit (BSC contract)
/screening Start/stop/status/trigger scouts
/swap Swap via PancakeSwap V3 on BNB Chain
/send Send BNB or BEP-20
/pump BSC momentum, holders, liquidity
/journal Trade journal + CSV export
/menu, /dashboard Control center UI
โ€ฆ See in-bot /help and src/discord/commands/index.ts

๐Ÿ“ข Auto-created Discord channels (7)

Channel Purpose
#athena-control-room Command hub โ€” chat, wallets, risk
#athena-audit Paste any BSC contract for instant audit
#call-meme-robinhood BSC Meme Scout knocks
#call-lp-robinhood BSC LP Scout knocks
#call-nft-robinhood BSC NFT Scout knocks
#call-alpha-robinhood BSC Narrative Scout knocks
#call-whale-eth Hyperliquid whale flow

Call cards link to PancakeSwap, DexScreener (bsc), Krystal, OpenSea, BscScan โ€” no auto-buy buttons by default.


๐Ÿ” Environment variables

Copy .env.example โ†’ .env. Backup keys: *_BACKUP_KEYS (comma-separated) rotate on 401/403/429.

Variable Description
DRY_RUN true (default) = no live txs
AUTO_EXECUTE_ENABLED Default false โ€” manual execution via links//swap
DISCORD_BOT_TOKEN / DISCORD_CLIENT_ID Discord bot
DISCORD_CHANNEL_CONTROL_ROOM Control room channel ID
TELEGRAM_BOT_TOKEN / TELEGRAM_CHAT_ID Telegram bridge
BSC_RPC_URL Primary BSC RPC (fallback: https://bsc-dataseed.binance.org)
EVM_RPC_URL / RPC_FAILOVER_URLS Generic EVM failover pool ({"evm":["โ€ฆ"]})
AI_PROVIDER / AI_API_KEYS / AI_MODEL_NAME LLM with failover
GMGN_API_KEY Smart money, rank, security
KRYSTAL_CLOUD_API_KEY PancakeSwap V3 LP on chain 56
OPENSEA_API_KEY BSC NFT
X_API_BEARER_TOKEN Narrative scout (optional social)
GOPLUS_API_KEY Token security on BSC
EVM_PRIVATE_KEY Desk wallet โ€” keep DRY_RUN=true while testing
API_PORT / ATHENA_API_KEY REST API (default port 3000)
ATHENA_DESK_KEY / ATHENA_PLATFORM_URL Report knocks & trades to Athena platform leaderboard

๐Ÿ“ก REST API (web desk integration)

Optional ATHENA_API_KEY header. CORS enabled for local frontends.

Endpoint Method Purpose
/api/status, /health GET Mode, scouts, risk, connectivity
/api/calls GET Historical knocks (?domain=meme-robinhood&limit=50)
/api/positions GET Open positions + PnL
/api/executions GET Journal / stats
/api/alerts GET Price alerts
/api/agents/toggle POST Pause/resume a scout
/api/command POST Tool registry actions

โ“ FAQ

What chain does Athena trade?
BNB Smart Chain only for execution โ€” chain ID 56, native BNB, explorer bscscan.com. Swaps read PancakeSwap V3 liquidity. Launches and pad origin tie into BSC factory detection; platform token launches are documented on the web desk (flap.sh).

What is AthenaOS?
Open-source, self-hosted multi-agent desk: five scouts + swarm consensus + Discord/TUI/Telegram + REST. Athena is the persona and desk chief in chat.

Is DRY_RUN safe?
Yes. Default DRY_RUN=true simulates swaps/sends; only explicit opt-in enables live signing.

Where are keys stored?
Local .env and gitignored database/athena_state.json. Nothing is uploaded unless you configure platform reporting.


โš ๏ธ Risk disclaimer

NOT FINANCIAL ADVICE. Experimental software. Memecoins, LP, and NFTs are volatile. DRY_RUN is default โ€” you can still lose funds if you enable live mode. Trade only what you can afford to lose. DYOR.


๐Ÿ“œ License

MIT โ€” see LICENSE.


Built for BNB Smart Chain โ€” precision screening, nine lives on risk, one knock at a time. โšก AthenaOS ยท @athenaostech

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

152 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages