Skip to main content

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.

Metadata

Release files for emp-agents 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for emp-agents 0.3.3
File Size Uploaded
emp_agents-0.3.3.tar.gz 43.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for emp-agents 0.3.3
File Interpreter ABI Platform
emp_agents-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 105.2 kB

Release files / emp_agents-0.3.3.tar.gz

Download URL emp_agents-0.3.3.tar.gz
Size 43.4 kB
Tags Source
SHA-256 checksum
How to use checksums
650629e2079af6d8741ceef5774445e940ae574fa367728d27c589f876a42ea7
BLAKE2b-256 checksum
How to use checksums
b7340411a8fd3c77368bbab145911b4acc75afb57ad3f92d885b9607421dad1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / emp_agents-0.3.3-py3-none-any.whl

Download URL emp_agents-0.3.3-py3-none-any.whl
Size 61.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c28087c667f9a8fcfdd7b9d7578a29434d63253c4c7389bca356c8db78b8dd47
BLAKE2b-256 checksum
How to use checksums
48059118e2a572b3957aeb9452260dfe1c9cb2fe1e73b069c921ca3c15b06ff2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page