A Python package for teen-agi
Project description
TeenAGI
A Python package inspired by BabyAGI(babyagi.org).
Installation
pip install teenagi
Usage
from teenagi import TeenAGI, create_agent
# Create a teen AGI with custom name and age
agent = TeenAGI(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 teen 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/teen-agi.git
cd teen-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.2.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.2.0.tar.gz.
File metadata
- Download URL: teenagi-0.2.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 |
1907b4720a3ece293d56ba5a8d9d28b2f86f1aa70b62af549348b0b5b17a7cce
|
|
| MD5 |
db2cfa728f911da535333d9e291c54a1
|
|
| BLAKE2b-256 |
e8de8cdfc4d63de2c738104d77634382e34541bec83a629eb0b7ca78c98d52f5
|
File details
Details for the file teenagi-0.2.0-py3-none-any.whl.
File metadata
- Download URL: teenagi-0.2.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 |
19d2d58f38e500dd1281b624186e55aac64075330cb832d8cfcaf69a1c455682
|
|
| MD5 |
ea46bb05c275ee75e4aa8629c1ca5656
|
|
| BLAKE2b-256 |
c7be3d2d8105c93c5ef84a2ee6cd4e7d364930f972f0df74e94d1f35f82c45a6
|