Skip to main content

A Python library for building low-code, capable and extensible autonomous agent systems.

Project description

emp-agents

A library for building low-code, capable and extensible autonomous agent systems open sourced by Empyreal.


Docs

Read the docs here


Quick Start

pip install emp-agents
import asyncio
import os

from eth_rpc import set_alchemy_key

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
from emp_agents.types import OpenAIModelType

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


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


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

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.

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 if you would like to learn more about the project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

emp_agents-0.1.2.post3.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

emp_agents-0.1.2.post3-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file emp_agents-0.1.2.post3.tar.gz.

File metadata

  • Download URL: emp_agents-0.1.2.post3.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for emp_agents-0.1.2.post3.tar.gz
Algorithm Hash digest
SHA256 08cb73d1aa60045e28c92bb842090a79f0dfe8afa94cf387d8920adc04195182
MD5 cfbffbc861f6c432ac31a63d7200a505
BLAKE2b-256 3086df549d05e9a1479347b457776dbf436e57c60eb5f43516be9700df06ec61

See more details on using hashes here.

File details

Details for the file emp_agents-0.1.2.post3-py3-none-any.whl.

File metadata

File hashes

Hashes for emp_agents-0.1.2.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 3bcdd97b5291923b0012873fc07fa8d6e19e9889e0f70304f232d9ff50df8a87
MD5 a60c29e0e63dbe752adc1092f9dbb378
BLAKE2b-256 140a82681a93d7d12af133ccef3cb1c52c04cb22f82dd14eeecf88779d20c387

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page