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:
  implementation: GenericAgent
  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"
  user_prompt: "Hi, my name is {{name}}"
  input_schema:
    name:
      type: string
      description: The caller's 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!

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/programs/question -H 'Content-Type: application/json' -d '{"name": "World"}'; echo

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.16.tar.gz (86.3 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.16-py3-none-any.whl (129.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eidolon_ai_sdk-0.1.16.tar.gz
  • Upload date:
  • Size: 86.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure

File hashes

Hashes for eidolon_ai_sdk-0.1.16.tar.gz
Algorithm Hash digest
SHA256 302b73169c883eed6d58598f94d3e8bdd6789b6ddb3e0837b0ed01ed68331d30
MD5 bde28e2794ce1a00ef770188751dcea0
BLAKE2b-256 1f0e0dc42be4b5a4fe873fc1122ff9aebf7fba9d589eaef519e17868b7060016

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eidolon_ai_sdk-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 129.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1019-azure

File hashes

Hashes for eidolon_ai_sdk-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 d37fe1c86eb46d5a7904e02509fbacae9b058808c5f90b3e03c024f7e61cd220
MD5 105454abb263ada917cbef5970c03d48
BLAKE2b-256 5bdf8de3e746b55999bbee320f6f748934ef7ff4daaf26d3abb57317cbce0063

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