The Python Component System (PCS) is an API and CLI for building, running, and sharing Python code. AgentOS is a set of libraries built on top of PCS that make it easy to build, run, and share agents that use Reinforcement Learning.
This ports the leaderboard landing page (i.e. http://localhost:8000/) to the new Component model. Here's the result after some local testing:
A demo script:
# Start the local web server in a separate tab
# Clear the local DB by visiting http://localhost:8000/empty_database in your browser
cd example_agents/sb3_agent
rm -rf mlruns/
agentos run sb3_agent --function-name learn
agentos run sb3_agent --function-name evaluate
USE_LOCAL_SERVER=True agentos publish <agent run ID printed out after previous previous command>
# Now visit http://localhost:8000 and see the result of your run
Next on my list is to port:
The run details page (currently the links just go to the API endpoint)
Note: based on PR #400
This ports the leaderboard landing page (i.e. http://localhost:8000/) to the new Component model. Here's the result after some local testing:
A demo script:
Next on my list is to port: