💡 Cognitive reasoning, planning loops, and multi-agent coordination — Decoupled execution mind for the FastJava AI ecosystem.
FastAIAgent is the cognitive engine of the FastJava AI platform. It processes natural language goals, generates logical plan graphs, orchestrates tool-use chains, and verifies results through the underlying execution runtime (FastAIRuntime) to complete complex agentic tasks.
- 🧠 Plan-Act-Observe Loop — Closed-loop execution cycle leveraging FastAI LLMs to generate and adapt schedules.
- 💾 Short/Long-Term Memory — Dynamic session history formatting powered by
FastAIMemory. - 🔌 Runtime Decoupling — Separation of thought (FastAIAgent) and execution (FastAIRuntime) ensures reliable replayability.
- ⚡ Thread-Safe Orchestration — Ready for concurrent multi-agent environments.
import fastai.AI;
import fastai.FastAI;
import fastaiagent.FastAIAgent;
import fastaimemory.ConversationHistory;
import fastairuntime.FastAIRuntime;
public class Demo {
public static void main(String[] args) {
AI brain = FastAI.connect("ollama:llama3.2:3b");
FastAIRuntime runtime = new FastAIRuntime();
ConversationHistory memory = new ConversationHistory();
FastAIAgent agent = new FastAIAgent(brain, runtime, memory);
// Plan -> Act -> Observe
agent.run("Start application notepad.exe");
}
}Add JitPack repository and dependency to your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>FastAIAgent</artifactId>
<version>0.1.5</version>
</dependency>
</dependencies>- FastAIRuntime - Deterministic execution engine
- FastAI - Unified AI client interface for Java
- FastAIMemory - Unified conversation memory
- FastAIVectorDB - JNI native vector database
- FastAIRag - Retrieval-augmented generation pipeline
- FastAIBot - High-performance bot orchestrator
- FastCore - Unified JNI loader and platform abstraction
This project is licensed under the MIT License.