TinyAGI is a modular AI agent framework controlled via JSON configuration.
Project description
🧠 TinyAGI (Preview Version)
TinyAGI is a modular, extensible, and lightweight framework for building Artificial General Intelligence (AGI) systems. TinyAGI allows you to create and manage AI agents, plugins, modules, and tools within a flexible, scalable architecture, supporting multiple model backends like OpenAI, Llama.cpp, Ollama, AlpacaX, and Tabitha.
Disclaimer: This is a preview release (version 0.0.2). TinyAGI is currently under active development, and this version is intended for testing, feedback, and early experimentation. Expect frequent updates and potential changes to the API.
🧩 Key Features
- Multi-Model Support: Integrate with OpenAI, Llama.cpp, Ollama, AlpacaX, and Tabitha, providing flexibility for various tasks.
- Modular Architecture: Add, update, or remove agents and plugins with ease.
- Dynamic Plugin System: Extend functionality with plugins for tasks like text summarization, content formatting, and more.
- CLI and API Interfaces: Interact with TinyAGI using the command-line interface or RESTful API.
- AgentX System: Manage multiple AI agents with unique configurations and specialized behaviors.
- Task Automation: Orchestrate agents, plugins, and tools to automate complex workflows.
📦 Installation
Install TinyAGI with pip (Python 3.8 or higher required):
pip install TinyAGI
For the latest development version, you can clone the repository:
git clone https://github.com/SullyGreene/TinyAGI.git
cd TinyAGI
pip install -e .
🚀 Getting Started
-
Create a Configuration File: Define your agent and model parameters in a JSON file.
{ "agent": { "name": "TinyAGI Agent", "version": "0.0.2" }, "model": { "type": "llama_cpp", "name": "Llama-2-7B", "parameters": { "model_path": "models/llama-2-7b.ggmlv3.q4_0.bin", "temperature": 0.7, "max_tokens": 512 } } }
-
Run the Agent: Create a Python script to initialize and run the agent.
from TinyAGI.agent import Agent if __name__ == '__main__': agent = Agent(config_file='config/agent_config.json') agent.run()
-
Interact with Your Agent: Use the command-line interface or API to execute tasks, generate text, and more.
🛠 Example Use Cases
- Content Generation: Generate articles, summaries, or encyclopedia entries using specialized plugins.
- Data Analysis: Automate data processing, summarization, and report generation.
- Interactive Chatbots: Create engaging chatbots that integrate knowledge retrieval and sentiment analysis.
📝 Contributing
Contributions are welcome! Please see our contribution guidelines to get started. TinyAGI Hub is also available for community plugins, agents, and tools at TinyAGI Hub.
🛡 License
This project is licensed under the MIT License. See the LICENSE file for details.
Disclaimer
This release is version 0.0.2 and is a preview for testing and feedback. The framework is in active development, so expect frequent updates and possible changes to the API and functionality.
Ready to experiment? Install TinyAGI today and help shape the future of AGI development! 🚀
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file TinyAGI-0.0.2.tar.gz
.
File metadata
- Download URL: TinyAGI-0.0.2.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2906ff983fd3fd418909ce0f3de675423ecc33514f1a706403683cc9e4f45137 |
|
MD5 | e6a1ce8bf33151b25760063483d4dcc5 |
|
BLAKE2b-256 | 54b7ddf102b2876be08e06b73cc51a5d259fc618dbc628ae45452648845f2ca2 |
File details
Details for the file TinyAGI-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: TinyAGI-0.0.2-py3-none-any.whl
- Upload date:
- Size: 46.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddf6c18b311f2ca2752ce1ff221e510fff6ac72435f7d06dfdc95bbb7d148c76 |
|
MD5 | ce673848f07bf1b6c3fc64cb0eee43c2 |
|
BLAKE2b-256 | 3570ddd440fd82a5dea0cfadb53b5d8860b797136c2fabbfe6025be2ab65a448 |