A Python package for teenage-agi
Project description
TeenageAGI
A Python package inspired by BabyAGI(babyagi.org).
Installation
pip install teenageagi
Usage
from teenageagi import TeenageAGI, create_agent
# Create a teenage AGI with custom name and age
agent = TeenageAGI(name="Alex", age=16)
# Add knowledge to the agent
agent.learn("Python is a versatile programming language")
agent.learn("Machine learning is a subset of artificial intelligence")
# Get a response from the agent
response = agent.respond("Tell me about programming")
print(response)
# Alternative: use the factory function
factory_agent = create_agent(name="Sam", age=17)
Features
- Create AGI agents with customizable names and teenage ages (13-19)
- Add knowledge to your AGI's knowledge base
- Generate responses based on accumulated knowledge
- Simple and intuitive API
Development
Setup Development Environment
# Clone the repository
git clone https://github.com/jordan/teenage-agi.git
cd teenage-agi
# Install dependencies with Poetry
poetry install
# Run tests
poetry run pytest
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
teenagi-0.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file teenagi-0.1.0.tar.gz.
File metadata
- Download URL: teenagi-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.11 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe8c3a766c6833d1a7f528ad25115c71d8435f3970b19c4c3a3542ea72fbb456
|
|
| MD5 |
8e3e34a516518de55c5acc9e317b18aa
|
|
| BLAKE2b-256 |
c89aa3990bf365028c16f8b9dd3068fd4cb41f569b8d5648675b35c91fdcb9e8
|
File details
Details for the file teenagi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: teenagi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.11 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d1d083230529cb46a9d2217a93a21ab580fc533f8ad8cfab0bee1bb0a66ed8b
|
|
| MD5 |
a200035b88021c7c5b792ec4145f547b
|
|
| BLAKE2b-256 |
957f93c3de4502bcbaa19f19fa77fed7b3a9fbae27211f3c2d47d630fe8a567f
|