agentfy
  • Agentfy – Multi-Agent System for Social Media
    • Overview
    • Agentfy Capabilities Table
    • Quick Demos
  • Guides
    • Getting Started
    • Running the Program
  • About AGENTFY
    • Why Agentfy?
    • Agentfy as an Open Agent Protocol (Inspired by A2A + MCP)
    • Vision
    • Current Architecture
    • Sponsorship & Support
  • Contact US
    • Website
    • X
    • Github
Powered by GitBook
On this page
  1. Guides

Running the Program

You can interact with the program in two different ways:

1. Command Line Interface (CLI)

python run_agent_cli.py
  • Runs the program in command-line interface mode

  • Useful for quick testing and debugging

2. Streamlit Web Interface

streamlit run run_agent_app.py
  • Runs the program with a Streamlit web interface

  • Access the interface at http://localhost:8501

  • User-friendly graphical interface

➕ If You Need to Add New Sub Agents....

  1. Create a new directory under agents/ for the platform

  2. Implement agent functions in appropriate files (crawler, analysis, interactive), you may reference existing agents for structure and functionality

  3. Update agent_registry.json file to include the new agent

    • Example:

      {
        "AGENT_REGISTRY": {
          "platform_name": {
            "crawlers": [
              {
                "agent_id": "agent_name",
                "function_id": "function_name",
                "description": "Function description",
                "parameters": [
                  {
                    "name": "para1_name",
                    "type": "para1_type",
                    "description": "para1 description",
                    "required": true
                  },
                  {
                    "name": "para2_type",
                    "type": "para2_type",
                    "description": "para2 description",
                    "required": false
                  }
                ],
                "returns": {
                  "type": "return_type",
                  "description": "Return value description"
                }
              }
            ]
          }
        }
      }
  4. The system will automatically incorporate these into workflows when appropriate

⚠️ Note: Ensure that the new agent adheres to the existing structure and naming conventions for seamless integration. The system is designed to be modular, so you can easily ADD / DELETE new agents without modifying the core logic. If you have any questions or need assistance, feel free to reach out to the development team.

PreviousGetting StartedNextWhy Agentfy?

Last updated 4 days ago

Page cover image