emp-agents


Nameemp-agents JSON
Version 0.2.3.post1 PyPI version JSON
download
home_pageNone
SummaryA Python library for building low-code, capable and extensible autonomous agent systems.
upload_time2025-02-18 02:51:40
maintainerNone
docs_urlNone
authorJohnny, Rick
requires_python>=3.10
licenseMIT
keywords emp agents python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # emp-agents

A library for building low-code, capable and extensible autonomous agent systems open sourced by [Empyreal](https://empyrealsdk.com/).

---

## Docs

Read the docs [here](https://emp-agents.empyrealsdk.com/)

---

## Quick Start

```shell
pip install emp-agents
```

```python
import asyncio
import os

from eth_rpc import set_alchemy_key

from emp_agents.providers import OpenAIProvider, OpenAIModelType
from emp_agents.agents.skills import SkillsAgent
from emp_agents.tools.dexscreener import DexScreenerSkill
from emp_agents.tools.protocol.erc20 import ERC20Skill
from emp_agents.tools.protocol.wallets import SimpleWalletSkill

if alchemy_key := os.environ.get("ALCHEMY_KEY"):
    set_alchemy_key(alchemy_key)


agent = SkillsAgent(
    skills=[
        ERC20Skill,
        SimpleWalletSkill,
        DexScreenerSkill,
    ],
    default_model=OpenAIModelType.gpt4o_mini,
    openai_api_key=os.environ.get("OPENAI_API_KEY"),
    provider=OpenAIProvider(),
)


if __name__ == "__main__":
    asyncio.run(agent.run())
```

## Available SkillSets

SkillSets are designed to extend the capabilities of the agent by providing a collection of tools that can be used to perform tasks. The following SkillSets are currently available

- [SimpleWalletSkill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/protocol/wallets/simple.py)
- [ERC20Skill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/protocol/erc20/__init__.py)
- [GmxSkill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/protocol/gmx/__init__.py)
- [TwitterSkill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/twitter/__init__.py)
- [DexScreenerSkill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/dexscreener/__init__.py)

## Creating a Custom SkillSet

SkillsSets is a collection of tools that can be used to build agents. To create a custom SkillsSet, you can subclass the `SkillsSet` class and implement the `tools` property. SkillSets are designed to be modular and extensible and they are supported both by the OpenAI models and Anthropic models.

You can see an example of a custom SkillsSet in the [docs](./docs/agents.md).


## Future Work

Some of the features we are working on open sourcing are:

- Agent Autonomy
- Simulacrum SkillSet
- Agent Memory system
- Research SkillSets
- Prebuilt Agent Templates
- Pluggable library components

Reach out at [EmpyrealSDK](https://x.com/EmpyrealSDK) if you would like to learn more about the project.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "emp-agents",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "emp, agents, python",
    "author": "Johnny, Rick",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/44/e0/05f10fc4e70bab0cde9378e00bc3af34f26154769e8da8f72eadcde31d46/emp_agents-0.2.3.post1.tar.gz",
    "platform": null,
    "description": "# emp-agents\n\nA library for building low-code, capable and extensible autonomous agent systems open sourced by [Empyreal](https://empyrealsdk.com/).\n\n---\n\n## Docs\n\nRead the docs [here](https://emp-agents.empyrealsdk.com/)\n\n---\n\n## Quick Start\n\n```shell\npip install emp-agents\n```\n\n```python\nimport asyncio\nimport os\n\nfrom eth_rpc import set_alchemy_key\n\nfrom emp_agents.providers import OpenAIProvider, OpenAIModelType\nfrom emp_agents.agents.skills import SkillsAgent\nfrom emp_agents.tools.dexscreener import DexScreenerSkill\nfrom emp_agents.tools.protocol.erc20 import ERC20Skill\nfrom emp_agents.tools.protocol.wallets import SimpleWalletSkill\n\nif alchemy_key := os.environ.get(\"ALCHEMY_KEY\"):\n    set_alchemy_key(alchemy_key)\n\n\nagent = SkillsAgent(\n    skills=[\n        ERC20Skill,\n        SimpleWalletSkill,\n        DexScreenerSkill,\n    ],\n    default_model=OpenAIModelType.gpt4o_mini,\n    openai_api_key=os.environ.get(\"OPENAI_API_KEY\"),\n    provider=OpenAIProvider(),\n)\n\n\nif __name__ == \"__main__\":\n    asyncio.run(agent.run())\n```\n\n## Available SkillSets\n\nSkillSets are designed to extend the capabilities of the agent by providing a collection of tools that can be used to perform tasks. The following SkillSets are currently available\n\n- [SimpleWalletSkill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/protocol/wallets/simple.py)\n- [ERC20Skill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/protocol/erc20/__init__.py)\n- [GmxSkill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/protocol/gmx/__init__.py)\n- [TwitterSkill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/twitter/__init__.py)\n- [DexScreenerSkill](https://github.com/empyrealapp/emp-agents/blob/main/src/emp_agents/tools/dexscreener/__init__.py)\n\n## Creating a Custom SkillSet\n\nSkillsSets is a collection of tools that can be used to build agents. To create a custom SkillsSet, you can subclass the `SkillsSet` class and implement the `tools` property. SkillSets are designed to be modular and extensible and they are supported both by the OpenAI models and Anthropic models.\n\nYou can see an example of a custom SkillsSet in the [docs](./docs/agents.md).\n\n\n## Future Work\n\nSome of the features we are working on open sourcing are:\n\n- Agent Autonomy\n- Simulacrum SkillSet\n- Agent Memory system\n- Research SkillSets\n- Prebuilt Agent Templates\n- Pluggable library components\n\nReach out at [EmpyrealSDK](https://x.com/EmpyrealSDK) if you would like to learn more about the project.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python library for building low-code, capable and extensible autonomous agent systems.",
    "version": "0.2.3.post1",
    "project_urls": null,
    "split_keywords": [
        "emp",
        " agents",
        " python"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f14c6259957cd77cf5757995099f6cbac0a3bc49fc60ec87cea4141e250fdd09",
                "md5": "0d051cedc549184fd6c0bdd9b2eb8aa5",
                "sha256": "414b1872b04f81766f75c30c147c8fdc1d507365dacc3424cd60874b4c21bd64"
            },
            "downloads": -1,
            "filename": "emp_agents-0.2.3.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0d051cedc549184fd6c0bdd9b2eb8aa5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 56322,
            "upload_time": "2025-02-18T02:51:38",
            "upload_time_iso_8601": "2025-02-18T02:51:38.959180Z",
            "url": "https://files.pythonhosted.org/packages/f1/4c/6259957cd77cf5757995099f6cbac0a3bc49fc60ec87cea4141e250fdd09/emp_agents-0.2.3.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "44e005f10fc4e70bab0cde9378e00bc3af34f26154769e8da8f72eadcde31d46",
                "md5": "05fae2cee4144222b809553584ec3e56",
                "sha256": "95289f5e19d0bf00f43e1638bf19023c8971b375b372671b80245dfe6e7b54d7"
            },
            "downloads": -1,
            "filename": "emp_agents-0.2.3.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "05fae2cee4144222b809553584ec3e56",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 38747,
            "upload_time": "2025-02-18T02:51:40",
            "upload_time_iso_8601": "2025-02-18T02:51:40.907286Z",
            "url": "https://files.pythonhosted.org/packages/44/e0/05f10fc4e70bab0cde9378e00bc3af34f26154769e8da8f72eadcde31d46/emp_agents-0.2.3.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-18 02:51:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "emp-agents"
}
        
Elapsed time: 0.53376s