{"_id":"@adasuite/agentgpt","_rev":"3-44bb632b47db842849497834fb76a767","name":"@adasuite/agentgpt","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"dependencies":{"node-fetch":"^2.6.11"},"name":"@adasuite/agentgpt","version":"1.0.0","description":"A package that helps you create multiple GPT agents and multi-agent architectures.","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Konstantin Victoria"},"license":"MIT","gitHead":"0d9c227b9537ad00f82d91c78982bbbd305a0c2f","_id":"@adasuite/agentgpt@1.0.0","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-7qD1RW/dKplSbcg+5y+JE0ZEX/63FANxeiTLteks3w6Rcw9Z/O2dUzQbZ60ZsL14okr6+Dh4viZrovDoLgnzSg==","shasum":"0a45f8d223fe5e1fe3dc8952e8affa5e9e156dfc","tarball":"https://registry.npmjs.org/@adasuite/agentgpt/-/agentgpt-1.0.0.tgz","fileCount":2,"unpackedSize":2692,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUasTONwNPfezq8VVxWVGL9h/hY7ccmsr/2Q6FDV32BAiAMaM4vfid1bZmInrWtt3IxnxAi3xZ9E6+8vdjvwT24uw=="}]},"_npmUser":{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"},"directories":{},"maintainers":[{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agentgpt_1.0.0_1683837456090_0.9828942623932029"},"_hasShrinkwrap":false},"1.0.1":{"dependencies":{"node-fetch":"^2.6.11"},"name":"@adasuite/agentgpt","version":"1.0.1","description":"A package that helps you create multiple GPT agents and multi-agent architectures.","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Konstantin Victoria"},"license":"MIT","gitHead":"0d9c227b9537ad00f82d91c78982bbbd305a0c2f","_id":"@adasuite/agentgpt@1.0.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-hVNoZ4j82ZR4lXID5oHXsAKcXhJ51pOPzkWufUfeQLItOrbvLskEL1nlAO9VOAZcv5pH6QESaURgmPHNViyA2w==","shasum":"299785579de25d63661988027951812719540bf3","tarball":"https://registry.npmjs.org/@adasuite/agentgpt/-/agentgpt-1.0.1.tgz","fileCount":2,"unpackedSize":2719,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxzi5nHyBM2XCjbieR4OTiBPilcs5pwsctDrfhxFk0cAIhAN3SeE6hz1UdXA6TR6sCCzoa8GKeJdrpaudkizAr+kTx"}]},"_npmUser":{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"},"directories":{},"maintainers":[{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agentgpt_1.0.1_1683841747406_0.01686849369148713"},"_hasShrinkwrap":false},"1.0.2":{"dependencies":{"node-fetch":"^2.6.11"},"name":"@adasuite/agentgpt","version":"1.0.2","description":"A package that helps you create multiple GPT agents and multi-agent architectures.","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Konstantin Victoria"},"license":"MIT","gitHead":"69f33f00278aedfa0f1802adbadec02bc8c7c1b6","_id":"@adasuite/agentgpt@1.0.2","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-LJfa+nEb8zkImTLM7mfCYwuJ6PVl61Q7JhT8tTuaznryI2I3IkQSSVAVoYmMdQU6feNv+TOizNnKOD7QTo1YeQ==","shasum":"d6610450dd72f4c135fdb3faf1afb72cb19d877e","tarball":"https://registry.npmjs.org/@adasuite/agentgpt/-/agentgpt-1.0.2.tgz","fileCount":3,"unpackedSize":5805,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuCwzGjJZv8HLlt0m0emY2R0ELLMl09NdV2jqcdyTkugIhAOyO4eP+k+k2dzmFcvZqWKH6Pb78yXdfbwwgAsn+DJlg"}]},"_npmUser":{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"},"directories":{},"maintainers":[{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agentgpt_1.0.2_1683842057660_0.4348970959018623"},"_hasShrinkwrap":false},"1.0.3":{"dependencies":{"node-fetch":"^2.6.11"},"name":"@adasuite/agentgpt","version":"1.0.3","description":"A package that helps you create multiple GPT agents and multi-agent architectures.","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Konstantin Victoria"},"license":"MIT","gitHead":"69f33f00278aedfa0f1802adbadec02bc8c7c1b6","_id":"@adasuite/agentgpt@1.0.3","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-PxVBBThnHxhgo6JblmZLhZsMLnjsihpC+JGIKhSJ3prV1JzJGngsQgY0on6oghz1XiGQBR5AOK9wcfIJo1S1Kw==","shasum":"20affc3f44cdbd1834a1209717fac371646e279f","tarball":"https://registry.npmjs.org/@adasuite/agentgpt/-/agentgpt-1.0.3.tgz","fileCount":3,"unpackedSize":5823,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5YL2DqR6ztqiY2TctaXqMDimovKtqx5gHEWXdnqlNxAIhAOm9pUu/W3iZrrwOY6vKU872lhHstE0xI8SZ0TzajCS0"}]},"_npmUser":{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"},"directories":{},"maintainers":[{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/agentgpt_1.0.3_1684397985525_0.5714750897908147"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-11T20:37:36.024Z","1.0.0":"2023-05-11T20:37:36.256Z","modified":"2023-05-18T08:19:45.820Z","1.0.1":"2023-05-11T21:49:07.579Z","1.0.2":"2023-05-11T21:54:17.831Z","1.0.3":"2023-05-18T08:19:45.678Z"},"maintainers":[{"name":"konstantinvv","email":"konstantinvictoria@gmail.com"}],"description":"A package that helps you create multiple GPT agents and multi-agent architectures.","author":{"name":"Konstantin Victoria"},"license":"MIT","readme":"# AgentGPT: GPT4 Agent Factory\r\n\r\nAgentGPT is a package that simplifies the creation of GPT4 agents, also known as Language Models (LLMs) or AIs, designed to accomplish specific tasks. It enables the development of multiple GPT agents and multi-agent architectures to perform more complex tasks by leveraging specialized AIs. Imagine a neural network where each node is an LLM.\r\n\r\n## Features\r\n\r\n- Easily create GPT4 agents for specific tasks\r\n- Build multi-agent architectures for complex tasks\r\n- Leverage specialized AIs for improved performance\r\n- Simplify the process of interacting with OpenAI's GPT-4 API\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install agentgpt\r\n```\r\n\r\n## Usage\r\n\r\n1. Import the AgentFactory:\r\n\r\n```javascript\r\nconst AgentFactory = require(\"@adasuite/agentgpt\");\r\n```\r\n\r\n2. Create an instance of the AgentFactory using your OpenAI API key:\r\n\r\n```javascript\r\nconst Recruit = AgentFactory({\r\n  API_KEY: \"your_openai_api_key_here\",\r\n});\r\n```\r\n\r\n3. Define your GPT4 agents by providing their identities, analysis tasks, and expected output formats:\r\n\r\n```javascript\r\nconst MyAgent = Recruit.new_agent({\r\n  identity: \"You are a specific agent\",\r\n  analysis: \"Based on the input, perform a specific task\",\r\n  output: \"<desired_output_format>\",\r\n});\r\n```\r\n\r\n4. Use the `analyze()` function to interact with your agent(s) and process input data:\r\n\r\n```javascript\r\nasync function processData(input) {\r\n  const result = await MyAgent.analyze([input]);\r\n  console.log(result);\r\n}\r\n\r\nprocessData(\"your_input_data_here\");\r\n```\r\n\r\n## Documentation\r\n\r\n### AgentFactory\r\n\r\nThe main object that helps you create GPT-4 agents.\r\n\r\n#### Parameters\r\n\r\n- `API_KEY` (string): Your OpenAI API key.\r\n\r\n#### Methods\r\n\r\n- `new_agent(options)`: Creates a new GPT-4 agent with the specified options.\r\n\r\n### new_agent(options)\r\n\r\nCreate a new GPT-4 agent by providing the required options.\r\n\r\n#### Options\r\n\r\n- `identity` (string, optional): A description of the agent's identity.\r\n- `analysis` (string): A description of the task the agent will perform.\r\n- `output` (string): The expected output format.\r\n\r\n#### Returns\r\n\r\n- A new GPT-4 agent with the specified identity, analysis task, and output format.\r\n\r\n### Agent\r\n\r\nAn object representing a GPT-4 agent.\r\n\r\n#### Methods\r\n\r\n- `analyze(inputs, config)`: Processes the input data and returns the results.\r\n\r\n### analyze(inputs, config)\r\n\r\nProcess the input data using the agent's defined task and return the results.\r\n\r\n#### Parameters\r\n\r\n- `inputs` (array): An array of input data.\r\n- `config` (object, optional): Configuration options for the GPT-4 API call.\r\n\r\n#### Returns\r\n\r\n- The processed results based on the agent's analysis task and output format.\r\n\r\n## Example\r\n\r\nSee the provided example in the `examples` folder for a demonstration of how to create and use multiple GPT-4 agents for a complex task.\r\n\r\n## Contributing\r\n\r\nIf you would like to contribute to this project, please fork the repository and submit a pull request. We welcome any improvements or suggestions!\r\n\r\n## License\r\n\r\nAgentGPT is released under the MIT License.\r\n","readmeFilename":"README.md"}