Linear Agent
This is a framework for creating simple linear agents.
LINEAR AGENT
The Linear Agent is a simple framework in which each customizable tool is
called linearly, which uses a common context window across tool calls,
called 'memory'.
The planner provides a list of tool calls to be executed using available
tools. The planner primes the linear agent for the sequence of task to be
executed.
┌──────────────────────────────────────────────────────┐
┌──────────────┐ │┌───────────┐ ┌───────────┐ ┌───────────┐ ┌──────────┐│
│ │ ││ │ │ │ │ │ │ ││
│ │ ││ │ │ │ │ │ │ ││
│ PLANNER ┼─────►│ TOOL1 │ │ TOOL2 │ │ TOOL3 │ │ TOOL4 ││
│ │ ││ │ │ │ │ │ │ ││
│ │ ││ │ │ │ │ │ │ ││
└─────▲───┬────┘ │└───▲───┬───┘ └───▲───┬───┘ └───▲───┬───┘ └───▲──┬───┘│
│ │ └──────────────────────────────────────────────────────┘
┌─────┼───▼───────────────┼───▼─────────┼───▼─────────┼───▼─────────┼──▼───┐
│ │
│ │
│ MEMORY THREAD │
│ ====== │
│ Memory is a persistent dictionary/document │
│ database that populates the context, for the SPECIAL KEY │
│ subsequent tool calls. Provides the context │
│ under which the │
│ Memory items are passed around tools with linear agent was │
│ 'memory keys' called. │
│ │
└──────────────────────────────────────────────────────────────────────────┘
Metadata
Release files for linearagent 0.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 | |
|---|---|---|---|
| linearagent-0.0.2.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linearagent-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.4 kB
Release files / linearagent-0.0.2.tar.gz
| Download URL | linearagent-0.0.2.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a444ef4bf7ed805a2218686c0d0d218b1fd45bf04143c8d102058d64369e387
|
|
BLAKE2b-256 checksum How to use checksums |
e15265cf3e16daa656313d3588f93485dd54d3dcb7696bad76fa874eb1bd592d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / linearagent-0.0.2-py3-none-any.whl
| Download URL | linearagent-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
969acf581e725964b01e14d6bad48a0094e0f2086e7daab625c81f8b976f11a0
|
|
BLAKE2b-256 checksum How to use checksums |
1739629639ba04c8dfd90d98e104e1c9a8a5847f36b152c5285687f343f9065e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|