Skip to main content

autourgos-starter

The fastest way to get a working Autourgos agent running.

Newcomers to the framework normally have to find and install a core agent package, an LLM backend, and a memory backend separately, each with its own README, before they get anything working. autourgos-starter bundles the recommended default stack as real pip dependencies (nothing vendored or copied) and gives you one function that wires them together.


Install

pip install autourgos-starter

Set your API key:

export OPENAI_API_KEY="sk-..."

Quick Start

This whole block is copy-pasteable — no placeholder variables to fill in.

from autourgos_starter import create_starter_agent, tool

@tool
def add(a: float, b: float) -> float:
    """Add two numbers together."""
    return a + b

agent = create_starter_agent()
agent.add_tools(add)

result = agent.invoke("What is 12 + 30?")
print(result)

That's it — two lines to build the agent (create_starter_agent() and agent.add_tools(add)), one line to run it (agent.invoke(...)).


What's actually happening

autourgos-starter is just a convenience wrapper. create_starter_agent() does this:

from autourgos_react_agent import ReactAgent
from autourgos_openaichat import OpenAIChatModel
from autourgos_buffer_memory import ConversationBufferMemory

llm = OpenAIChatModel(model="gpt-4o-mini", api_key=None, system_instruction=None)
memory = ConversationBufferMemory()
agent = ReactAgent(llm=llm, memory=memory)

Three real, independently-installable packages, each maintained on its own:

  • autourgos-react-agent — the ReAct agent loop itself (ReactAgent, tool).
  • autourgos-openaichat — the LLM backend (OpenAIChatModel), talks to the OpenAI Chat Completions API or any OpenAI-compatible endpoint (set base_url to point at a local server such as Ollama, LM Studio, or vLLM).
  • autourgos-buffer-memory — the memory backend (ConversationBufferMemory), an unbounded in-memory conversation buffer.

This package is optional scaffolding, not a requirement to use the Autourgos framework. If you want a different memory backend (e.g. autourgos-summary-memory, autourgos-token-memory) or a different LLM backend (e.g. autourgos-responses), skip autourgos-starter and wire ReactAgent up to those packages directly — that's exactly what this package does under the hood, just with sensible defaults picked for you.


create_starter_agent() reference

def create_starter_agent(
    api_key: str | None = None,
    model: str = "gpt-4o-mini",
    system_prompt: str | None = None,
    **kwargs,
) -> ReactAgent
Argument Default Meaning
api_key None OpenAI API key. Falls back to the OPENAI_API_KEY env var if not given.
model "gpt-4o-mini" OpenAI model name, e.g. "gpt-4o", "gpt-4o-mini".
system_prompt None Optional system instruction, forwarded to OpenAIChatModel.
**kwargs Forwarded to ReactAgent — e.g. verbose=True, max_iterations=10, memory=... to override the default ConversationBufferMemory, middleware=[...].

Returns a ReactAgent instance. Call agent.add_tools(...) before agent.invoke(...) / agent.ainvoke(...).


Also re-exported

So you don't need to know which sub-package a class lives in:

from autourgos_starter import ReactAgent, tool, OpenAIChatModel, ConversationBufferMemory

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autourgos_starter-1.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autourgos_starter-1.0.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file autourgos_starter-1.0.0.tar.gz.

File metadata

  • Download URL: autourgos_starter-1.0.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for autourgos_starter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2d1d4c6137d3e8a850ec248ee27e2b2acbf7d83bbafbf53a4b9c627d6dc46e3d
MD5 06e684a36611b59475230ccc826faa39
BLAKE2b-256 a40df5f20ab61c842e658a8cffe29cd9ac9d09644ed0c4d27430888f1ddbd33a

See more details on using hashes here.

File details

Details for the file autourgos_starter-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for autourgos_starter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fa78ef6c53b0d1eef9c48b19be9f817c8a58cc58cc01eec9ff5a43785c2caac
MD5 f650527ace21515988ec5d49768515bb
BLAKE2b-256 5a02fe04d052a29c06c23b742773c6bdc302081d00ffc95983a85556777b389e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page