Skip to content

Open-source AI Agent Development Framework built in Java - Build intelligent conversational agents with Gemini, and Free AI Models

License

Notifications You must be signed in to change notification settings

TechCognita-Community/JavaChatX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ’¬ JavaChatX

Build GitHub issues GitHub stars GitHub license Security Documentation

Open-source AI Agent Development Framework built in Java.
Build custom agents, integrate with APIs (OpenAI, Gemini, Hugging Face), manage context, and automate workflows.

Core Features

  • Modular agent framework
  • Chat engine
  • API and plugin system
  • Context memory management
  • CLI/REST/Web Dashboard (upcoming)

Quick Start

AgentConfig config = AgentConfig.builder()
  .name("SupportAgent")
  .model("gpt-4")
  .build();

OpenAIAdapter openai = new OpenAIAdapter("your-api-key");
Agent agent = new Agent(config, openai);
String response = agent.chat("Hello! Can you help me?");
System.out.println(response);

πŸš€ Project Overview

JavaChatX is a modular framework that allows developers to build, train, and deploy intelligent conversational agents that can communicate, reason, and automate tasks through a unified chat interface.

🧠 Tech Stack

  • Language: Java 17+
  • Build Tool: Maven
  • Dependencies: Gson (JSON processing), SLF4J/Logback (Logging), JUnit 5 (Testing)

🎯 Core Features

  • Modular AI Agent Architecture: Create custom agents with specific capabilities
  • Built-in Chat Engine: Handle message processing and session management
  • API-Ready Design: Integrate with OpenAI, Gemini, Hugging Face, and other AI services
  • Context Memory Management: Maintain conversation state and history
  • Extensible Plugin System: Add new capabilities through plugins
  • CLI + Web Dashboard: Command-line interface and web-based management (upcoming)

πŸ“ Project Structure

JavaChatX/
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ ISSUE_TEMPLATE/
β”‚   β”‚   β”œβ”€β”€ bug_report.md
β”‚   β”‚   └── feature_request.md
β”‚   β”œβ”€β”€ PULL_REQUEST_TEMPLATE.md
β”‚   └── workflows/
β”‚       β”œβ”€β”€ java-ci.yml
β”‚       β”œβ”€β”€ security-scan.yml
β”‚       β”œβ”€β”€ docs-deployment.yml
β”‚       β”œβ”€β”€ code-format.yml
β”‚       β”œβ”€β”€ performance-test.yml
β”‚       β”œβ”€β”€ dependency-update.yml
β”‚       └── release.yml
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main/
β”‚   β”‚   β”œβ”€β”€ java/
β”‚   β”‚   β”‚   └── com/
β”‚   β”‚   β”‚       └── techcognita/
β”‚   β”‚   β”‚           └── javachatx/
β”‚   β”‚   β”‚               β”œβ”€β”€ agent/         # AI agent implementations
β”‚   β”‚   β”‚               β”œβ”€β”€ api/           # API connectors for external services
β”‚   β”‚   β”‚               β”œβ”€β”€ chat/          # Chat engine components
β”‚   β”‚   β”‚               β”œβ”€β”€ context/       # Context and memory management
β”‚   β”‚   β”‚               β”œβ”€β”€ plugin/        # Plugin system
β”‚   β”‚   β”‚               └── JavaChatX.java # Main framework coordinator
β”‚   β”‚   └── resources/
β”‚   β”‚       └── config.yaml
β”‚   └── test/
β”‚       └── java/...
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ ARCHITECTURE.md
β”‚   β”œβ”€β”€ AGENT_GUIDE.md
β”‚   β”œβ”€β”€ PLUGIN_DEVELOPMENT.md
β”‚   └── API_INTEGRATION.md
β”œβ”€β”€ examples/
β”‚   β”œβ”€β”€ basic-agent/
β”‚   β”œβ”€β”€ context-agent/
β”‚   β”œβ”€β”€ multi-agent/
β”‚   β”œβ”€β”€ custom-plugin/
β”œβ”€β”€ .gitignore
β”œβ”€β”€ LICENSE
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ CODE_OF_CONDUCT.md
└── pom.xml (or build.gradle)

πŸš€ Getting Started

Prerequisites

  • Java 17 or higher
  • Maven 3.6 or higher

Building the Project

mvn clean install

Running the Application

mvn exec:java -Dexec.mainClass="com.techcognita.javachatx.JavaChatXApplication"

Code Quality Checks

The project uses several code quality tools:

  • Checkstyle: Ensures code follows standard Java conventions
  • JaCoCo: Measures test coverage

To run all code quality checks:

mvn verify

πŸ”„ Continuous Integration & Deployment

JavaChatX uses GitHub Actions for continuous integration and deployment:

  • Java CI: Builds and tests the project on multiple Java versions
  • Security Scan: Runs CodeQL analysis and dependency review
  • Documentation Deployment: Automatically generates and deploys Javadoc to GitHub Pages
  • Code Formatting: Ensures consistent code style with Google Java Format
  • Performance Testing: Runs performance benchmarks
  • Dependency Updates: Checks for outdated dependencies weekly
  • Release: Automatically creates GitHub releases and packages JAR files

🀝 Contributing

  • Fork repo, create feature branch, submit PR.
  • Add new agents, plugins, or API adapters.
  • Improve docs, examples, or tests.

🌍 Vision

To create a robust, community-driven Java framework that simplifies the development of conversational AI agents β€” empowering students and developers to explore AI automation and intelligent chat systems with ease.

πŸ“„ License

MIT License (c) 2025 TechCognita Community

πŸ“ž Contact & Community

About

Open-source AI Agent Development Framework built in Java - Build intelligent conversational agents with Gemini, and Free AI Models

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages