Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/polyfact/simple-ai-agent


https://github.com/polyfact/simple-ai-agent

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

🤖 Simple AI Agent


Made using PolyFact

📰 A very simple agent that can search on wikipedia and perform basic calculations 📰

## 🚀 Getting started

To start the agent, clone the repository:

```bash
git clone https://github.com/polyfact/simple-ai-agent.git
```

Get your your polyfact token by signing up with github here: https://app.polyfact.com

Add your PolyFact Token in the `POLYFACT_TOKEN` environment variable:

```bash
export POLYFACT_TOKEN= # The token displayed on https://app.polyfact.com
```

You can now ask a question to the agent and see its reasoning by calling:

```bash
yarn start "Would getting a mole (unit) of moles (animal) in space in the volume of a cubic football field be enough to create a blackhole ? If not how much energy would it release by expanding ?"
```

## 🧑‍💻 Contributing

This repository is just an example but of course you can still create issues or PR if you find a bug ! You can also contribute to the [SDK](https://github.com/polyfact/polyfact-node) or to the [API](https://github.com/polyfact/polyfact-api-go) !