Catalog PyPI
PACKAGE EXPLORERView in registry

AgenticLearnPro

PyPI

A simple agentic AI package using reinforcement learning

Versions collected1
Direct dependencies2From release 0.1.2
Last observed20 Oct, 22:17 UTC

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.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.225 May 20252

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:b3ed85613b158dcf1873b77fa9d49e3767bc3239586bcd60cd7cd4855a6fa8b8