AGiXT Interactive

March 30, 2025 ยท View on GitHub

GitHub GitHub GitHub

GitHub npm

Discord Twitter

AGiXT_New

AGiXT Interactive is a NextJS application allowing interaction with AGiXT agents with extensive administration options.

Videos

Demonstration of creating a new user and setting up an AGiXT agent connected to GitHub:

https://github.com/user-attachments/assets/5dceb1b2-dfbc-4c2d-b648-974882eff08d

Demonstration of creating a new user and setting up an AGiXT agent's mandatory context training:

https://github.com/user-attachments/assets/2111009a-17e0-42e5-bcbc-843d127495e0

Getting Started

If you don't already have AGiXT, follow this link for instructions to set it up.

git clone https://github.com/agixt/interactive
cd interactive

Create a .env file and set the AGIXT_SERVER to your AGiXT server and AGIXT_AGENT for the default agent to use, then save and run the development server locally.

AGIXT_SERVER=https://localhost:7437
AGIXT_AGENT=XT

Local Development

Install dependencies and run the development server.

npm install
npm run dev

Access at http://localhost:3437

Environment Variables

The preferred method of configuration for standalone NextJS applications is using a .env file. The application will automatically handle the NEXT_PUBLIC_ prefix internally, so you should set variables without this prefix in your .env file.

The following environment variables can be set:

Variable NameDefault ValueDescription
APP_NAMEAGiXTThe name of the AGiXT application.
APP_DESCRIPTIONAn AGiXT application.Description of the AGiXT application.
APP_URIhttp://localhost:3437The URI of the AGiXT application.
TZAmerica/New_YorkThe timezone used by the application.
DEFAULT_THEME_MODEdarkAlternative setting for the default theme mode.
PRIVATE_ROUTES/chat,/team,/settings/Routes that require authentication.
AGIXT_SERVERhttp://agixt:7437The server address for AGiXT.
ALLOW_EMAIL_SIGN_INtrueWhether to allow email sign-in.
AGIXT_CONVERSATION-The name of the conversation in AGiXT.
INTERACTIVE_UIchatThe interactive UI mode for AGiXT.
AGIXT_FOOTER_MESSAGEPowered by AGiXTThe footer message displayed in AGiXT.
AGIXT_RLHFtrueWhether RLHF (Reinforcement Learning from Human Feedback) is enabled.
AGIXT_FILE_UPLOAD_ENABLEDtrueWhether file upload is enabled.
AGIXT_VOICE_INPUT_ENABLEDtrueWhether voice input is enabled.
AGIXT_ALLOW_MESSAGE_EDITINGtrueWhether to allow message editing.
AGIXT_ALLOW_MESSAGE_DELETIONtrueWhether to allow message deletion.
AGIXT_SHOW_OVERRIDE_SWITCHEStts,websearchWhich override switches to show.
AGIXT_AGENTAGiXTThe default agent used in AGiXT.

Configuration can also be set via search params / query params, if enabled via the AGIXT_ENABLE_SEARCHPARAM_CONFIG setting.

Configuration Priority

The configuration system follows this priority order:

  1. Search parameters / query parameters (if enabled)
  2. Environment variables set in the .env file
  3. Default values defined in the application

Example Advanced Configuration

For a more customized setup, you might use a .env file like:

APP_NAME=AGiXT
APP_DESCRIPTION=Custom AGiXT Implementation
AGIXT_SERVER=https://my-agixt-api.example.com
AGIXT_AGENT=CustomAgent
AGIXT_SHOW_SELECTION=agent,conversation,prompt
AGIXT_FILE_UPLOAD_ENABLED=true
AGIXT_VOICE_INPUT_ENABLED=true
AGIXT_SHOW_OVERRIDE_SWITCHES=tts,websearch,vision

Contributing

Contributions are welcome! Please see the Contributing Guide for more information.