{"id":17084405,"url":"https://github.com/niklasf/python-agentspeak","last_synced_at":"2026-03-08T19:36:11.170Z","repository":{"id":57408541,"uuid":"73023164","full_name":"niklasf/python-agentspeak","owner":"niklasf","description":"A Python-based interpreter for the agent-oriented programming language JASON","archived":false,"fork":false,"pushed_at":"2024-03-21T11:54:32.000Z","size":773,"stargazers_count":51,"open_issues_count":9,"forks_count":25,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-06-14T23:46:08.652Z","etag":null,"topics":["agent-based","agent-based-modeling","agentspeak","interpreter","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niklasf.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-06T22:30:05.000Z","updated_at":"2025-05-19T10:37:43.000Z","dependencies_parsed_at":"2023-12-11T04:03:38.118Z","dependency_job_id":"ca41ab26-9659-4478-8007-b06b2ff84fa0","html_url":"https://github.com/niklasf/python-agentspeak","commit_stats":{"total_commits":367,"total_committers":10,"mean_commits":36.7,"dds":0.07356948228882831,"last_synced_commit":"b1393aa40b38b9dc656866ba17cac2fc438f1a4d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/niklasf/python-agentspeak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasf%2Fpython-agentspeak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasf%2Fpython-agentspeak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasf%2Fpython-agentspeak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasf%2Fpython-agentspeak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niklasf","download_url":"https://codeload.github.com/niklasf/python-agentspeak/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklasf%2Fpython-agentspeak/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271121768,"owners_count":24702870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-based","agent-based-modeling","agentspeak","interpreter","python"],"created_at":"2024-10-14T13:07:03.553Z","updated_at":"2026-03-08T19:36:11.132Z","avatar_url":"https://github.com/niklasf.png","language":"Python","readme":"Jason-style AgentSpeak for Python\n=================================\n.. image:: https://img.shields.io/pypi/v/agentspeak.svg\n    :target: https://pypi.python.org/pypi/agentspeak\n\n.. image:: https://img.shields.io/pypi/pyversions/agentspeak.svg\n    :target: https://pypi.python.org/pypi/agentspeak\n\n.. image:: https://img.shields.io/pypi/l/agentspeak\n    :target: https://opensource.org/licenses/gpl-3-0\n    :alt: GPL 3 License\n\n.. image:: https://pepy.tech/badge/agentspeak\n    :target: https://pepy.tech/project/agentspeak\n    :alt: Downloads\n\n.. image:: https://img.shields.io/pypi/format/agentspeak.svg\n    :target: https://pypi.python.org/pypi/agentspeak\n\n\n\nA Python-based interpreter for the agent-oriented programming language JASON.\n\n`python-agentspeak` is a Python-based interpreter for the agent-oriented programming language JASON. This library makes it easy to create and manage intelligent agents, offering syntax and functionalities similar to JASON in a Python environment.\n\nKey Features\n------------\n* Jason-style AgentSpeak interpretation\n* Easy integration with existing Python code\n* Support for complex agent constructions\n\nSetup\n-----\n\n.. code::\n\n    pip install agentspeak\n\nRequirements\n------------\n* Python 3.6 or higher\n* Additional dependencies are automatically installed\n\nUsage example\n-------------\n\n.. code::\n\n    !hello_world.\n\n    +!hello_world \u003c-\n      .print(\"Hello world!\").\n\nUsage\n-----\n\nRun a standalone agent program:\n\n.. code::\n\n    $ python -m agentspeak examples/hello_world.asl\n\nRun an interactive console:\n\n.. code::\n\n    $ python -m agentspeak\n\nSee :code:`examples/embedded` for an example that interfaces with custom\nPython code.\n\nJason compability\n-----------------\n\npython-agentspeak should be mostly equivalent to Jason_.\n\n* Plan annotations are ignored as of yet.\n* Standard library does not yet contain syntactic transformations with\n  :code:`{begin ...}` and :code:`{end}`.\n* Standard library does not yet contain introspective and plan-manipulation\n  actions.\n* Jason 2.0 fork join operators not yet supported.\n* Literals are only comparable if they have the same signature.\n\n\n.. _Jason: http://jason.sourceforge.net/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasf%2Fpython-agentspeak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklasf%2Fpython-agentspeak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklasf%2Fpython-agentspeak/lists"}