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.6

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.6
File Size Uploaded
autourgos_starter-1.0.6.tar.gz 15.6 kB Details

Built distribution (wheel)

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

Total release size: 28.9 kB

Release files / autourgos_starter-1.0.6.tar.gz

Download URL autourgos_starter-1.0.6.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d1513f46c6563854ba3cc2f2b66cceb36a2b1c868ee367fd30764bcb2a10a533
BLAKE2b-256 checksum
How to use checksums
2ca8522cf92d02b58611f2104cbea86b53c6abf6d3bdb4d09bbb47ebcbb18cdb
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.6-py3-none-any.whl

Download URL autourgos_starter-1.0.6-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0784e9ca73c2112572c0091b52c85271d7bd70e04efd234f6869b020fb6157c7
BLAKE2b-256 checksum
How to use checksums
4b2218575fa6384e7c43be49aac006ae4af97da29f0fcbd4243bbe6b16c65ba6
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

1.0.7

2 release files

This release

1.0.6 This release

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