Monkeys is an open source tool for build workflow-centric AI applications.
Note: We are currently iterating rapidly, so backwards compatibility is not guaranteed until a stable version (1.0.0) is released.
You can read the documentation here: https://inf-monkeys.github.io/docs/.
Monkeys Consists of the following key components:
- Monkeys Server: The main entrypoint
- Conductor: A microservices orchestration engine.
- Tools: HTTP Service exposes stanard RESTFul API that meet Monkeys standards, can be writen in any languages, deployed anywhere.
-
Node 18: This project requires node version at least 18.
-
yarn: We use yarn as the Node Package Manager.
-
Conductor(Optional): Conductor is a workflow orchestration engine, we recommand use Docker to run Conductor, with one command bellow:
docker pull infmonkeys/conductor:1.0.0 docker run --name conductor -p 8080:8080 -d infmonkeys/conductor:1.0.0
You can verify whether conductor running corrctly by use the following command:
curl http://localhost:8080/api
If show something like this, it's working fine:
{"timestamp":"2024-03-21T10:29:36.635+00:00","status":404,"error":"Not Found","path":"/api"}
If you do not install conductor, you won't be able to use the Workflow feature, but others still works fine.
-
Redis(Optional): We use inmemory cache as default, for test purpose, you can just skip this.
-
Postgres/MySQL(Optional): We use sqlite as default storage engine, for test purpose, you can just skip this.
-
Clone the repo
git clone https://github.com/inf-monkeys/monkeys.git
-
Go to
monkeys
foldercd monkeys
-
Install Node Modules
yarn
-
Run the server:
yarn start
-
Go to
ui
foldercd ui
-
Install Node Modules
yarn
-
Update
.env
cp .env.example .env
Set
SERVER_ENDPOINT
to your local server,http://localhost:3000
for example. -
Start UI
yarn dev
That's all, you are ready to go!
We provide a docker-compose yaml, check the docs.
We provide a helm chart, check the docs.
Here is a detailed list of existing awesome monkey tools: https://github.com/inf-monkeys/awesome-monkey-tools.
We provided detailed information on how to write your own monkey tool, it's as simple as writing standard RESTFul APIs. You can read more on this topic at Write your own tools
See all configuration values here.
After you start the project, you can visit the following OpenAPI documentations:
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project
- Create your Feature Branch (
git checkout -b feat/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request