AI-Agent-Host

3 months ago 4

The AI Agent Host is a module-based environment designed to facilitate rapid experimentation and testing. It includes a docker-compose configuration with QuestDB, Grafana, Code-Server and Nginx. The AI Agent Host provides a seamless interface for managing and querying data, visualizing results, and coding in real-time.

The AI Agent Host is built specifically for LangChain, a framework dedicated to developing applications powered by language models. LangChain recognizes that the most powerful and distinctive applications go beyond simply utilizing a language model and strive to be data-aware and agentic. Being data-aware involves connecting a language model to other sources of data, enabling a comprehensive understanding and analysis of information. Additionally, being agentic allows a language model to actively interact with its environment. The AI Agent Host aligns with these principles and serves as a framework that supports LangChain's vision, providing a module-based environment for seamless data management, visualization, and real-time coding, thereby empowering developers to create advanced language model-driven applications.

  1. QuestDB: QuestDB is a high-performance, open-source time-series database. It allows for efficient storage and querying of time-series data, making it ideal for working with real-time data streams.

  2. Grafana: Grafana is a popular open-source platform for data visualization and monitoring. It provides a rich set of features for creating interactive dashboards and visualizing data from various sources.

  3. Code-Server: Code-Server is a web-based IDE based on Visual Studio Code. It provides a familiar coding environment with features such as code completion, syntax highlighting, and debugging capabilities.

  4. Nginx: Nginx is a widely-used web server and reverse proxy server. It enhances the AI Agent Host by providing additional functionality for routing and load balancing, improving performance and security

To use the AI Agent Host, follow these steps:

  1. Set up or use an existing environment with Docker installed.

  2. Clone the AI Agent Host repository and navigate to the docker directory.

git clone https://github.com/quantiota/AI-Agent-Host.git cd AI-Agent-Host/docker
  1. Follow all prerequisite steps that should be completed before bringing the Docker Stack. Refer to the Docker Readme file for guidance

  2. Launch the AI Agent Host using the provided docker-compose configuration.

docker compose up --build -d
  1. Once the services are up and running, you can access the AI Agent Host interfaces:
  1. To connect the AI Agent Host to a remote JupyterHub environment from Code-Server:
  • Set up or use an existing remote JupyterHub that includes the necessary dependencies for working with your notebooks and data.

  • Connect to the remote JupyterHub environment from within the Code-Server interface provided by the AI Agent Host

Start working with your notebooks and data, using the pre-installed tools and libraries that are included in your remote environment.

AI Agent Hosting Example: Claude Code

This example shows how to add an AI agent to the AI Agent Host without changing the core stack. The agent runs in its own service and talks directly to Code-Server, QuestDB and Grafana over the internal Docker network, preserving the Host’s role as an agentic environment.

Claude Code is functioning like a human developer with terminal access — using curl, database clients, and file operations rather than AI-specific middleware layers.
The agentic behavior comes from its ability to autonomously chain these basic system tools together, not from specialized AI agent frameworks.

  • Updated docker/vscode/Dockerfile to include Claude Code installation.
  • Updated docker/docker-compose.yaml to mount persistent config/data volumes for Claude Code.
  • instructions README.md to run Claude Code
└── 📁claude-code └── 📁docker └── 📁vscode ├── Dockerfile ├── docker-compose.yaml └── README.md

AI Agent Host Architecture Diagram

AI Agent Host diagram

📝 High resolution diagram Application architecture diagram

Read Entire Article