1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# OpenFunctions Configuration File
# This file configures the OpenFunctions framework for your project.
[]
# The name of your OpenFunctions project
= "my-openfunctions-project"
# The version of your project (follows semantic versioning)
= "0.1.0"
# A brief description of your project
= "My collection of AI tools and agents"
# The author(s) of the project
= ["Your Name <your.email@example.com>"]
# Directories where your tools are stored (relative to this config file)
= ["tools", "scripts"]
# Directories where your agents are stored (relative to this config file)
= ["agents"]
[]
# Maximum execution timeout for tools (in seconds)
= 60
# Maximum memory usage for tool execution (in MB)
= 512
# Whether to enable sandboxed execution (recommended for production)
= false
# Environment variables to pass to all tools
[]
# Example: API_KEY = "your-api-key-here"
# NODE_ENV = "development"
[]
# Configuration for AI/LLM integration (optional)
# Uncomment and configure if using OpenAI or other AI services
# OpenAI API configuration
# [ai.openai]
# api_key = "your-openai-api-key"
# model = "gpt-4"
# max_tokens = 2000
# temperature = 0.7
# Custom AI endpoint configuration
# [ai.custom]
# endpoint = "https://your-ai-endpoint.com/v1"
# api_key = "your-api-key"
# model = "your-model-name"
[]
# Log level: trace, debug, info, warn, error
= "info"
# Log format: json, pretty, compact
= "pretty"
# Whether to log to file
= false
# Log file path (if log_to_file is true)
# log_file = "openfunctions.log"