Metadata-Version: 2.4
Name: cogentrl
Version: 0.2.0
Summary: star AI: Tools for decision-making and NLP.
Author: Mathis Daviau
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
Requires-Dist: numpy>=1.21.0
Requires-Dist: matplotlib>=3.4.0
Requires-Dist: torch>=1.9.0
Requires-Dist: transformers>=4.0.0
Requires-Dist: scikit-learn>=0.24.0
Requires-Dist: pyyaml>=5.4.0
Provides-Extra: dev
Requires-Dist: pytest>=6.2.0; extra == "dev"
Requires-Dist: flake8>=3.9.0; extra == "dev"
Dynamic: license-file
Dynamic: requires-python

star AI
=======

star AI is a Python package that bridges decision-making and natural language processing, inspired by intelligent behavior.

Features
--------

- **Decision-Making Models**
  - Game-theoretic strategies (e.g., tit-for-tat).
  - Multi-agent simulations.
  - Reinforcement learning agents.

- **Natural Language Processing**
  - Sentiment analysis.
  - Tokenization and text similarity.
  - Language evolution simulation.

Installation
------------

You can install the package via pip::

    pip install star

Quick Start
-----------

Example usage:

.. code-block:: python

    # Decision Agent
    from star.decision.agent import DecisionAgent
    agent = DecisionAgent(strategy="tit_for_tat")
    decision = agent.decide(opponent_action="cooperate")
    print(f"Agent decided to: {decision}")

    # Sentiment Analysis
    from star.nlp.sentiment import SentimentAnalyzer
    analyzer = SentimentAnalyzer()
    print(analyzer.analyze("I love bananas!"))  # Output: "positive"

License
-------

This project is licensed under the MIT License.
