Skip to content

andrestubbe/FastAIAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAIAgent 0.1.5 — Cognitive Mind and Planning Layer for Java

License: MIT Java Platform JitPack


💡 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.


Technical Features

  • 🧠 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.

Quick Start

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");
    }
}

Installation

Maven (JitPack)

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>

Related Projects


License

This project is licensed under the MIT License.

About

Cognitive mind layer, planning loop orchestrator, and multi-agent manager for the FastJava AI ecosystem

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages