Agentic AI
A simple agentic AI package using reinforcement learning. This package provides a basic implementation of a Q-learning agent that can interact with a simple environment to achieve goals.
Installation
pip install AgenticLearnPro
Usage
from AgenticLearnPro.agent import QLearningAgent
from AgenticLearnPro.environment import SimpleEnv
# Create environment and agent
env = SimpleEnv()
agent = QLearningAgent(state_space=env.state_space, action_space=env.action_space)
# Train the agent
for episode in range(100):
state = env.reset()
done = False
while not done:
action = agent.choose_action(state)
next_state, reward, done = env.step(action)
agent.learn(state, action, reward, next_state)
state = next_state
agent.decay_exploration()
# Test the trained agent
state = env.reset()
done = False
total_reward = 0
while not done:
action = agent.choose_action(state)
next_state, reward, done = env.step(action)
total_reward += reward
state = next_state
print(f"State: {state}, Action: {action}, Reward: {reward}")
print(f"Total reward: {total_reward}")
Features
- Simple Q-learning agent implementation
- Basic environment with states and actions
- Configurable learning parameters
- Exploration rate decay for better convergence
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Metadata
Release files for AgenticLearnPro 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agenticlearnpro-0.1.2.tar.gz | 4.2 kB | Without provenance | Details for agenticlearnpro-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agenticlearnpro-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for agenticlearnpro-0.1.2-py3-none-any.whl |
Total release size: 9.1 kB
Release files / agenticlearnpro-0.1.2.tar.gz
| Download URL | agenticlearnpro-0.1.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9744fb00959e5889788eb997ce5a104a5464f78d7f26cd41297ec299dc3ea5ac
|
|
BLAKE2b-256 checksum How to use checksums |
afce3e7acaacec7045990a2874efc3bf1eef78b9f3100b1e7894cc2a77a3816c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / agenticlearnpro-0.1.2-py3-none-any.whl
| Download URL | agenticlearnpro-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f23166026b78b2391537c910f7066e1b64c98c492afb6354b01e614bad4ca416
|
|
BLAKE2b-256 checksum How to use checksums |
014858496347323e05880a887bea722db322abcf5b4f23b58f596a69b3a09694
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for AgenticLearnPro 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.