Skip to content

Commit

Permalink
update badges
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeLalor committed May 5, 2024
1 parent b4e7bdb commit 673e3d9
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 86 deletions.
22 changes: 22 additions & 0 deletions client/python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Eidolon Client
[![Website Link](https://img.shields.io/badge/EidolonAI.com-grey)](https://www.eidolonai.com/docs/introduction/)
[![GitHub Org stars](https://img.shields.io/github/stars/eidolon-ai?style=flat&logo=github)](https://github.com/eidolon-ai/eidolon)
[![PyPI - Version](https://img.shields.io/github/actions/workflow/status/eidolon-ai/eidolon/test.yml?style=flat&label=test)](https://github.com/eidolon-ai/eidolon)

## Eidolon Client and CLI

This package contains a python client to interact with the Eidolon API. It also contains a CLI which can be called with `eidolon-cli`.
```bash
eidolon-cli --help
```

Visit [www.eidolonai.com](https://www.eidolonai.com/) for more details.

🚨 To install the dependencies needed for the CLI run the following command:
```bash
pip install 'eidolon-ai-client[cli]'
```

## Thanks for your support

Eidolon is completely open source and free to use. If you like this project, [give it a star](https://github.com/eidolon-ai/eidolon) 🌟!
88 changes: 9 additions & 79 deletions sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,85 +1,15 @@
# Eidolon
## An Open Source Agent Services Framework
# Eidolon SDK
[![Website Link](https://img.shields.io/badge/EidolonAI.com-grey)](https://www.eidolonai.com/docs/introduction/)
[![GitHub Org stars](https://img.shields.io/github/stars/eidolon-ai?style=flat&logo=github)](https://github.com/eidolon-ai/eidolon)
[![PyPI - Version](https://img.shields.io/github/actions/workflow/status/eidolon-ai/eidolon/test.yml?style=flat&label=test)](https://github.com/eidolon-ai/eidolon)

## An Open Source Agent Service SDK

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

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

### Step 0: Prerequisites
Visit [www.eidolonai.com](https://www.eidolonai.com/) for more details.

* [Python 3.11](https://formulae.brew.sh/formula/python@3.11)
* [OpenAI api key](https://platform.openai.com/account/api-keys): You should have an envar OPENAI_API_KEY set to your OpenAI api key.
## Thanks for your support

### Step 1: Install Eidolon SDK

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

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

```bash
mkdir hello_world
vim hello_world/hello_world_agent.yaml
```

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

```bash
curl -X 'POST' 'http://localhost:8080/processes' -H 'Content-Type: application/json' -d '{
"agent": "hello_world",
"title": "quickstart"
}'
````

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

```json
{"process_id":"hello_world-1"}
```

Now let's try to make a request to your server from another terminal window.
```bash
curl -X POST http://0.0.0.0:8080/processes/{process_id}/agent/hello_world/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](http://0.0.0.0:8080/docs).

### Further Reading

For full documentation, visit [www.eidolonai.com](https://www.eidolonai.com/).
Eidolon is completely open source and free to use. If you like this project, [give it a star](https://github.com/eidolon-ai/eidolon) 🌟!
14 changes: 14 additions & 0 deletions webui/apps/docs/src/content/docs/docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ title: Introduction
description: This page gives a broad overview of Eidolon and the documentation
---


<div>
<a href="https://pypi.org/project/eidolon-ai-sdk/">
<img style="display: inline-block;" alt="PyPI - Version" src="https://img.shields.io/pypi/v/eidolon-ai-sdk?style=flat&label=eidolon-ai-sdk">
</a>
<a href="https://pypi.org/project/eidolon-ai-client/">
<img style="display: inline-block" alt="PyPI - Version" src="https://img.shields.io/pypi/v/eidolon-ai-client?style=flat&label=eidolon-ai-client">
</a>
<a href="https://github.com/eidolon-ai/eidolon">
<img style="display: inline-block;" alt="GitHub Test Status" src="https://img.shields.io/github/actions/workflow/status/eidolon-ai/eidolon/test.yml?style=flat&logo=github&label=test">
</a>
</div>


Welcome to the official documentation of Eidolon Agent Services, an open-source framework for designing and deploying agent-based services.

This page gives a broad overview of the framework and of this documentation, so that you know where to start if you are new to Eidolon or where to look if you need information on a specific feature.
Expand Down
12 changes: 8 additions & 4 deletions webui/apps/docs/src/content/docs/docs/recipes/chatbot.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ title: Chatbot
description: Create a multi-media chatbot powered by the llm of your choice
---

[![GitHub](https://img.shields.io/badge/eidolon-Chatbot-blue?style=flat&logo=github)](https://github.com/eidolon-ai/eidolon-chatbot)

[![Static Badge](https://img.shields.io/badge/fork-grey?style=flat&logo=forgejo&logoColor=white)](https://github.com/eidolon-ai/eidolon-chatbot/fork)

<div>
<a href="https://github.com/eidolon-ai/eidolon-chatbot">
<img style="display: inline-block;" alt="GitHub Repository" src="https://img.shields.io/badge/eidolon-Chatbot-blue?style=flat&logo=github">
</a>
<a href="https://github.com/eidolon-ai/eidolon-chatbot/fork">
<img style="display: inline-block;" alt="GitHub Forks" src="https://img.shields.io/badge/fork-grey?style=flat&logo=forgejo&logoColor=white">
</a>
</div>


This Recipe shows an example of a multi-llm multimedia enabled chatbot.
Expand Down
11 changes: 8 additions & 3 deletions webui/apps/docs/src/content/docs/docs/recipes/repo-expert.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ title: Git Search
description: Create a github RAG agent that can answer questions about a git repository
---

[![GitHub](https://img.shields.io/badge/eidolon-Git%20Search-blue?style=flat&logo=github)](https://github.com/eidolon-ai/eidolon-git-search)

[![Static Badge](https://img.shields.io/badge/fork-grey?style=flat&logo=forgejo&logoColor=white)](https://github.com/eidolon-ai/eidolon-git-search/fork)
<div>
<a href="https://github.com/eidolon-ai/eidolon-git-search">
<img style="display: inline-block;" alt="GitHub Repository" src="https://img.shields.io/badge/eidolon-Git%20Search-blue?style=flat&logo=github">
</a>
<a href="https://github.com/eidolon-ai/eidolon-git-search/fork">
<img style="display: inline-block;" alt="GitHub Forks" src="https://img.shields.io/badge/fork-grey?style=flat&logo=forgejo&logoColor=white">
</a>
</div>


In this recipe we have created a GitHub copilot who can answer questions about the Eidolon monorepo.
Expand Down

0 comments on commit 673e3d9

Please sign in to comment.