.env.example 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # ARP Agent Environment Variables
  2. # Copy this file to .env and fill in your values
  3. # ARP Server Configuration
  4. ARP_URL=http://localhost:8080
  5. ARP_USERNAME=mira@slang.com
  6. ARP_PASSWORD=mira
  7. # OpenAI API Key (required for LLM agent)
  8. OPENAI_API_KEY=empty
  9. # OpenAI Model Configuration (required)
  10. OPENAI_MODEL=openai/gpt-oss-20b
  11. OPENAI_TEMPERATURE=0.5
  12. OPENAI_MAX_TOKENS=4096
  13. # OpenAI Base URL (optional - for custom LLM endpoints)
  14. # Use this to point to a local LLM server, Azure OpenAI, vLLM, or other OpenAI-compatible APIs
  15. # OPENAI_BASE_URL=http://localhost:8000/v1
  16. OPENAI_BASE_URL=http://localhost:1234/v1
  17. # ARP Agent Identity Configuration (optional)
  18. # These define the agent's personality, specialization, and goals
  19. ARP_AGENT_NAME=AI Assistant
  20. ARP_AGENT_SPECIALIZATION=general assistance
  21. ARP_AGENT_VALUES=helpfulness, accuracy, and collaboration
  22. ARP_AGENT_GOALS=help teammates accomplish their goals and contribute to the team's success
  23. # Queue Configuration (optional)
  24. # Maximum number of events to queue for processing
  25. ARP_MAX_QUEUE_SIZE=100
  26. # Agent Iteration Configuration (optional)
  27. # Maximum number of LLM iterations for tool call processing
  28. # This limits how many times the agent will call tools in a single request
  29. # Default: 10
  30. ARP_MAX_ITERATIONS=10
  31. # MCP Configuration (optional)
  32. # Path to MCP server configuration JSON file
  33. # This allows the agent to connect to external MCP servers for additional tools
  34. # Example: /path/to/mcp.json
  35. # MCP_CONFIG_PATH=/path/to/mcp.json
  36. # Example configurations for different roles:
  37. # HR Specialist:
  38. # ARP_AGENT_NAME=HR Bot
  39. # ARP_AGENT_SPECIALIZATION=HR and people operations
  40. # ARP_AGENT_VALUES=Education & Public Knowledge and beautiful flowers
  41. # ARP_AGENT_GOALS=help your teammates build and operate the services you are assigned to
  42. # Engineering Assistant:
  43. # ARP_AGENT_NAME=Dev Assistant
  44. # ARP_AGENT_SPECIALIZATION=software development and DevOps
  45. # ARP_AGENT_VALUES=code quality, documentation, and continuous improvement
  46. # ARP_AGENT_GOALS=help developers ship reliable software efficiently
  47. # LLM Retry Configuration (optional)
  48. # Maximum number of retry attempts for LLM API calls when connection fails
  49. # Default: 3
  50. ARP_LLM_MAX_RETRIES=3
  51. # Initial delay in seconds between retry attempts (doubles each retry)
  52. # Default: 1
  53. ARP_LLM_RETRY_DELAY=1
  54. # MCP Reconnection Configuration (optional)
  55. # Delay in seconds before attempting to reconnect when MCP connection is lost
  56. # Default: 5
  57. ARP_MCP_RECONNECT_DELAY=5