Build instant agents to compose intelligent systems.

GitHub stars Contributors License Python

The simplest open-source library for LLM agents. Granular control, zero hidden logic. Composable building blocks for intelligent systems.

$ Crea un agente
from instantneo import InstantNeo
neo = InstantNeo(
      provider="openai",
      model="gpt-4o",
      api_key="...",
      role_setup="Eres Neo, el elegido, de la Matrix"
)      
neo.run("¿Qué es la Matrix?")

Why InstantNeo?

Inspired by Minsky's Society of Mind: specialized agents you compose to build intelligent systems. Each agent is transparent, controllable, and minimal.

Granular Control

Own your execution flow. WAIT_RESPONSE, EXECUTION_ONLY, or GET_ARGS—you decide every step. No hidden orchestration.

Dead Simple

5 lines to start. One decorator for skills. Switch providers with one parameter. Built for speed, not ceremony.

Transparent

See what happens, when it happens. Every action is explicit and traceable. No framework magic.

Quickstart

Install and teach Neo kung fu in 90 seconds.

$ instalar
pip install instantneo[all]
# or target specific providers
# pip install instantneo[openai]
# pip install instantneo[anthropic]
$ teach_kung_fu.py
from instantneo import InstantNeo
from instantneo.skills import skill

# 1. Define una skill
@skill(description="""Ejecuta movimientos de Kung Fu para defenderte de ataques: 
  Puño recto, Garra de tigre, Garra del dragón, Patada tornado""")
def kung_fu(movimiento: str, intensidad: int = 5):
    return f"¡Ejecutando {move} con intensidad {intensity}!"

# 2. Create a Neo con skills
neo = InstantNeo(
    provider="anthropic",
    model="claude-3-7-sonnet-20250219",
    api_key="...",
    role_setup="Eres Neo, el elegido, de la Matrix",
    skills=[kung_fu]
)

# 3. Run
neo.run("Neo, te atancan tres agentes por el frente")

Features

Unified Providers

Switch between OpenAI, Anthropic, Groq, and others with a consistent API. The library hides provider quirks.

Skill Management

Turn functions into skills via a decorator. Add metadata, validation, and compose dynamically.

Flexible Execution

Choose execution modes: WAIT_RESPONSE for full cycles, EXECUTION_ONLY for tools, or GET_ARGS for planning.

Join Us

Early contributors shape the core. Fast merges, direct impact.

What you gain

  • Deep LLM infrastructure knowledge
  • Influence on API design while it's moldable
  • Recognition in a tool developers value