Code Monkey home page Code Monkey logo

advent-of-ai's Introduction

Advent of AI: Meta Hackathon

Explore the capabilities and limitations of current LLM-based software development agents by implementing one yourself.

What is an AI Agent?

For this hackathon, an AI agent is defined as a piece of software that autonomously solves a given task by repeatedly calling an LLM. The agent receives an unsolved task from the backend, writes code, executes the code, and submits a solution.

The Challenge

We will be participating in the Advent of Code, a yearly contest featuring 25 (times 2) coding puzzles to solve in any programming language. The goal of our hackathon is to solve as many of the 2023 puzzles as possible.

The Twist

Participants are not allowed to directly write code to solve the puzzles. Instead, we must use agentic AI tools to achieve this.

  • Only prompts, glue code, API integration, and agent logic (e.g., passing compile errors back to the agent) can be written.
  • Utilize APIs from providers like OpenAI, Groq, Anthropic, Google, etc.
  • Prompts must not be puzzle-specific.

Hard Mode

The AI agent must be re-run from puzzle 1 after each modification without retaining memory of previous runs. It starts from scratch every time.

Why Advent of Code?

  • Each puzzle is usually self-contained and not overly complex.
  • The solution should fit within the context length of a conventional model and can be easily verified.
  • The puzzles are given in text form, requiring no multi-modality.

How to Use the Backend

A version of the Rust backend is deployed at http://32k.eu:8000/api. Availability is not guaranteed. See the "Bruno" REST client templates under bruno.

Authentication

You will need to provide a Bearer Token with each request to authenticate (ask Beni).

For detailed information on how to build, run, and use the backend, see backend-rs.

Example Agent

A simple agent implementation can be found under simple-bot-py.

advent-of-ai's People

Contributors

brookman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.