You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 58ca021
Browse filesBrowse the repository at this point in the historyBrowse files
- Branch lanes: `develop` is the integration lane, `fix/work-queue` is the starting lane for maintenance fixes, and `feat/roadmap` is the starting lane for feature work. Create a short-lived task branch from the appropriate lane and open its PR against `main`.
107
108
-**Never commit directly to `main`** (except the initial warm-up scaffolding push).
108
109
-**Never force-push `main`**.
109
110
- All task changes must be opened as pull requests and merged via `gh pr merge`.
110
111
112
+
### Release and tag workflow
113
+
- Use Semantic Versioning. Keep `[project].version` in `pyproject.toml` aligned with the latest published release until a release PR proposes the next version.
114
+
- Before choosing a version, fetch tags and inspect the current release: `git fetch --tags`, `git tag --sort=-version:refname`, and `gh release view`.
115
+
- Bump the version and update release notes in a task branch; run the full quality gates and open a PR. Do not create a release tag before that PR is merged to `main`.
116
+
- After merge, verify `main` is current and the version is unused, then create an annotated tag on the merge commit: `git tag -a vX.Y.Z -m "AgentKit vX.Y.Z"`. Push the tag with `git push origin vX.Y.Z` and create the GitHub release with `gh release create vX.Y.Z --verify-tag --generate-notes`.
117
+
- For package artifacts, build and inspect before publishing: `python -m pip install build twine`, `python -m build`, and `python -m twine check dist/*`. Confirm the package registry name belongs to this repository and that the publishing identity is configured before any upload; never publish credentials or artifacts from an unreviewed branch.
118
+
- Registry check on 2026-11-03 found that PyPI's `agentkit` project metadata identifies a different maintainer and project. Do not upload this repository under that name unless ownership is confirmed; resolve the distribution name and update `pyproject.toml`, install instructions, and the trusted publisher configuration first.
119
+
- Never move or reuse a published tag. If a tag already exists, select the next unused version and record the correction in the release PR.
AgentKit is a Python service for running tool-using AI agents. A client submits a goal, the agent asks a language model what to do, runs any requested tools, and returns a final answer. Runs and tool steps are recorded so they can be inspected later.
8
10
9
-
The runtime is implemented in this repository rather than delegated to an agent framework. It supports Google Gemini and OpenAI; tests use a fake model client so the normal test suite does not need provider credentials.
11
+
The runtime is implemented in this repository rather than delegated to an agent framework. It supports Google Gemini and OpenAI; the default Gemini model is `gemini-3.1-flash-lite`. Tests use a fake model client so the normal test suite does not need provider credentials.
10
12
11
13
## What happens during a run
12
14
@@ -128,7 +130,7 @@ The standard API registry includes these tools:
128
130
-`calculator` evaluates arithmetic through a restricted AST evaluator.
129
131
-`read_file` reads files under the configured sandbox directory and blocks traversal and symlink escapes.
130
132
-`http_fetch` fetches HTTP(S) resources while blocking private, loopback, link-local, and metadata addresses.
131
-
-`sql_readonly` runs a single read-only query using a dedicated PostgreSQL role. It fails closed when that role is not configured.
133
+
-`sql_readonly` runs a single read-only query using the dedicated PostgreSQL role configured by `DATABASE_READONLY_URL`. It fails closed when that role is not configured.
132
134
-`web_search` is included only when `SEARCH_API_KEY` is set.
133
135
134
136
Tool arguments are validated against JSON Schema derived from Python function annotations. Synchronous tools run outside the event loop; tool results and errors are returned in a structured form.
| ROADMAP-21 | M16 | Executor output cap, rate-limit zero quota, typed run status |`fix/robustness-odds-and-ends`|[#125](https://github.com/getdownandcode/AgentKit/pull/125)| 3 | In review | Fixes three small robustness items from #113; corrects README claims caught by docs-accuracy tests; aligns package version with latest release tag `v1.0.1`; adds release/tag procedure and logo. Test-suite audit found no unnecessary tests to remove; coverage is 93.57%. Pruned 19 merged remote refs and created `develop`, `fix/work-queue`, and `feat/roadmap` lanes. |
7
8
| ROADMAP-01/06/07 | M14 | Run cancellation, token accounting, optional search registration |`fix/related-run-tool-hardening`|[#122](https://github.com/getdownandcode/AgentKit/pull/122)| 5 | In review | Fixes #93, #98 and #99 together: canceled runs persist terminal state, turn usage is attributed once across tool traces, and web_search is registered only with SEARCH_API_KEY. Review-fix round: cancellation during the awaited history load (after create_run but before the guarded loop) also finalizes the run as canceled with history untouched (tests/unit/test_agent_cancellation.py, ADR-021), and the real-infra /tools test now pins SEARCH_API_KEY per case so it is deterministic with the key set or unset. Quality gates pass (ruff check/format, mypy agentkit tests, pytest 508 hermetic passed, 31 real-infra passed, pytest-cov 93.4% >= 85%). |
0 commit comments