Files
nofx/nofxi/internal/thinking/thinking.go
shinchan-zhai cf7bf16c28 feat: init nofxi - AI Trading Agent module
NOFXi — Your AI Trading Agent, built on NOFX.

Architecture:
- Agent Core: intent routing, conversation memory, trade confirmation
- Memory: SQLite (trades, conversations, preferences, strategies)
- Thinking: LLM client (OpenAI/claw402/DeepSeek compatible)
- Execution: Bridge to NOFX trader engine (9 exchanges)
- Perception: Market monitor, price alerts, anomaly detection
- Interaction: Telegram bot + REST API + OpenAI-compatible endpoint

Features:
- Natural language trading (中英文)
- /buy /sell /analyze /watch /alert /positions /balance
- Daily P/L reports, portfolio risk checks
- Trade confirmation flow (safety first)
- Price polling and alert notifications
2026-03-22 17:48:14 +08:00

10 lines
354 B
Go

// Package thinking implements the Thinking Layer.
//
// Provides AI-powered decision making via OpenAI-compatible APIs.
// Supports multiple providers: OpenAI, claw402 (x402), DeepSeek, Qwen, etc.
//
// Key interfaces:
// - Engine: core AI decision interface (Chat + Analyze)
// - LLMEngine: concrete implementation using HTTP/REST
package thinking