LogoLogo
  • πŸŽ‰Welcome To Fabelis.AI
  • ❓What Is Fabelis?
  • πŸ›£οΈRoadmap
  • 🀝How To Contribute
  • Playground
    • πŸ›What is the Playground?
    • Chatroom
    • Tool Configuration
    • Character
    • Settings
  • MCP
    • Overview
    • Run a Client
  • Create a Server
  • Active Backends
  • AGENT
    • πŸƒHow To Run
    • 🏌️Character File
    • CLI Chatbot
    • Twitter Agent
    • πŸ‡ΊπŸ‡ΈTruth Social
    • Discord Bot
    • Telegram Bot
  • What We Support
  • Environment
  • Support
Powered by GitBook
On this page
  • Step 1 (Clone Repo)
  • Step 2 (Configuration)
  • Step 3 (Setup .env)
  • Step 4 (Create Character)
  • Step 5 (Run The Agent)
  1. AGENT

How To Run

Step 1 (Clone Repo)

Using the following command create a local instance of this repo.

git clone [email protected]:fabelis/agent.git

Step 2 (Configuration)

To customize your agent edit your config.json file in the root directory. Here's an example of what it looks like below.

{
    // Model used for prompting
    "completion_provider": "anthropic",
    // Model to convert data to embeddings, options include local | openai
    "embedding_provider": "local",
    // Vector Database to store embeddings, currently supports local | mongodb
    "db": "local",
    // list your clients here 
    // [KEYS] indicate the client's name 
    // [VALUE] is the clients config (if no config is needed use true)
    "clients": {
        "cli": true
    }
}

What We Support below shows all integrated providers/dbs/clients.

Step 3 (Setup .env)

Only fill in values that are necessary. This is dependent on your config.json file in Step 2.

All secrets are stored within the .env file. You can use .env.example as a reference.

Environment shows an explanation for each environment variable as a reference.

Step 4 (Create Character)

All character files MUST be located in the characters folder in the root directory of the project.

This section explains what the character file is. Check it out for assistance!

The program defaults to using the character located under character.example.json. If you would like to load a custom character file use the --character flag when launching. Here's an example:

cargo run -- --character fabelis.json

Step 5 (Run The Agent)

If no clients are used in the config.json then nothing will happen when you run the program.

As explained above you can run the program using the command below, but to load your custom character use the character flag.

cargo run

To see a simple example of running your agent check out the link below:

PreviousActive BackendsNextCharacter File

Last updated 5 months ago

πŸƒ
What We Support
Environment
🏌️Character File
CLI Chatbot