Skip to content

AI Agents & Creative Coding - workshop repository

License

Notifications You must be signed in to change notification settings

xemantic/xemantic-ai-workshop

Repository files navigation

xemantic-ai-workshop

Workshop Repository URL: https://github.com/xemantic/xemantic-ai-workshop

Workshop Slides: https://xemantic.com/ai/workshops/slides/

Note

This project is based on the openrndr-template project, to bring all goodies of the OPENRNDR creative coding framework to Agentic AI projects. Please refer to OPENRNDR documentation regarding this part.

What do I need to start?

Integrated Development Environment (IDE) for Kotlin

You need to have either IntelliJ IDEA or Android Studio installed on your computer. In case of the IntelliJ IDEA the open source community edition (CE) is good enough.

Note

IntelliJ IDEA (and Android Studio derived from it), are Integrated Development Environments (IDE) allowing to conveniently edit and execute Kotlin code. Kotlin is the language used in all the code demonstrations in this repository.

A GitHub account

https://github.com

Cloning workshop repository from GitHub

Tip

If you've never configured GitHub access before on your computer, then GitHub Desktop will be probably the easiest way to start

Learning material

Demonstrations based on the source code

This project demonstrates several use cases of calling Anthropic API, while gradually introducing more complex techniques and concepts.

In the src/main/kotlin folder you will find these demo programs sorted by growing numbers, starting from Demo010HelloWorld.kt.

Categories of acquired knowledge

Each Demo is annotated with "What you will learn" comments, and the knowledge to be acquired in each step is split into 3 categories:

  • AI Development: particular techniques of programming against LLM systems
  • Cognitive Science: the psychological and philosophical foundation of a technique
  • Kotlin: particular Kotlin idioms used in the source code

Each category will be expanded and discussed during the workshop.

Note

While the Kotlin category is practical, the AI Development and Cognitive Science categories are theoretical, and easily applicable in other environments and frameworks. They provide the meta-theory of building powerful agentic AI systems.

A glossary of AI-related terms

Navigating through Agentic AI development requires particular vocabulary, and this project also comes with a glossary of AI-related terms.

Kotlin crash course (optional)

If you are not familiar with Kotlin, the first hour of the workshop is devoted to kotlin crash course. Follow materials in the src/main/kotlin/intro folder, starting with Kotlin010HelloWorld.kt

OPENRNDR examples

The src/main/kotlin/openrndr folder contains the original

Python

# Create a virtual environment
python3 -m venv venv

# Activate the virtual environment
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate

# Install the Anthropic SDK
pip install anthropic
python3 src/main/python/hello_world.py

TypeScript

npm install @anthropic-ai/sdk
npx ts-node src/main/typescript/hello-world.ts

About

AI Agents & Creative Coding - workshop repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published