Skip to main content

ponytAIl

image

Then God blessed them and said, 窶廝e fruitful and multiply." - Genesis 1:28

ponytAIl: Polymorphic Orchestration of Networked Youthful, Adaptable Intelligence with Language. It is an node based multi-agent system targeting both LLM and BCI (in the future)

Installation

  1. Install ponytAIl using pip:
pip install ponytail-agents
  1. When you install ponytAIl, flute will also be installed simultaneously. You need to create a .env file in the root directory of flute and set the following API keys in it:
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
GOOGLE_API_KEY=

You must obtain these API keys from each service provider.

  1. The location of the flute package may vary depending on your environment setup. Here are some common ways to find it:
  • If you're using a virtual environment (venv, conda, etc.):

    • Activate your virtual environment
    • Run python -c "import flute; print(flute.__file__)". The output will show the location of the flute package.
  • If you're using a global Python environment:

    • Run python -c "import flute; print(flute.__file__)". The output will show the location of the flute package.
  • If you're using an IDE or an editor (PyCharm, VS Code, etc.):

    • Open your project in the IDE or an editor
    • Look for the flute package in the project's virtual environment or the system's Python packages.

Usage

The ponytail-agents command invokes the main function with the following command-line arguments:

  • -f, --file_path (Required): Path to the input folder containing the necessary files (concluder.md, starter.md, node_creator.md, and any additional nodes).
  • -g, --goal (Required): Goal or objective of the task.
  • -m, --model (Optional, default: "random-fast"): Name of the model to use. For available models, refer to the FLUTE repository.
  • -r, --result (Optional): Additional result or output.

Example Commands

ponytail -f "YOUR_DIRECTORY\starter.md" -g "Define the number 1 using the mathematical collection"
ponytail -f "YOUR_DIRECTORY\starter.md" -g "Generate 5 candidate names for the self-reproducive LLM based multi-agent system. Note that the name must be abbreviated to 'PONYTAIL.'"
ponytail -f "YOUR_DIRECTORY\starter.md" -g "You are a villager. Send CREATE_NODES request by outlining other villagers, until you are satisfied with the diversity of the community. Use their names as the file names. Setup their profiles (ex. jobs, families, age, gender, etc) in a realistic and detailed manner. After, and ONLY after you are satisfied with the listed villagers, SEND_TO concluder.md to end the process."

Prerequisites

To run ponytAIl, prepare a folder containing all the files from nodes_sample: concluder.md, starter.md, and node_creator.md.

If you want to include additional nodes from the beginning, create them following the format of medium_sample.md.

Growing a Node Community

By continuing to use the same folder after running the command once, you can nurture a node community over time. The system will build upon the existing nodes and generate new ones based on the interactions.

Interrupting the Process

If you need to interrupt the process at a reasonable point, as it may take a long time, use the following key combinations:

  • Windows/Linux: Ctrl+C
  • Mac: Cmd+C

Output

The output will be saved as full_results_YYYYMMDDHHmmss.md in the parent folder of the starting folder.

LICENSE

The repository is licensed under the latest version of Modular and Inclusive Software Advancement License Classic (MISA-CLASSIC License).

There are 4 main policies that consist of this license.

  1. Disclaimer of Liability
  2. Naming Continuity Obligation
  3. Waiver of Other Copyrights
  4. Modular Extensibility (Defines how to modify the license)

See the license document for more details.

Release files for ponytail-agents 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ponytail-agents 0.1.8
File Size Uploaded
ponytail-agents-0.1.8.tar.gz 61.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ponytail-agents 0.1.8
File Interpreter ABI Platform
ponytail_agents-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 209.1 kB

Release files / ponytail-agents-0.1.8.tar.gz

Download URL ponytail-agents-0.1.8.tar.gz
Size 61.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a955c2265eaa6e623358d6ef189475d89cdaf9013bf1f50216698d5d0f93ce43
BLAKE2b-256 checksum
How to use checksums
9c44437b122a047ad9d43d8d276c1c8b60de18f9123872be7f23d85155d1c5e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.1

Release files / ponytail_agents-0.1.8-py3-none-any.whl

Download URL ponytail_agents-0.1.8-py3-none-any.whl
Size 147.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
534dc816490b6e9bcf634e2b856f4b6732622019c9c79ff583aa91a0de07649f
BLAKE2b-256 checksum
How to use checksums
8beafacb4bfa92ff34096e2deaf88fe7ed9d4c6740e948a81a58a4e1fb08598a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page