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.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

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.3.0.tar.gz (38.9 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.3.0-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file emp_agents-0.3.0.tar.gz.

File metadata

  • Download URL: emp_agents-0.3.0.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for emp_agents-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9e2eefa835164ef838887f63b9869eac45f4219b9775fe031103964007b7ee36
MD5 8ca59b688ed1fbf01b7a2a72461f49aa
BLAKE2b-256 4d416ea1312da7bd32de0c7a27f4dd3c7b24fbe32d2b5649c0a8ae034c1ed930

See more details on using hashes here.

File details

Details for the file emp_agents-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: emp_agents-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for emp_agents-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6a814005670064da2e221efb0c19f5c965887bfe5005dec701e547d38f4bc25
MD5 4e4189bd42f43dbc391c1cf147884d02
BLAKE2b-256 f3ea0567edc7f8954a0ca8c8b4145f4f7212e121e639c3d6dbe568d761db1ed4

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