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 (setbase_urlto 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
Metadata
Release files for autourgos-starter 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autourgos_starter-1.0.2.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autourgos_starter-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / autourgos_starter-1.0.2.tar.gz
| Download URL | autourgos_starter-1.0.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a725431bd2d8a639e165c8dd59bccf38612ce89c0e487bbae9922c9237580057
|
|
BLAKE2b-256 checksum How to use checksums |
0c4f6a6528c8bb565a889ad9b77f5f415eef914c3cb3a49dedc65203a60df369
|
| 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.2-py3-none-any.whl
| Download URL | autourgos_starter-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e16856f2c4cf1a4b8c5303d9fa4becd3700fb175a9ab9f96fad3c1030f3e243
|
|
BLAKE2b-256 checksum How to use checksums |
0e3c914b73f5b4eb5f8138fc354a3faecfba498a4482cceabd75ad88d8ef2ffb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|