π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.
What We SupportStep 3 (Setup .env)
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.
EnvironmentStep 4 (Create Character)
This section explains what the character file is. Check it out for assistance!
ποΈCharacter FileThe 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)
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:
CLI ChatbotLast updated