Skip to content

Commit 0e1309e

Browse files
authored
Merge pull request #29 from Qredence/0.2.3
0.2.3
2 parents 3b3c2b2 + 0e27e92 commit 0e1309e

File tree

146 files changed

+7326
-10398
lines changed

Some content is hidden

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

146 files changed

+7326
-10398
lines changed

.pre-commit-config.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
- id: check-toml
10+
- id: debug-statements
11+
12+
- repo: https://github.com/psf/black
13+
rev: 24.10.0
14+
hooks:
15+
- id: black
16+
17+
- repo: https://github.com/pycqa/isort
18+
rev: 5.13.2
19+
hooks:
20+
- id: isort
21+
22+
- repo: https://github.com/charliermarsh/ruff-pre-commit
23+
rev: v0.3.0
24+
hooks:
25+
- id: ruff
26+
args: [ --fix, --exit-non-zero-on-fix ]
27+
28+
- repo: https://github.com/pre-commit/mirrors-mypy
29+
rev: v1.9.0
30+
hooks:
31+
- id: mypy
32+
additional_dependencies: [ types-requests>=2.32.0, types-tabulate>=0.9.0 ]

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12.9
1+
3.13

Dockerfile

Lines changed: 0 additions & 12 deletions
This file was deleted.
File renamed without changes.

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,11 @@ Follow these steps to get Agentic Kernel up and running on your local machine.
111111
2. **Configure Environment Variables:** Ensure you have the necessary API keys set in your `.env` file (or the specific `.env` within the `adk_chat` directory if you prefer):
112112
```
113113
OPENAI_API_KEY=your_openai_api_key
114-
GOOGLE_API_KEY=your_google_api_key
114+
GOOGLE_VERTIAI_API_KEY=your_google_vertai_api_key
115+
GEMINI_API_KEY=your_google_ai_studio_key
116+
117+
# Note: The old GOOGLE_API_KEY is deprecated. Please migrate to GOOGLE_VERTIAI_API_KEY and GEMINI_API_KEY.
118+
115119
```
116120

117121
## Running the Example
@@ -222,9 +226,9 @@ bug fixes and improvements, and coding standards.
222226

223227
## 📜 License
224228

225-
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
229+
This project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for details.
226230

227231
## 🐛 Debugging
228232

229233
* The `src/debug/` directory contains scripts useful for isolating and testing specific components of the kernel.
230-
Explore these scripts if you encounter issues or want to understand individual parts better.
234+
Explore these scripts if you encounter issues or want to understand individual parts better.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# AgenticKernel Architecture
2+
3+
This document details the architecture and component interactions within AgenticKernel, focusing on how agents
4+
communicate, collaborate, and accomplish complex tasks.
5+
6+
## Table of Contents
7+
8+
1. Communication Patterns
9+
2. Agent Collaboration Models
10+
3. Data Flow Between Components
11+
4. System Integration Points
12+
5. Synchronization Mechanisms
13+
6. Sequence Diagrams
14+
15+
---
16+
17+
## Communication Patterns
18+
19+
AgenticKernel implements several communication patterns for effective agent collaboration:
20+
21+
### Point-to-Point Communication
22+
23+
Direct communication between two agents, typically used for specific queries or responses:
24+
25+
```
26+
Agent A → Agent B: Direct request or information transfer
27+
Agent B → Agent A: Direct response or acknowledgment
28+
```
29+
30+
### Broadcast Communication
31+
32+
(See full details in the original component_interaction.md)
33+
34+
---
35+
36+
## Additional Architectural Docs
37+
38+
- [Component Interaction](../architecture/component_interaction.md)
39+
- [System Overview](../architecture/system-overview.md)
40+
- [Workflow Architecture](../architecture/workflow_architecture.md)

docs/agentic-kernel/concepts.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# AgenticKernel Concepts
2+
3+
AgenticKernel is built around several core concepts that enable flexible and powerful AI agent systems.
4+
5+
## Core Concepts
6+
7+
### Agents
8+
9+
Autonomous entities capable of perceiving, reasoning, and acting within an environment. Agents can communicate,
10+
collaborate, and delegate tasks.
11+
12+
### Tasks
13+
14+
Discrete units of work that agents can execute, delegate, or decompose. Managed by the TaskManager.
15+
16+
### Memory
17+
18+
Short-term and long-term memory modules for agents, enabling context retention and learning.
19+
20+
### Communication (A2A Protocol)
21+
22+
Support for the Agent-to-Agent (A2A) protocol, enabling discovery, messaging, and collaboration between agents via
23+
HTTP/JSON-RPC 2.0.
24+
25+
### Plugins & Extensions
26+
27+
Extend agent capabilities via plugins for tools, integrations, and new behaviors.
28+
29+
### Orchestration
30+
31+
Coordinating multi-agent workflows, task decomposition, and lifecycle management.
32+
33+
---
34+
35+
For more details, see [architecture.md](architecture.md) and the API reference.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Advanced AgenticKernel Usage
2+
3+
This guide covers advanced topics for power users and developers extending AgenticKernel.
4+
5+
## Custom Agents
6+
7+
- How to implement and register your own agent classes
8+
- Example: Creating a custom agent with specialized reasoning
9+
10+
## Plugins and Extensions
11+
12+
- How to add plugins for new tools, memory types, or integrations
13+
- Example: Writing a plugin for a third-party API
14+
15+
## Debugging and Troubleshooting
16+
17+
- Logging, error handling, and diagnostics
18+
- Tips for debugging multi-agent workflows
19+
20+
## Integrating with AgenticFleet
21+
22+
- How to use AgenticKernel as part of a larger AgenticFleet deployment
23+
- Best practices for interoperability
24+
25+
---
26+
For more, see the [API Reference](../api/).
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Agent Communication Protocols in AgenticKernel
2+
3+
This guide covers the communication protocols and interaction patterns available in AgenticKernel, including A2A (
4+
Agent-to-Agent) protocol support.
5+
6+
## Supported Protocols
7+
8+
- **A2A (Agent-to-Agent):** HTTP/JSON-RPC 2.0 based protocol for agent interoperability. Key features include discovery,
9+
tasks, messages, artifacts, lifecycle states, and streaming.
10+
- **Custom Protocols:** Extendable via plugins for custom agent communication.
11+
12+
## Key Concepts
13+
14+
- **AgentCard:** Published at `/.well-known/agent.json` for discovery.
15+
- **Task Lifecycle:** States like `submitted`, `working`, `completed`.
16+
- **Messages & Artifacts:** Rich data exchange between agents.
17+
18+
For implementation details,
19+
see [developer/agent_communication_protocols.md](../../developer/agent_communication_protocols.md)
20+
and [developer/creating_a2a_compatible_agents.md](../../developer/creating_a2a_compatible_agents.md).
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Memory in AgenticKernel
2+
3+
AgenticKernel provides flexible memory management for agents, supporting both short-term and long-term memory modules.
4+
This guide covers core memory concepts and configuration options.
5+
6+
## Types of Memory
7+
8+
- **Short-term memory:** For immediate task context and working memory.
9+
- **Long-term memory:** Persistent, extensible storage for agent knowledge.
10+
11+
## Customizing Memory
12+
13+
- Configure memory modules via agent configuration options.
14+
- Extend memory with plugins for new storage backends or retrieval strategies.
15+
16+
For more details, see [developer/memory.md](../../developer/memory.md).

0 commit comments

Comments
 (0)