Quick Start
Welcome to Nekro Agent (hereinafter referred to as NA)! This document will help you quickly get started with this powerful AI agent system.
⚠ Security Warning ⚠
This project allows AI to execute arbitrary code in an isolated Docker container environment during runtime. Although the application has adopted multiple security measures including but not limited to container isolation and permission restrictions, certain security risks still exist, such as:
- IP address leakage
- Container escape
- Other unknown risks
! Please be aware of the risks and continue only after accepting to bear them yourself. The author is not responsible for any losses caused by using this project!
Official Deployment Options
Choose the appropriate deployment method based on your operating system:
- Linux Deployment Tutorial - Suitable for various Linux distributions
- Windows Deployment Tutorial - Suitable for Windows 10/11 systems
- MacOS Deployment Tutorial - Suitable for MacOS systems
Community Deployment Solutions
Nekro-Agent-Toolkit Cross-platform deployment CLI tool
- Cross-platform deployment solution and convenient installation, backup, recovery solution for NekroAgent.
- Out-of-the-box one-click deployment solution based on 1Panel panel, supporting pure interface deployment operations and OpenResty reverse proxy configuration, automatically configuring NapCat protocol endpoint.
- Run Nekro Agent on a soft router system based on OpenWRT, providing one-click installation script.
Basic Configuration
After successful deployment, you need to complete the following basic configurations:
- Protocol Configuration: Connect to your selected chat platform
- Model Configuration: Set up AI models and API keys
- System Configuration: Set basic system parameters and user permissions
⚠ Important Security Information ⚠
For security reasons, please be sure to read the following information:
- Be sure to change the default protocol password: Public WebUI must use strong passwords (recommended 12+ characters, including numbers, letters, and symbols)
- For security reasons, please avoid using default ports
For detailed configuration instructions, please refer to the following documents:
First Use
Accessing the Management Interface
After completing deployment, you can access the management interface through the following addresses:
http://<Your Server IP>:8021(remote access)http://localhost:8021(local access)
Logging into the Management Interface
For your first login, please use the administrator account and password generated during the deployment process
Basic Usage Flow
- Connect Protocol: Complete protocol configuration and confirm connection status
- Set Persona: Configure the basic persona and behavior patterns of the AI
- Test Conversation: Test conversation with the AI through your selected platform
- Extend Features: Enable desired extension features as needed
Next Steps
After completing basic configuration, you can explore more advanced features:
- Model Group Configuration - Configure multiple model combinations
Quick Reference
Common Management Commands
# View NA container logs
sudo docker logs -f nekro_agent
# View NapCat container logs
sudo docker logs -f nekro_napcat
# Restart services
sudo docker restart nekro_agentCommon Chat Commands
/na-info - Display current application information
/na-help - Display help information
/reset - Reset current session💡 Feature Exploration
Curious about what Nekro Agent can do? Check out Application Scenarios Showcase to learn about rich and diverse practical use cases and creative ways to play!
