Catalog PyPI
Back to packageRELEASE DETAILS

0.1.2

PyPI

AgenticLearnPro

A simple agentic AI package using reinforcement learning

Published25 May 2025
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 0.1.2 documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
numpy>=1.19runtime
gymnasium
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
gymnasium>=0.29runtime

Distribution files

2 collected
agenticlearnpro-0.1.2-py3-none-any.whl

bdist_wheel · 4.79 KB · Python py3

Source file
agenticlearnpro-0.1.2.tar.gz

sdist · 4.14 KB · Python source

Source file

Repository

PENDING
stephanieewelu/agenticlearnpro

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d1842f665d611682da0d4c6c032322dfd67219a079e270cc8134928fd7e5ca9f

Other collected versions

View all collected versions →