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-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_memory import RuntimeShortTermMemory

llm = OpenAIChatModel(model="gpt-4o-mini", api_key=None, system_prompt=None)
memory = RuntimeShortTermMemory()  # bounded to 20 messages; pass memory=ConversationBufferMemory() for unbounded
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-memory — the memory backend (ConversationBufferMemory, RuntimeShortTermMemory, and every other Autourgos memory type).

This package is optional scaffolding, not a requirement to use the Autourgos framework. If you want a different memory backend (e.g. SummaryBufferedMemory, TokenBufferedMemory — both in autourgos-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.9

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.9
File Size Uploaded
autourgos_starter-1.0.9.tar.gz 16.1 kB Details

Built distribution (wheel)

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

Total release size: 29.6 kB

Release files / autourgos_starter-1.0.9.tar.gz

Download URL autourgos_starter-1.0.9.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
47157c29df7eeaa7d2e7c77f3d303a2bcdb5f4193f7aa65e352d990370f6ac79
BLAKE2b-256 checksum
How to use checksums
bae7e0ccae753fa5897d3334c1897aa6c485eb7002e8abcd810e65dda1eb0e44
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.9-py3-none-any.whl

Download URL autourgos_starter-1.0.9-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0dbc53ae7469d6e520f6dab6595a423bb0d0441610d8d3a46b976d399e3034c0
BLAKE2b-256 checksum
How to use checksums
be7395584c3435429fcb2001bd6b93118420b71933ca1605e7f6be35fce39165
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

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

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