Skip to main content

An Open Source Agent Services Framework

Project description

Eidolon

An Open Source Agent Services Framework

Eidolon makes it easy to build, deploy, and manage agents and other generative ai services.

Step 0: Prerequisites

Step 1: Install Eidolon SDK

First, you need to install the Eidolon SDK. Open your terminal and run the following command:

pip install eidolon-ai-sdk

Step 2: Create an Agent

Now it is time to create your first AgentProgram. Create a directory and add a yaml file to describe your resource.

mkdir hello_world
vim hello_world/hello_world_agent.yaml
apiVersion: eidolon/v1
kind: Agent
metadata:
  name: hello_world
spec:
  description: "This is an example of a generic agent which greets people by name."
  system_prompt: "You are a friendly greeter who greets people by name while using emojis"
  actions:
    user_prompt: "Hi, my name is {{name}}"

Step 3: Run Eidolon Server

Finally, open a new terminal window and run your machine using eidolon-server.

eidolon-server -m local_dev hello_world

🚨 Getting command not found: eidolon-server? Open a new terminal window and try the command again.

⚠️ The -m local_dev option specifies using the local_dev builtin Machine resource. This machine uses in-memory symbolic memory rather than mongo, so state will disappear between server restarts.

Step 4: Try it out!

First create a process for your conversation.

curl -X POST http://0.0.0.0:8080/agents/hello_world/processes; echo

The result should be a json object with a process id. For example:

{"process_id":"hello_world-1"}

Now let's try to make a request to your server from another terminal window.

curl -X POST http://0.0.0.0:8080/agents/hello_world/processes/{process_id}/actions/converse -H 'Content-Type: application/json' -d '{"name": "World"}'; echo

Replace {process_id} with the process id you received from the previous command.

You should now see something like Hello, World! 🌍👋

And that's it! You have successfully set up and used a basic project using the Eidolon SDK. To see more endpoints on your agent machine, visit the swagger ui.

Further Reading

For full documentation, visit www.eidolonai.com.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

eidolon_ai_sdk-0.1.22.tar.gz (85.6 kB view details)

Uploaded Source

Built Distribution

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

eidolon_ai_sdk-0.1.22-py3-none-any.whl (130.4 kB view details)

Uploaded Python 3

File details

Details for the file eidolon_ai_sdk-0.1.22.tar.gz.

File metadata

  • Download URL: eidolon_ai_sdk-0.1.22.tar.gz
  • Upload date:
  • Size: 85.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure

File hashes

Hashes for eidolon_ai_sdk-0.1.22.tar.gz
Algorithm Hash digest
SHA256 0991dded8d1695f23086b633f13ebce109075c50a5e44df0fe056801b7f18be4
MD5 16e106d1bb43258112a16896e7b3c17d
BLAKE2b-256 1b8721b07a140383f2e2c6ee6878c4644d9c8f2b1ae0d91ea161d13eeb7fc1be

See more details on using hashes here.

File details

Details for the file eidolon_ai_sdk-0.1.22-py3-none-any.whl.

File metadata

  • Download URL: eidolon_ai_sdk-0.1.22-py3-none-any.whl
  • Upload date:
  • Size: 130.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure

File hashes

Hashes for eidolon_ai_sdk-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 7780fd4487e88aceee06b5571f367f074b1a54444764df35e8a6bbfa157649dd
MD5 cc330454eba4d663f03ed169dd6b5677
BLAKE2b-256 4eb2d6c35aae3e9587d30e1453104d61d22ff580496fae6552d35a074fc4d593

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