Skip to content

Commit f1f263b

Browse files
authored
Feat/agentos full app (#40)
* move agent-ui and remove old agent os templates Signed-off-by: Adam Shedivy <[email protected]> * feat: implement Tool Call Panel with dynamic display of tool calls Signed-off-by: Adam Shedivy <[email protected]> * feat: add streaming tool calls management and in-progress tracking Signed-off-by: Adam Shedivy <[email protected]> * enable agent-ui service in Docker Compose configuration Signed-off-by: Adam Shedivy <[email protected]> * Refactor IBM i Agent Infrastructure - Removed the `verify_watsonx_config.py` script as it is no longer needed. - Introduced `agent_ids.py` to define official agent IDs for consistency across the system. - Created `config.yaml` to manage agent configurations, including models and settings for various agents. - Added `config_helper.py` to provide utility functions for applying agent configurations. - Implemented `config_manager.py` to handle loading and parsing of agent configuration files. - Developed `config_models.py` to centralize application configuration, loading values from environment variables with validation. Signed-off-by: Adam Shedivy <[email protected]> * Refactor agent creation and configuration - Consolidated agent creation logic into a new `create_ibmi_agent` function in `base_agent.py` to streamline agent instantiation with shared configurations. - Updated `get_performance_agent`, `get_sysadmin_discovery_agent`, `get_sysadmin_browse_agent`, `get_sysadmin_search_agent` functions to utilize the new factory method. - Removed redundant parameters and settings from individual agent functions, enhancing maintainability. - Simplified error messages and improved code readability by reducing line lengths and consolidating similar lines. - Cleaned up imports and ensured consistent formatting across multiple files. Signed-off-by: Adam Shedivy <[email protected]> * fix package versioning and watsonx models Signed-off-by: Adam Shedivy <[email protected]> * update config docs Signed-off-by: Adam Shedivy <[email protected]> * improve diagram contrast Signed-off-by: Adam Shedivy <[email protected]> * update README to rename Docker Compose Stack to AgentOS Stack Signed-off-by: Adam Shedivy <[email protected]> * refactor README to streamline agent documentation and improve clarity Signed-off-by: Adam Shedivy <[email protected]> * remove whitespace Signed-off-by: Adam Shedivy <[email protected]> * update default model config Signed-off-by: Adam Shedivy <[email protected]> --------- Signed-off-by: Adam Shedivy <[email protected]>
1 parent 71040ed commit f1f263b

File tree

169 files changed

+3721
-5107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+3721
-5107
lines changed

agents/README.md

Lines changed: 32 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -2,131 +2,6 @@
22

33
AI agents for IBM i system administration and monitoring using Model Context Protocol (MCP) tools. This directory contains multiple agent framework implementations, deployment infrastructure, and web interfaces for interacting with intelligent IBM i system agents.
44

5-
## Directory Structure
6-
7-
```
8-
agents/ # Root directory for IBM i MCP agents
9-
├── agent-ui # Next.js web interface for agents
10-
├── aws # AWS deployment infrastructure
11-
│ └── ibmi-agent-infra-aws
12-
├── docker # Docker-based deployment infrastructure
13-
│ └── ibmi-agent-infra
14-
├── frameworks # Different agent framework implementations
15-
│ ├── agno
16-
│ └── langchain
17-
└── packages # Reusable packages and SDKs
18-
└── ibmi-agent-sdk
19-
```
20-
21-
## Getting Started
22-
23-
### Prerequisites
24-
25-
- **Python 3.12+** (for agent frameworks)
26-
- **uv** (Python package manager)
27-
- **Node.js 20+** (for Agent UI)
28-
- **MCP Server** running in HTTP mode
29-
30-
31-
## Frameworks
32-
33-
The `frameworks/` directory provides different agent framework implementations, allowing you to choose the best solution for your use case.
34-
35-
### Current Frameworks
36-
| Framework | Language | Description |
37-
|-----------|----------|-------------|
38-
| [Agno](./frameworks/agno) | Python | Agents built with Agno's AgentOS
39-
| [LangChain](./frameworks/langchain) | Python | Agents built with LangChain framework |
40-
41-
### Agno (AgentOS)
42-
43-
The Agno implementation uses [Agno's AgentOS framework](https://agno.com) to provide intelligent agents that connect to IBM i MCP tools via HTTP transport.
44-
45-
**Features:**
46-
- Multi-agent orchestration with specialized agents
47-
- Built-in evaluation framework for testing reliability
48-
- Tool filtering for focused agent capabilities
49-
- WatsonX AI model integration support
50-
- HTTP-based MCP transport for distributed deployments
51-
52-
**Quick Start:**
53-
```bash
54-
cd frameworks/agno
55-
# Set your OpenAI API key
56-
export OPENAI_API_KEY=your_openai_api_key_here
57-
# Run multi-agent system
58-
uv run ibmi_agentos.py
59-
```
60-
61-
**Documentation:** See [frameworks/agno/README.md](frameworks/agno/README.md)
62-
63-
### LangChain
64-
65-
**Status:** Planned
66-
67-
Future implementation using [LangChain](https://langchain.com) framework for agent development. This will provide:
68-
- LangChain's extensive ecosystem integration
69-
- Alternative agent orchestration patterns
70-
- Additional model provider options
71-
- LangChain-specific tooling and utilities
72-
73-
## Agent UI
74-
75-
A modern Next.js web interface for interacting with agent frameworks.
76-
77-
**Features:**
78-
- Real-time chat interface with agents
79-
- AgentOS endpoint configuration
80-
- Markdown rendering for agent responses
81-
- Responsive design for desktop and mobile
82-
83-
**Quick Start:**
84-
```bash
85-
cd agent-ui
86-
pnpm install # or npm install
87-
pnpm dev # or npm run dev
88-
# Open http://localhost:3000
89-
```
90-
91-
**Documentation:** See [agent-ui/README.md](agent-ui/README.md)
92-
93-
## Deployment Infrastructure
94-
95-
Deploy IBM i Agno agents using either Docker-based or AWS-based infrastructure.
96-
97-
> More info: [Agno Deployment Documentation](https://docs.agno.com/deploy/introduction)
98-
99-
| Option | Description |
100-
|---------|-------------|
101-
| [Docker](./docker/ibmi-agent-infra) | Containerized agent deployments using Docker Compose |
102-
| [AWS](./aws/ibmi-agent-infra-aws) | Cloud-based deployments using AWS infrastructure (in progress) |
103-
104-
105-
### Docker
106-
107-
Docker-based infrastructure for containerized agent deployments.
108-
109-
- **Location:** `docker/ibmi-agent-infra/`
110-
- **Documentation:** See [README](docker/ibmi-agent-infra/README.md)
111-
112-
**Features:**
113-
- Containerized agent runtime
114-
- Docker Compose configurations
115-
- Isolated agent environments
116-
- Easy local development setup
117-
118-
### AWS (In Progress)
119-
120-
AWS infrastructure for cloud-based agent deployments.
121-
122-
- **Location:** `aws/ibmi-agent-infra-aws/`
123-
- **Documentation:** See [README](aws/ibmi-agent-infra-aws/README.md)
124-
125-
**Features:**
126-
- AWS deployment configurations
127-
- Scalable cloud infrastructure
128-
- Production-ready deployment patterns
129-
1305
## Agent Capabilities
1316

1327
All agent frameworks connect to the IBM i MCP server and can perform tasks such as:
@@ -142,14 +17,41 @@ All agent frameworks connect to the IBM i MCP server and can perform tasks such
14217
- Service status checks
14318

14419
- **Database Operations**
145-
- SQL query execution
14620
- Table and schema exploration
14721
- Data retrieval and analysis
14822

149-
- **Troubleshooting**
150-
- Error message analysis
151-
- System health checks
152-
- Automated diagnostics
23+
24+
## Getting Started
25+
26+
### Prerequisites
27+
28+
- **Python 3.12+** (for agent frameworks)
29+
- **uv** (Python package manager)
30+
- **Node.js 20+** (for Agent UI)
31+
- **MCP Server** running in HTTP mode
32+
33+
## Available Agent SDKs
34+
35+
The `frameworks/` directory provides different agent SDK implementations, allowing you to choose the best solution for your use case.
36+
37+
| SDK | Language | Status | Documentation |
38+
|-----|----------|--------|---------------|
39+
| [Agno](./frameworks/agno) | Python | ✅ Active | [frameworks/agno/README.md](frameworks/agno/README.md) |
40+
| [LangChain](./frameworks/langchain) | Python | ✅ Active | [frameworks/langchain/README.md](frameworks/langchain/README.md) |
41+
| [Google ADK](./frameworks/google_adk) | Python | ✅ Active | [frameworks/google_adk/README.md](frameworks/google_adk/README.md) |
42+
43+
## Deployment Infrastructure
44+
45+
Deploy IBM i agents using Agno AgentOS stack with Docker.
46+
47+
**Documentation:** See [docker/ibmi-agent-infra/README.md](docker/ibmi-agent-infra/README.md)
48+
49+
**What's Included:**
50+
- **AgentOS API**: RESTful API for agent interactions
51+
- **IBM i MCP Server**: Automatically configured and running
52+
- **PostgreSQL Database**: Session and memory persistence
53+
- **Agent UI**: Optional web interface
54+
- **Multi-provider LLM Support**: watsonx, OpenAI, Anthropic
15355

15456

15557
## Resources

agents/agent-ui/src/lib/audio.ts

Lines changed: 0 additions & 64 deletions
This file was deleted.

agents/agent-ui/src/lib/constructEndpointUrl.ts

Lines changed: 0 additions & 20 deletions
This file was deleted.

agents/agent-ui/src/lib/modelProvider.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

agents/agent-ui/src/lib/utils.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

agents/aws/ibmi-agent-infra-aws/.dockerignore

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)