Fara-1.5: single Fara15Agent, self-contained env/core, updated CLI + README#80
Draft
husseinmozannar wants to merge 11 commits into
Draft
Fara-1.5: single Fara15Agent, self-contained env/core, updated CLI + README#80husseinmozannar wants to merge 11 commits into
husseinmozannar wants to merge 11 commits into
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the repo to Fara-1.5 and makes the agent stack self-contained. The user-facing
fara-cliinterface is unchanged; the changes are the new agent, a vendored browser/eval stack, and a refreshed README.What's in here
Fara-1.5 agent
Fara15Agent(src/fara/agents/fara/fara15_agent.py): the browser observe–think–act loop with the expanded FaraNext action space (double_click,right_click,triple_click,left_click_drag,hscroll,read_page_answer_question,ask_user_question, …).Self-contained stack (vendored + adapted)
environments/— thePlaywrightEnvironmentbrowser stack.core/—DataPoint/RunContexttrajectory model + incremental persistence (trimmed the verifier-only result schemas andscreen_resolutions, which the agent never uses).clients/— a minimalChatCompletionClientoverAsyncOpenAI._prompts.py— the FaraNext browser tool schema + identities + critical points, reproducing the exact training prompt.Previous generation preserved
fara_7b/, still runnable viafara-cli --fara-7b.from fara import FaraAgent, FARA_ACTION_DEFINITIONSstill resolves.CLI
--fara-7bruns the old agent; saves a full trajectory (data_point.json+ per-step screenshots) to--output_folder; supports theask_user_questioncritical-point resume flow.Other
--fara-7band trajectory output.vllm==0.19.1,transformers>=5.2.0,nvidia-cutlass-dsl==4.5.2).tests/test_fara15.py: prompt byte-identity guardrail, action-space consistency, coord scaling, DataPoint round-trip.Testing
fara-cliend-to-end against a hostedfara-1.5-9bvLLM endpoint (multi-step web tasks + theask_user_questionback-and-forth).