Prerequisites
Before you begin, ensure you have:- Docker installed (version 20.10 or higher)
- A Gemini API key from Google AI Studio
- Basic familiarity with command-line tools
Weaver is optimized for the
gemini-3-flash-preview model, which offers the best balance of speed and capability for agent tasks.Spawn Your First Agent
The fastest way to get started is by running Weaver in Docker:Run the agent
Spawn a Weaver agent with a simple task:You should see the agent boot in <1 second and respond to your message.
What Just Happened?
When you ran the agent:- Fast Boot: Weaver initialized in <1s with <10MB RAM footprint
- Workspace Created: A persistent workspace was mounted at
./workspace - Tools Loaded: The agent loaded 15+ built-in tools (file system, shell, web, etc.)
- LLM Connected: Connected to Gemini Flash for ultra-fast inference
Run the Gateway
For production use or multi-channel support (Telegram, Discord, Slack), run the gateway:Start the gateway
Launch the gateway service:The gateway will:
- Start the agent loop
- Initialize all configured channels
- Expose REST API on port 18790
- Enable cron jobs and heartbeat monitoring
Try Some Commands
Now that your agent is running, try these examples:File Operations
File Operations
Web Search
Web Search
Shell Execution
Shell Execution
go version and report the result.Next Steps
Installation
Install Weaver locally or build from source
Configuration
Customize models, tools, and providers
Multi-Channel Setup
Connect Telegram, Discord, or Slack bots
Skills System
Extend agent capabilities with skills
Troubleshooting
Agent fails to start
Agent fails to start
- Verify your API key is correct:
echo $GEMINI_API_KEY - Check Docker is running:
docker ps - Ensure the workspace directory has write permissions
Slow response times
Slow response times
- Weaver is optimized for Gemini Flash. Other providers may be slower.
- Check your network connection to the LLM provider
- Monitor the logs:
docker compose logs -f weaver-gateway
Tools not working
Tools not working
- File tools require workspace mount:
-v $(pwd)/workspace:/root/.weaver/workspace - Web search requires
BRAVE_SEARCH_API_KEYenvironment variable - Shell commands run in restricted mode by default (see Configuration)
For more help, visit the FAQ or join the GitHub Discussions.