18 lines
983 B
Markdown
18 lines
983 B
Markdown
# marqdo-agent reference package
|
|
|
|
`ask(url, query, tools = [])` uses the pinned `marqdo-net` dependency to
|
|
perform a bounded two-turn conversation with the fixture model contract.
|
|
The endpoint receives JSON with `messages` and `tools` and responds with a
|
|
`model` identity plus an `answer` or a `tool` and `input`. The caller may
|
|
enable the pure `sum` tool. The tool input is bounded and checked before
|
|
action. A tool response and its model identity are included in provenance.
|
|
The second turn asks for the final answer and permits no additional action.
|
|
|
|
For a local copy, put `marqdo-net` in `deps/net` under this package, then run
|
|
`marqdo lock`, `marqdo sync` and `marqdo check index.mq.md`. The external
|
|
conformance suite performs those steps in a temporary directory and operates
|
|
a loopback mock service without model credentials.
|
|
|
|
The reference executes requests sequentially. The parallel success/failure/
|
|
timeout scenario requires the proposed Task and cancellation contracts.
|