Skip to content

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:

  1. IP address leakage
  2. Container escape
  3. 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:

Community Deployment Solutions

  • Nekro-Agent-Toolkit Cross-platform deployment CLI tool

    • Cross-platform deployment solution and convenient installation, backup, recovery solution for NekroAgent.
  • 1Panel Application Deployment

    • 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.
  • iStoreOS System Deployment

    • 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:

  1. Protocol Configuration: Connect to your selected chat platform
  2. Model Configuration: Set up AI models and API keys
  3. System Configuration: Set basic system parameters and user permissions

⚠ Important Security Information ⚠

For security reasons, please be sure to read the following information:

  1. Be sure to change the default protocol password: Public WebUI must use strong passwords (recommended 12+ characters, including numbers, letters, and symbols)
  2. 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

  1. Connect Protocol: Complete protocol configuration and confirm connection status
  2. Set Persona: Configure the basic persona and behavior patterns of the AI
  3. Test Conversation: Test conversation with the AI through your selected platform
  4. Extend Features: Enable desired extension features as needed

Next Steps

After completing basic configuration, you can explore more advanced features:

Quick Reference

Common Management Commands

bash
# 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_agent

Common 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!