Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
making complexity simple
differentiable learning over millions of autonomous agents
Large Population Models (LPMs) help simulate million-size populations by designing realistic environments and capturing expressive indvidual behavior. Our goal is to "re-invent the census": built entirely in simulation, captured passively and used to protect country-scale populations. Our research is early but actively making an impact - winning awards at AI conferences and being deployed across the world. Learn more about LPMs here.
AgentTorch LPMs have four design principles:
AgentTorch is building the future of decision engines - inside the body, around us and beyond!
https://github.com/AgentTorch/AgentTorch/assets/13482350/4c3f9fa9-8bce-4ddb-907c-3ee4d62e7148
AgentTorch is meant to be used in a Python 3.9 environment. If you have not installed Python 3.9, please do so first from python.org/downloads.
Install the framework using pip
, like so:
> pip install git+https://github.com/agenttorch/agenttorch
Some models require extra dependencies that have to be installed separately. For more information regarding this, as well as the hardware the project has been run on, please see
docs/install.md
.
The following section depicts the usage of existing models and population data to run simulations on your machine. It also acts as a showcase of the Agent Torch API.
A Jupyter Notebook containing the below examples can be found here.
# re-use existing models and population data easily
from agent_torch.models import covid
from agent_torch.populations import astoria
# use the executor to plug-n-play
from agent_torch.core.executor import Executor
from agent_torch.core.dataloader import LoadPopulation
# agent_"torch" works seamlessly with the pytorch API
from torch.optim import SGD
loader = LoadPopulation(astoria)
simulation = Executor(model=covid, pop_loader=loader)
simulation.init(SGD)
simulation.execute()
A detailed explanation of the architecture of the Agent Torch framework can be found here.
A tutorial on how to create a simple predator-prey model can be found in the
tutorials/
folder.
Thank you for your interest in contributing! You can contribute by reporting and fixing bugs in the framework or models, working on new features for the framework, creating new models, or by writing documentation for the project.
Take a look at the contributing guide for instructions on how to setup your environment, make changes to the codebase, and contribute them back to the project.
AgentTorch models are being deployed across the globe.
FAQs
large population models
We found that agent-torch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.