title: AGI Assistant
emoji: 🏃
colorFrom: pink
colorTo: blue
sdk: docker
pinned: false
license: apache-2.0
short_description: AGI Assistant
This Space hosts the OpenClaw trading bot (paper-only). The LLM runs in a separate Space that you already have; this repo only contains the bot-side architecture and configs.
NanoBot: https://github.com/HKUDS/nanobot NanoClaw: https://github.com/qwibitai/nanoclaw NullClaw: https://github.com/nullclaw/nullclaw PicoClaw: https://github.com/sipeed/picoclaw ZeroClaw: https://github.com/zeroclaw-labs/zeroclaw memU: https://github.com/NevaMind-AI/memU IronClaw: https://github.com/nearai/ironclaw NemoClaw (OpenShell): https://github.com/NVIDIA/OpenShell NVIDIA NeMo Agent Toolkit: https://github.com/NVIDIA/NeMo-Agent-Toolkit
Hugging Face Space Build Notes
- Keep
README.md,Dockerfile, andapp.pyat the repository root used by the Space. - For Docker Spaces, the filename must be exactly
Dockerfile(capitalD). - If you see "missing app file", verify you pushed this folder root (not its parent) to the Space repo.
Architecture
- OpenClaw bot Space (this repo) calls an external LLM Space for analysis and signal generation.
- Paper trading via Alpaca API.
- Trade logs stored to HF Hub storage (dataset repo).
- Streamlit control center includes a built-in backtesting lab (backtesting.py + backtrader).
LLM Space (external)
- Expected to expose a simple HTTP inference endpoint.
- The bot calls
${LLM_SPACE_URL}(seeconfig/openclaw.env.example) and expects a JSON response with an output string. - Update
LLM_SPACE_URLand response path inopenclaw.jsonto match your existing LLM Space. - For OpenAI-compatible llama.cpp endpoints, use
openclaw.llamacpp.jsonand set:LLM_SPACE_OPENAI_URL=https://researchengineering-agi.hf.space/v1/chat/completionsLLM_MODEL(for exampledeepseek-chat)LLM_SPACE_API_KEYif your endpoint requires auth
- For your AGI Multi-Model API spec, use
openclaw.researchengineering.json:LLM_SPACE_OPENAI_URL=https://researchengineering-agi.hf.space/v1/chat/completionsLLM_SPACE_WEBCHAT_URL=https://researchengineering-agi.hf.space/v1/web-chat/completionsresponse_path=choices.0.message.content
Key Files
openclaw.jsondefines providers, routing, tools, memory, and safety.openclaw.llamacpp.jsonis prewired for OpenAI-compatible endpoints (llama.cpp style).openclaw.researchengineering.jsonis prewired for your AGI Multi-Model API.app.pyprovides gateway controls and strategy backtesting UI.tools/backtesting_runner.pyimplements SMA crossover test runners forbacktesting.pyandbacktrader.config/openclaw.env.examplelists all required env vars.skills/contains architecture-only SKILL specs.tools/README.mddefines the tool surface to implement later.schedules/cron.ymldocuments the intended schedule.
If you want me to add minimal tool stubs or a working runner later, say the word and I will wire it up.