Skip to main content

autourgos-starter

Framework: Autourgos Python License: Apache 2.0 Author Contributor Contributor

The fastest way to get a working Autourgos agent running. Bundles the recommended default stack as real pip dependencies (nothing vendored or copied) and gives you one function that wires them together.

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)

Features

  • One function, one working agent — create_starter_agent() wires autourgos-agent + autourgos-openaichat + autourgos-buffer-memory together with sensible defaults
  • Nothing vendored — every dependency is a real, independently-installable, independently-maintained package
  • Optional scaffolding, not a requirement — swap in a different memory or LLM backend any time by using autourgos-agent directly

Table of Contents


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_agent import Agent
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 = Agent(llm=llm, memory=memory)

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

  • autourgos-agent — the agent loop itself (Agent, 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 Agent 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,
) -> Agent
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 Agent — e.g. verbose=True, max_iterations=10, memory=... to override the default ConversationBufferMemory, middleware=[...].

Returns an Agent 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 Agent, tool, OpenAIChatModel, ConversationBufferMemory

ReactAgent is also re-exported as a deprecated alias for Agent, for code written against the pre-rename autourgos-react-agent-based version of this package.


License

Apache License 2.0, Copyright (c) 2026 Jitin Kumar Sengar

Metadata

Release files for autourgos-starter 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autourgos-starter 1.0.7
File Size Uploaded
autourgos_starter-1.0.7.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autourgos-starter 1.0.7
File Interpreter ABI Platform
autourgos_starter-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / autourgos_starter-1.0.7.tar.gz

Download URL autourgos_starter-1.0.7.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8113dbeb833748737fa5b01358dc08a7e6b1cb48e8a5b94577c82743d7e7ae90
BLAKE2b-256 checksum
How to use checksums
78f0a1c0a11ba512d78b4857adcda4c278a2a75c5e8f5e703839db4e038b72f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / autourgos_starter-1.0.7-py3-none-any.whl

Download URL autourgos_starter-1.0.7-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef5bf89cf941d8567a53f8d728cf9ba280dbc67552f7da953aca29e9520184d9
BLAKE2b-256 checksum
How to use checksums
a2253f94094fd1ccd662d39da90acffee841199b4fe3ec4d5bd1ddf87e4aa05b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

1.0.9

2 release files

1.0.8

2 release files

This release

1.0.7 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page