Open-source AI Agent Development Framework built in Java.
Build custom agents, integrate with APIs (OpenAI, Gemini, Hugging Face), manage context, and automate workflows.
- Modular agent framework
- Chat engine
- API and plugin system
- Context memory management
- CLI/REST/Web Dashboard (upcoming)
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);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.
- Language: Java 17+
- Build Tool: Maven
- Dependencies: Gson (JSON processing), SLF4J/Logback (Logging), JUnit 5 (Testing)
- 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)
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)
- Java 17 or higher
- Maven 3.6 or higher
mvn clean installmvn exec:java -Dexec.mainClass="com.techcognita.javachatx.JavaChatXApplication"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 verifyJavaChatX 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
- Fork repo, create feature branch, submit PR.
- Add new agents, plugins, or API adapters.
- Improve docs, examples, or tests.
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.
MIT License (c) 2025 TechCognita Community
- Discord: coming soon
- Twitter: @TechCognita
- Email: community@techcognita.com
- Maintainer: Atharv Shinde (GitHub)